Repository navigation
Commit 063eb8c
Generate graph-driven ORT GenAI decoder configs (#611)
## Summary
- emit the released architecture-neutral `model.type: "decoder"`
contract for compatible single-model decoder-only text graphs
- derive semantic inputs, cache templates, outputs, sparse global cache
slots, recurrent pairs, and sliding-window metadata from the optimized
ONNX graph
- preserve runtime-specific LFM2 and Phi-3 LongRoPE behavior, fail
closed for Mobius GPT-2's incompatible separate-cache ABI and
unsupported state layouts, and record runtime compatibility without
emitting main-only `state_groups`
- keep GGUF runtime promotion evidence-gated while validating the exact
SmolLM F16/CPU/tokenizer route end to end
## Validation
- 228 focused ORT GenAI/GGUF config tests
- 2,871 affected CLI/ORT GenAI/GGUF tests
- exact SmolLM deterministic generation on `onnxruntime-genai` 0.14.1
and 0.15.2
- exact Q4_K_M fail-closed/dequantized parity test from the stacked base
- full initialized lintrunner pass
- two independent high-confidence reviews plus a final fix verification
Stacked on #609.
---------
Signed-off-by: Justin Chu <[email protected]>
Co-authored-by: Copilot App <[email protected]>1 parent aa93ab6 commit 063eb8c
6 files changed
Lines changed: 734 additions & 73 deletions
File tree
- docs
- src/mobius/integrations
- gguf
- ort_genai
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
164 | 202 | | |
165 | 203 | | |
166 | 204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
284 | 291 | | |
285 | 292 | | |
286 | 293 | | |
| |||
0 commit comments