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 89fe423
Browse filesBrowse the repository at this point in the historyBrowse files
## Summary
- add pinned llama.cpp (`8d9af256337d1a501250f9bbf4c0859a654bddd6`) GGUF
specs for `olmoe`, `phimoe`, `qwen2moe`, `qwen3moe`, and `granitemoe`
- implement exact metadata/config extraction, canonical Qwen aliases,
tensor-family closure, routing/norm/scaling semantics, and Granite
dense-vs-MoE dispatch
- preserve 3-D expert ordering through affine and native quantized
imports, split fused Phi QKV tensors, and preserve tied quantized
Qwen3/Granite embedding heads
- reverse llama.cpp's GraniteMoE Q/K row permutation in both float and
packed quantized imports
- map pinned expert `.scale`/`.input_scale` suffixes and reject affected
files before graph construction because Mobius cannot safely represent
NVFP4 scale2/activation-scale sidecars
- extend the same suffix-aware preflight to reachable MTP
`nextn.eh_proj` scale sidecars before either backbone or MTP graph
construction
- add generated support docs, negative closure/shape tests, and float/Q4
synthetic save-load-ORT coverage
Stacks on #572 (`justinchuby-gguf-dense-transformer-cohort`).
## Real artifact import evidence (runtime deferred)
### GraniteMoE
Validated with:
- repository: `bartowski/granite-3.0-1b-a400m-instruct-GGUF`
- repository revision: `0e1c3cecaa6e49ac0721be91ef441ec72eae62d4`
- file: `granite-3.0-1b-a400m-instruct-Q4_K_M.gguf`
- size: `821,845,024` bytes
- LFS SHA-256:
`074f09e13484e54e73c93830d34e9fa9917a6319fb8bae762a22594b9b4da0dc`
- source config/tokenizer:
`ibm-granite/granite-3.0-1b-a400m-instruct@ffec3c35bdfd97a06f0b4cd5fcc92cd9b1584445`
- stored qtypes: 73 F32, 144 Q4_K, 25 Q6_K
The pinned integration test verifies exact tensor closure, 24 routers,
2,304 routed expert projections, mixed-qtype routing, 2,401
`MatMulNBits` nodes including the tied quantized head, zero `QMoE`
nodes, ONNX save/load, full 49,155-token logits, and repeatable
three-token cached decoding. This is deterministic Mobius execution
evidence, not independent llama.cpp/HuggingFace parity, so GraniteMoE
runtime remains deferred.
## Runtime-DEFERRED
All five entries—`olmoe`, `phimoe`, `qwen2moe`, `qwen3moe`, and
`granitemoe`—have exact registry/config/tensor support and synthetic
float/Q4 ORT execution, but no qualifying independent real-weight
cross-runtime evidence.
The only compatible Phi representative found was
`tripathyShaswata/Phi-tiny-MoE-instruct-GGUF@873ccb08cd3380ee2c08573d45267fac9a6cc81b`,
file `Phi-tiny-MoE-instruct-Q8_0.gguf`, size `3,999,171,104` bytes,
SHA-256
`297fa09e906e18aaf03850e77d6de8d9ee8e246e00916ac09787ae2cf4bb6019`,
sourced from
`microsoft/Phi-tiny-MoE-instruct@2fe50e88d0e2a5a132563815686ea0dcc8e252b5`.
It was not downloaded because it is not a reasonably sized
representative.
## Validation
- `504 passed` full focused GGUF/model tests after the
Granite/expert-scale fixes
- `160 passed` focused MTP/builder/tensor-mapping tests after the MTP
scale preflight fix
- `1 passed` revised pinned Granite real-artifact integration test
- `5585 passed, 52 skipped` broad non-integration suite with
`glm_moe_dsa` excluded
- full `lintrunner f --output oneline --all-files`
The two excluded `glm_moe_dsa` shape-inference/checker failures
reproduce unchanged on the stack base and are unrelated to this cohort.
---------
Signed-off-by: Justin Chu <[email protected]>
Co-authored-by: Copilot App <[email protected]>
0 commit comments