Repository navigation
Commit 773c965
Add small-model GGUF runtime evidence (#607)
## Summary
- add first-class pinned GGUF sources to the L4/L5 YAML harness,
including immutable GGUF/reference revisions, byte size, LFS SHA-256,
tensor census/qtypes, CPU import route, config hash, and golden
provenance
- add reproducible F16 L4/L5 coverage for `HuggingFaceTB/SmolLM-135M`
and `HuggingFaceTB/SmolLM2-135M-Instruct` through real CLI build,
save/reload, ORT prefill, 20 cache-threaded decode steps, full-logit HF
parity, and deterministic generation
- make GGUF case changes select `llama` in affected-model detection and
run the real-artifact tests in fast integration CI
## Evidence
| Artifact | Identity | Tensor census | Max full-logit abs diff |
Generation |
|---|---|---:|---:|---|
|
`neopolita/smollm-135m-gguf@22cca988936eafe92908e7558907c3964e10bba7/ggml-model-f16.gguf`
| 270,885,504 bytes;
`ec8c775c16944a7e4b5251f97b3f848500dcc3e701b0d492ce9055cea42138a2` | 272
(`F16=211`, `F32=61`) | 1.277e-4 | exact 20/20 |
|
`unsloth/SmolLM2-135M-Instruct-GGUF@9e6855bc4be717fca1ef21360a1db4b29d5c559a/SmolLM2-135M-Instruct-F16.gguf`
| 270,885,952 bytes;
`5157ca60744d21631818364854ac8e4452e1b8022d2ab4c8a2f9cda2344afb30` | 272
(`F16=211`, `F32=61`) | 7.176e-5 observed in the initial probe;
committed test gates at 2e-4 | exact 20/20 |
Both routes are CPU, dynamic-cache, `llama_qk_permute=true`, and
`preserve_quantization=false`. Runtime packaging remains **deferred**:
the public GGUFs use compiled llama.cpp `smollm` pre-tokenizer metadata
and do not embed `tokenizer.huggingface.json`, so no architecture-wide
or runtime-package support is claimed.
The pinned SmolLM2 Q4_K_M artifact (`105,454,144` bytes,
`ed5fa30c487b282ec156c29062f1222e5c20875a944ac98289dbd242e947f747`) was
exercised but is not promoted or compared against mismatched unquantized
weights. Its preserved MatMulNBits route diverges from the same artifact
under llama.cpp, while Mobius dequantization matches llama.cpp; this
exact blocker is documented in the integration test.
## Validation
- real-artifact GGUF integration: 2 passed
- targeted L4/L5: 4 passed
- schema/golden/detector infrastructure: 352 passed
- dashboard/model coverage: 810 passed, 225 skipped
- Ruff formatting and lint: passed
- two independent reviews completed; CI selection, dashboard
aggregation, provenance, and route-hash findings fixed
The broad non-integration suite remains at 7,054 passed with two
pre-existing `glm_moe_dsa` shape-inference failures unrelated to this
diff. CI was not awaited.
Signed-off-by: Justin Chu <[email protected]>
Co-authored-by: Copilot App <[email protected]>1 parent 9703140 commit 773c965
18 files changed
Lines changed: 1147 additions & 53 deletions
File tree
- .github/workflows
- scripts
- src/mobius/_testing
- testdata
- cases
- causal-lm
- golden/causal-lm
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
12 | 18 | | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
16 | 22 | | |
17 | 23 | | |
18 | 24 | | |
19 | | - | |
| 25 | + | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
24 | 35 | | |
25 | 36 | | |
26 | 37 | | |
| |||
84 | 95 | | |
85 | 96 | | |
86 | 97 | | |
| 98 | + | |
| 99 | + | |
87 | 100 | | |
88 | | - | |
89 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
90 | 105 | | |
91 | 106 | | |
92 | 107 | | |
| |||
96 | 111 | | |
97 | 112 | | |
98 | 113 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
104 | 133 | | |
105 | 134 | | |
106 | | - | |
107 | 135 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
114 | 139 | | |
115 | 140 | | |
116 | 141 | | |
| |||
128 | 153 | | |
129 | 154 | | |
130 | 155 | | |
131 | | - | |
| 156 | + | |
132 | 157 | | |
133 | 158 | | |
134 | 159 | | |
135 | 160 | | |
136 | 161 | | |
137 | 162 | | |
138 | | - | |
| 163 | + | |
139 | 164 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
12 | 18 | | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
16 | 22 | | |
17 | 23 | | |
18 | 24 | | |
19 | | - | |
| 25 | + | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
24 | 35 | | |
25 | 36 | | |
26 | 37 | | |
| |||
72 | 83 | | |
73 | 84 | | |
74 | 85 | | |
| 86 | + | |
| 87 | + | |
75 | 88 | | |
76 | | - | |
77 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
78 | 93 | | |
79 | 94 | | |
80 | 95 | | |
| |||
84 | 99 | | |
85 | 100 | | |
86 | 101 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
92 | 121 | | |
93 | 122 | | |
94 | | - | |
95 | 123 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
102 | 127 | | |
103 | 128 | | |
104 | 129 | | |
| |||
116 | 141 | | |
117 | 142 | | |
118 | 143 | | |
119 | | - | |
| 144 | + | |
120 | 145 | | |
121 | 146 | | |
122 | 147 | | |
123 | 148 | | |
124 | 149 | | |
125 | 150 | | |
126 | | - | |
| 151 | + | |
127 | 152 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
124 | 128 | | |
125 | 129 | | |
126 | 130 | | |
127 | | - | |
| 131 | + | |
128 | 132 | | |
129 | 133 | | |
130 | 134 | | |
| |||
190 | 194 | | |
191 | 195 | | |
192 | 196 | | |
193 | | - | |
| 197 | + | |
194 | 198 | | |
195 | 199 | | |
196 | 200 | | |
| 201 | + | |
197 | 202 | | |
198 | 203 | | |
199 | 204 | | |
| |||
204 | 209 | | |
205 | 210 | | |
206 | 211 | | |
207 | | - | |
| 212 | + | |
208 | 213 | | |
209 | 214 | | |
210 | 215 | | |
| 216 | + | |
211 | 217 | | |
212 | 218 | | |
213 | 219 | | |
| |||
273 | 279 | | |
274 | 280 | | |
275 | 281 | | |
276 | | - | |
| 282 | + | |
277 | 283 | | |
278 | 284 | | |
279 | 285 | | |
| |||
290 | 296 | | |
291 | 297 | | |
292 | 298 | | |
293 | | - | |
294 | | - | |
| 299 | + | |
| 300 | + | |
295 | 301 | | |
296 | 302 | | |
297 | 303 | | |
| |||
0 commit comments