Repository navigation
Defer remaining hybrid GGUF architectures - #594
Merged
Merged
Conversation
Performance Comparison
|
justinchuby
force-pushed
the
justinchuby-expand-hybrid-gguf-cohort
branch
from
August 25, 2026 15:58
ca35d99 to
965080c
Compare
Pin exact loader tensor inventories for BailingMoE3, DeepSeek-V4, Kimi-K3, Kimi-Linear, and LFM2MoE. Reject each architecture before config extraction because Mobius does not own its exact mixed cache/recurrent state ABI. Remove the unsafe DeepSeek-V4 GGUF dense-fallback claim while preserving its Hugging Face registration. Co-authored-by: Copilot App <[email protected]> Signed-off-by: Justin Chu <[email protected]>
Remove DeepSeek-V4 from the quantized GGUF reachability pin now that the reviewed remaining-hybrid audit defers its incompatible runtime ABI. Keep the separate Hugging Face registration intact. Co-authored-by: Copilot App <[email protected]> Signed-off-by: Justin Chu <[email protected]>
justinchuby
force-pushed
the
justinchuby-add-remaining-hybrid-gguf
branch
from
August 25, 2026 16:03
e8d65f2 to
693ad71
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR tightens GGUF import policy for the remaining hybrid C06 architectures by pinning their llama.cpp loader tensor inventories while explicitly deferring conversion (rejecting early) due to unsupported mixed-state / MoE / schedule ABIs, and by removing DeepSeek-V4 GGUF “supported” claims while keeping the Hugging Face deepseek_v4 path intact.
Changes:
- Pin suffix-exact
tensor_names/expert_tensor_suffixesinventories forbailingmoe3,deepseek4,kimi-k3,kimi-linear, andlfm2moeat the llama.cpp commit inllamacpp_pin.json. - Mark the above architectures as
Support.DEFERREDacross config/tensor_map/graph/runtime in the GGUF arch registry, ensuring early refusal before config extraction and downstream build stages. - Remove DeepSeek-V4 GGUF config/tensor mapping coverage and update tests + documentation to reflect “unreachable” conversion status.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/mobius/integrations/gguf/_upstream_data/llamacpp_pin.json | Adds pinned suffix-exact tensor inventories for the remaining hybrid GGUF architectures. |
| src/mobius/integrations/gguf/_tensor_mapping.py | Removes the DeepSeek-V4 GGUF tensor-name mapping table/registration. |
| src/mobius/integrations/gguf/_tensor_mapping_test.py | Drops the DeepSeek-V4 mapping unit test now that the mapping is removed/deferred. |
| src/mobius/integrations/gguf/_reader_test.py | Removes DeepSeek-V4 GGUF arch→model_type and config-extraction assertions. |
| src/mobius/integrations/gguf/_config_mapping.py | Removes the DeepSeek-V4 GGUF-specific key map from the key-map table. |
| src/mobius/integrations/gguf/_builder_test.py | Expands early-rejection coverage to include the newly deferred hybrid architectures. |
| src/mobius/integrations/gguf/_arch_registry.py | Adds explicit DEFERRED specs + detailed reasons for the remaining hybrid architectures; defers deepseek4. |
| src/mobius/integrations/gguf/_arch_registry_test.py | Pins new loader inventories and asserts deferred specs are unreachable and not aliased/mapped. |
| docs/api/build_from_gguf.md | Updates the public support table to mark these architectures as deferred/unreachable. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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
bailingmoe3,deepseek4,kimi-k3,kimi-linear, andlfm2moeat llama.cpp8d9af256337d1a501250f9bbf4c0859a654bddd6deepseek_v4registrationValidation
glm_moe_dsashape-inference failure: 6223 passed, 52 skippedStack
Targets
justinchuby-expand-hybrid-gguf-cohort/ #588.