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
Extend GGUF grouped experts and byte-preserving auxiliary packages - #834
Extend exact grouped dispatch to ordinary/shared experts and Flash-Next fused expert banks. Add original-byte multi-component/MTP packaging and functional standalone Janus-Pro mmproj conversion. Align LinearAttention with merged independent value heads and optional recurrence trajectories.
The capability survey documents remaining specialized-architecture, projector, runtime-fusion and whole-model rollback restrictions; this does not claim universal efficient MoE execution.
Clarify the independent value-head and optional recurrence trajectory contracts, including the distinction between graph representation and whole-model rollback or runtime fusion.
Co-authored-by: Copilot App <[email protected]>
Signed-off-by: Justin Chu <[email protected]>
Add an exact LFM2 adapter that forwards its registered selection-only bias to the unchanged sigmoid router. Cover normalization and scaling with independent numerical fixtures, and persist merged LinearAttention value-head schema and trajectory shape checks.
Co-authored-by: Copilot App <[email protected]>
Signed-off-by: Justin Chu <[email protected]>
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Failed multi-component saves can leave loadable mixtures of old and new graphs, while packed saves can silently omit requested MTP policy or adapter artifacts.
Building on #827, this PR expands mobius’s byte-preserving GGUF export support for opset 29, while documenting remaining architecture and runtime limitations.
Changes:
Extends grouped expert dispatch to ordinary/shared experts, LFM2, and Flash-Next.
Adds multi-component and MTP packaging, plus lossless standalone Janus-Pro projector conversion.
Aligns LinearAttention with independent value heads and optional state trajectories, with regression tests and updated documentation.
File
Description
src/mobius/tasks/_cache_utils.py
Registers opset-aware LinearAttention head attributes.
src/mobius/models/qwen4_exp.py
Adds grouped dispatch for fused expert banks.
src/mobius/models/qwen4_exp_test.py
Tests grouped expert structure and numerical parity.
src/mobius/models/lfm2.py
Preserves selection-only bias in grouped dispatch.
Advance the dedicated schema build to the merged ONNX value-head ABI and assert it is installed. The previous pin omitted LinearAttention29, skipping recurrence and schema tests and leaving their patch coverage absent despite a green fallback job.
Co-authored-by: Copilot App <[email protected]>
Signed-off-by: Justin Chu <[email protected]>
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
In-place saves after adding a component or MTP head to a v1 package are blocked because publication rejects the existing model.onnx instead of retaining it until the new v2 manifest is committed.
No open issues 🎉
1 previously missed issue
In code that hasn't changed since last review
Allow the prior graph file during v1-to-v2 publication
src/mobius/integrations/gguf/_packed.py:1009
Loading a v1 package, adding a component or MTP head, and saving in place selects v2 filenames, but this check rejects the committed model.onnx as unrelated/stale. Permit the prior manifest's graph during publication, then retire it only after the new manifest is committed so later v2 saves work too.
Represent every package with v1 source and model records, including single models and MTP chains. Remove the legacy flat-model branch and v2 compatibility path while preserving immutable-generation publication and strict source integrity.
Co-authored-by: Copilot App <[email protected]>
Signed-off-by: Justin Chu <[email protected]>
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Repeated saves leave unreferenced graph generations on disk without bounded retention, and packed-package roundtrips silently discard MTP-head quantization reports.
MTP head quantization report is lost during save and load
src/mobius/integrations/gguf/_packed.py:1059
For a packed package with an MTP head, saving writes only the root reports, and loading recreates the head with gguf_quantization_report=None. This silently drops the head's report describing source-weight preservation and conversion. Persist reports by MTP depth and restore them onto the corresponding package, with a roundtrip assertion for the head report.
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
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.
Stacked on #827.
Extend exact grouped dispatch to ordinary/shared experts and Flash-Next fused expert banks. Add original-byte multi-component/MTP packaging and functional standalone Janus-Pro mmproj conversion. Align LinearAttention with merged independent value heads and optional recurrence trajectories.
The capability survey documents remaining specialized-architecture, projector, runtime-fusion and whole-model rollback restrictions; this does not claim universal efficient MoE execution.