|
117 | 117 | "the wrong recurrence. Build from a supported source/runtime instead." |
118 | 118 | ) |
119 | 119 |
|
| 120 | +_BAILINGMOE3_GRAPH_REASON = ( |
| 121 | + "BailingMoE3 alternates head-wise KDA recurrent layers with gated MLA layers, " |
| 122 | + "so each sequence carries three causal-convolution histories plus a matrix state " |
| 123 | + "alongside attention cache. Its routed sigmoid/correction-bias experts, always-on " |
| 124 | + "shared experts, and optional single NextN block also require tensor and task " |
| 125 | + "contracts Mobius does not implement. Ordinary KV or Mamba state would be wrong." |
| 126 | +) |
| 127 | + |
| 128 | +_DEEPSEEK4_GGUF_GRAPH_REASON = ( |
| 129 | + "The pinned DeepSeek-V4 GGUF runtime uses a dedicated raw sliding-window, CSA, " |
| 130 | + "HCA, and indexer compressed-cache ABI with persistent compressor state, rollback " |
| 131 | + "snapshots, four-stream hyper-connections, hash/sqrt-softplus routing, and optional " |
| 132 | + "MTP storage. Mobius's Hugging Face DeepSeek-V4 graph intentionally exports a dense " |
| 133 | + "attention fallback with ordinary KV state, so it is not an exact GGUF runtime graph." |
| 134 | +) |
| 135 | + |
| 136 | +_KIMI_K3_GRAPH_REASON = ( |
| 137 | + "Kimi-K3 alternates KDA recurrent and NoPE MLA layers and requires convolution plus " |
| 138 | + "matrix state, sigmoid routed latent MoE with SiTU experts, optional shared experts, " |
| 139 | + "and cross-layer residual banks. Kimi-Linear is not an alias: its gates, expert " |
| 140 | + "activation, latent projections, and residual contract differ. Mobius has no exact " |
| 141 | + "graph or mixed-state task for either ABI." |
| 142 | +) |
| 143 | + |
| 144 | +_KIMI_LINEAR_GRAPH_REASON = ( |
| 145 | + "Kimi-Linear alternates KDA recurrent and NoPE MLA layers, carrying three rolling " |
| 146 | + "convolution histories and a per-head matrix state in addition to attention cache. " |
| 147 | + "Its two-stage decay/output gates and sigmoid correction-bias MoE routing are not " |
| 148 | + "represented by any Mobius graph or state task; aliasing it to Kimi-K3, Mamba, or " |
| 149 | + "ordinary attention would change the model." |
| 150 | +) |
| 151 | + |
| 152 | +_LFM2MOE_GRAPH_REASON = ( |
| 153 | + "LFM2MoE has an arbitrary per-layer attention/short-convolution schedule plus a " |
| 154 | + "dense-to-sigmoid-routed-MoE transition. Recurrent layers use F32 rolling convolution " |
| 155 | + "state with copy-on-write sequence reorder and bounded rollback snapshots, while " |
| 156 | + "attention layers use KV cache. The dense LFM2 graph and ordinary KV/static-cache " |
| 157 | + "tasks do not own that mixed state or the expert correction-bias semantics." |
| 158 | +) |
| 159 | + |
120 | 160 | _ENCODER_RUNTIME_VALIDATION_PENDING = ( |
121 | 161 | "Config extraction, exact pinned tensor closure, encoder-only task dispatch, and " |
122 | 162 | "synthetic ORT execution are covered, but no pinned real GGUF artifact has passed " |
|
572 | 612 | quantized_import=Support.REJECTED, |
573 | 613 | reason=_RECURRENT_RUNTIME_VALIDATION_PENDING + " " + _NO_QUANTIZED_PROJECTION_REASON, |
574 | 614 | ), |
| 615 | + GGUFArchitectureSpec( |
| 616 | + gguf_arch="bailingmoe3", |
| 617 | + config=Support.DEFERRED, |
| 618 | + tensor_map=Support.DEFERRED, |
| 619 | + graph=Support.DEFERRED, |
| 620 | + runtime=Support.DEFERRED, |
| 621 | + reason=_BAILINGMOE3_GRAPH_REASON, |
| 622 | + ), |
| 623 | + GGUFArchitectureSpec( |
| 624 | + gguf_arch="kimi-k3", |
| 625 | + config=Support.DEFERRED, |
| 626 | + tensor_map=Support.DEFERRED, |
| 627 | + graph=Support.DEFERRED, |
| 628 | + runtime=Support.DEFERRED, |
| 629 | + reason=_KIMI_K3_GRAPH_REASON, |
| 630 | + ), |
| 631 | + GGUFArchitectureSpec( |
| 632 | + gguf_arch="kimi-linear", |
| 633 | + config=Support.DEFERRED, |
| 634 | + tensor_map=Support.DEFERRED, |
| 635 | + graph=Support.DEFERRED, |
| 636 | + runtime=Support.DEFERRED, |
| 637 | + reason=_KIMI_LINEAR_GRAPH_REASON, |
| 638 | + ), |
| 639 | + GGUFArchitectureSpec( |
| 640 | + gguf_arch="lfm2moe", |
| 641 | + config=Support.DEFERRED, |
| 642 | + tensor_map=Support.DEFERRED, |
| 643 | + graph=Support.DEFERRED, |
| 644 | + runtime=Support.DEFERRED, |
| 645 | + reason=_LFM2MOE_GRAPH_REASON, |
| 646 | + ), |
575 | 647 | GGUFArchitectureSpec( |
576 | 648 | gguf_arch="minimax-01", |
577 | 649 | config=Support.DEFERRED, |
|
785 | 857 | ), |
786 | 858 | GGUFArchitectureSpec( |
787 | 859 | gguf_arch="deepseek4", |
788 | | - model_type="deepseek_v4", |
789 | | - tensor_map_recipe=("deepseek4",), |
790 | | - config_key_map="deepseek4", |
791 | | - rope_interleave=True, |
| 860 | + config=Support.DEFERRED, |
| 861 | + tensor_map=Support.DEFERRED, |
| 862 | + graph=Support.DEFERRED, |
| 863 | + runtime=Support.DEFERRED, |
| 864 | + reason=_DEEPSEEK4_GGUF_GRAPH_REASON, |
792 | 865 | ), |
793 | 866 | # GLM-5.2 GGUFs (e.g. unsloth/GLM-5.2-GGUF) tag the architecture 'glm-dsa' |
794 | 867 | # (MLA + DeepSeek Sparse Attention + MoE) and mobius's registry key is |
|
0 commit comments