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 05b4417
Browse filesBrowse the repository at this point in the historyBrowse files
## Summary
Adds the first reviewable C01 dense-transformer GGUF cohort on top of
#571, using llama.cpp commit `8d9af256337d1a501250f9bbf4c0859a654bddd6`
as the tensor-family source of truth.
| GGUF architecture | mobius graph | Config/tensor/graph | Runtime |
|---|---|---|---|
| `olmo` | `OLMoCausalLMModel` | supported | supported with pinned real
GGUF evidence |
| `olmo2` | `OLMo2CausalLMModel` | supported | supported with pinned
real GGUF evidence |
| `cohere2` | `CohereCausalLMModel` | supported | deferred pending real
parity/generation evidence |
| `arcee` | `ArceeCausalLMModel` | supported | deferred pending real
parity/generation evidence |
| `smollm3` | `SmolLM3CausalLMModel` | supported | supported with pinned
real GGUF evidence |
| `exaone` | `CausalLMModel` | supported | deferred pending real
parity/generation evidence |
## Architecture correctness
- Adds exact pinned upstream tensor-family closure and a falsification
test that removes a required mapping.
- Rejects missing required metadata rather than synthesizing
success-shaped configs.
- Preserves OLMo weight-free LayerNorm, OLMo2 post-norm/full-width QK
norms, Cohere2 parallel pre-norm/interleaved RoPE/3-sliding-1-full NoPE
schedule, Arcee ReLU² non-gated MLP, and SmolLM3 every-fourth-layer NoPE
behavior.
- Explicitly rejects `olmo2` files carrying OLMo3 sliding-window
patterns until the graph supports per-layer sliding attention.
- Fixes the existing InternLM2 Q/K reverse permutation with a direct
value regression against pinned converter behavior.
- Centralizes quantization-aware linear/embedding construction so
specialized graph classes do not silently replace packed modules with
float modules.
- Rebinds tied quantized LM heads when specialized models replace their
text backbones.
## Real GGUF evidence
Pinned revisions, exact filenames, sizes, SHA-256 values, and per-tensor
qtype tables are encoded in
`tests/gguf_dense_cohort_integration_test.py` for:
-
`QuantFactory/AMD-OLMo-1B-GGUF@5f34243a42dbae2141b8f5286320bf63d51eeefb`
-
`allenai/OLMo-2-0425-1B-Instruct-GGUF@62f8c199538474c3e33ed5d7e0580abd66686a27`
- `ggml-org/SmolLM3-3B-GGUF@4965cb60b150737b68a0408c36aeefb65078f894`
All three packages build, save, open in ORT CPU, and produce
deterministic finite logits and pinned greedy outputs.
The mixed Q4_K_M files do **not** use native preservation. Q4_K and Q6_K
projections are dequantized and affine-requantized to
explicit-zero-point 4-bit/block-32 `MatMulNBits`; compatible embeddings
use `GatherBlockQuantized`; float norm tensors remain float.
## Explicit exclusions
The PR does not infer compatibility from common names. Deferred
candidates include GPT-NeoX and Phi-2 (fused/interleaved or dual-form
QKV), Baichuan and MPT (ALiBi), StarCoder (learned positions), and
unproven Qwen/Command-R aliases. Large Command-R/Seed artifacts were not
downloaded.
## Validation
- 1,112 GGUF unit tests
- 52 affected model graph tests
- 3 pinned real-GGUF integration tests
- 5,511 broader non-integration tests
- Changed-file lintrunner clean
The existing `glm_moe_dsa` symbolic shape-inference/checker failures
reproduce independently and are excluded from the final broad run.
Signed-off-by: Justin Chu <[email protected]>
Co-authored-by: Copilot App <[email protected]>
0 commit comments