Repository navigation
Add deferred conventional MoE GGUF cohort - #597
Merged
Merged
Conversation
Performance Comparison
|
justinchuby
force-pushed
the
justinchuby-add-remaining-dense-gguf
branch
from
August 25, 2026 16:19
f308da1 to
cffdb2b
Compare
Audit six remaining conventional-attention MoE architectures against the pinned llama.cpp census and register explicit pre-config deferrals where Mobius cannot yet preserve their complete graph and tensor semantics. Record loader-consumed tensor families and sidecars, document the exact blockers, and test fail-closed registry and builder behavior. Co-authored-by: Copilot App <[email protected]> Signed-off-by: Justin Chu <[email protected]>
justinchuby
force-pushed
the
justinchuby-add-remaining-moe-gguf
branch
from
August 25, 2026 16:23
3d689f4 to
e9d5748
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR tightens the GGUF upstream census + registry contract for a remaining conventional-attention MoE cohort by explicitly deferring six architectures (rather than allowing any aliasing), while recording their exact pinned loader tensor-name closure (including per-family suffix sets) and documenting the outcome.
Changes:
- Extend the pinned llama.cpp census model to record per-family tensor suffix closures (
tensor_suffixes) for architectures that don’t share one uniform suffix set. - Add explicit “DEFERRED everywhere” GGUF registry entries (with detailed reasons) for Arctic, DBRX, GPT-OSS, Grok, GroveMoE, and SmallThinker; add/extend tests to prevent accidental aliasing or downstream reachability.
- Update GGUF build docs and support matrix to reflect the audited/deferred cohort and its rationale.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/mobius/integrations/gguf/_upstream.py | Adds tensor_suffixes to the pinned upstream architecture model and payload decoding. |
| src/mobius/integrations/gguf/_upstream_data/llamacpp_pin.json | Records audited tensor-name inventories and per-family suffix closures for the six deferred MoE architectures. |
| src/mobius/integrations/gguf/_builder_test.py | Extends the “fail-before-graph” deferred cohort test to include the newly audited architectures and renames the test accordingly. |
| src/mobius/integrations/gguf/_arch_registry.py | Introduces explicit deferred specs + reasons for the six architectures to prevent unsafe generic-MoE aliasing. |
| src/mobius/integrations/gguf/_arch_registry_test.py | Adds coverage to assert suffix-exact inventories, no alias/model_type reachability, and explicit mismatch reasons. |
| docs/api/build_from_gguf.md | Updates the generated support matrix and adds a narrative section documenting the audited/deferred MoE cohort. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
justinchuby
added a commit
that referenced
this pull request
Aug 25, 2026
## Summary - audit the 11 remaining VLM-specific text architectures from llama.cpp SHA `8d9af256337d1a501250f9bbf4c0859a654bddd6` - register explicit pre-config deferrals for unsupported text-only and paired text+mmproj paths without changing projector support verdicts - pin suffix-exact loader unions, custom quant-sidecar ownership, converter provenance, and exact companion target identities - add fail-closed registry, tensor-closure, pairing, header/preflight, builder, and generated documentation coverage ## Validation - `python -m pytest src/mobius/integrations/gguf tests/gguf_test.py -q --tb=short` — 2046 passed - `python -m pytest tests/build_graph_test.py tests/cli_test.py src/ -q -k "not phi4mm and not apply_weights_unknown and not glm_moe_dsa" --tb=short -n auto` — 6474 passed, 52 skipped - `lintrunner f --output oneline --all-files` - `lintrunner --output oneline --all-files` - two independent full-diff reviews — clean ## Stack Targets `justinchuby-add-remaining-moe-gguf` / PR #597. Signed-off-by: Justin Chu <[email protected]> Copilot-Session: 3360a853-8f08-4350-ae5e-cec390516475
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
8d9af256337d1a501250f9bbf4c0859a654bddd6census for the next conventional-attention MoE cohortWhy deferred
Each architecture requires graph or tensor semantics that the current generic Mobius MoE path does not own exactly: parallel dense/routed branches, LayerNorm and fused clamped QKV, GPT-OSS MXFP4 repacking and biases, Grok scaling/norm topology, dual GroveMoE expert banks, or SmallThinker routing/activation/scheduling. Runtime support remains deferred pending pinned real-artifact provenance, independent full-logit parity, and deterministic generation.
Local validation
glm_moe_dsafailures reproduce unchanged on stacked basef308da1