You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ff875a3
Browse filesBrowse the repository at this point in the historyBrowse files
echo "::error::A model integration contract failed: see the job summary for the failing target and how to reproduce it."
182
-
exit 1
234
+
echo "::warning::A model integration contract failed or could not run; see the job summary and artifact for details. This observation does not block the PR."
Copy file name to clipboardExpand all lines: utils/contracts/README.md
+14-5Lines changed: 14 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,17 @@
1
1
# Model integration contracts (proof)
2
2
3
-
The CI workflow installs the immutable `TMIC_SHA` of
3
+
The PR CI workflow installs the immutable `TMIC_SHA` of
4
4
[huggingface/transformers-mic](https://github.com/huggingface/transformers-mic) and
5
5
uses `tmic check` and `tmic report`. The old vendored scripts are retained as a
6
6
reference for the original proof; CI executes the installed package.
7
7
8
+
The first PR wave selects the BF16 variant of 23 published prototype contracts
9
+
and one historical SmolLM control. Changed files select affected contracts;
10
+
shared Transformers code selects the whole wave. This is an observational job:
11
+
failures produce a warning and a job summary but do not block the PR. Download
12
+
the `contracts` artifact for per-case JSONL, the runner log and
13
+
`contracts-observation.json` with status counts, selection reasons and source
14
+
metadata. A run with no selected contracts has no validation result.
8
15
9
16
-`tests/contracts/fleet-lock.json`: pinned contracts, fixtures, checkpoints, and environment. Contracts and fixtures are downloaded from the Hub (`hf-internal-testing/*`) at their pinned revisions and checked against their hashes. No `local_patches`: open framework bugs are narrowed `known_failures` entries (an error message to match, or outputs to skip).
10
17
-`tests/contracts/expectations/<contract>/{cpu-x86_64,cpu-x86_64-bf16,cpu-arm64}/`: reviewed baselines. CI uses `cpu-x86_64` (and `cpu-x86_64-bf16` for bfloat16 fixtures); `cpu-arm64` (Apple silicon) lets a failure reproduce on a Mac with the same command.
0 commit comments