Skip to content

Commit 965080c

Browse files
justinchubyCopilot
andcommitted
Align hybrid cohort with merged quantization policy
Reconcile the second hybrid GGUF cohort with the post-squash architecture registry contract. Explicitly reject preserved quantized projection imports for Jamba, Nemotron-H, and GraniteHybrid, and regenerate the support matrix from those verdicts. Co-authored-by: Copilot App <[email protected]> Signed-off-by: Justin Chu <[email protected]>
1 parent 7c3948c commit 965080c

4 files changed

Lines changed: 20 additions & 10 deletions

File tree

‎docs/api/build_from_gguf.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,15 +166,18 @@ reason.
166166
| `eurobert` | — | — | config deferred; tensor_map deferred; graph deferred; runtime deferred | unreachable |
167167
| `exaone` | — | `exaone` | runtime deferred | supported |
168168
| `falcon` | — | `falcon` | supported | supported |
169+
| `falcon-h1` | — | — | config deferred; tensor_map deferred; graph deferred; runtime deferred | unreachable |
169170
| `gemma` | — | `gemma` | supported | supported |
170171
| `gemma2` | — | `gemma2` | supported | supported |
171172
| `gemma3` | — | `gemma3_text` | supported | supported |
172173
| `gemma4` | — | `gemma4_text` | supported | supported |
173174
| `glm-dsa` | `glm_dsa` | `glm_moe_dsa` | tensor_map deferred | unreachable |
174175
| `gpt2` | — | `gpt2` | supported | supported |
176+
| `granitehybrid` | — | `granitemoehybrid` | runtime deferred | rejected |
175177
| `granitemoe` | — | `granitemoe` | runtime deferred | supported |
176178
| `hunyuan-dense` | `hunyuan_v1_dense` | `hunyuan_v1_dense` | supported | supported |
177179
| `internlm2` | — | `internlm2` | supported | rejected |
180+
| `jamba` | — | `jamba` | runtime deferred | rejected |
178181
| `jina-bert-v2` | — | — | config deferred; tensor_map deferred; graph deferred; runtime deferred | unreachable |
179182
| `jina-bert-v3` | — | — | config deferred; tensor_map deferred; graph deferred; runtime deferred | unreachable |
180183
| `lfm2` | — | `lfm2` | runtime deferred | supported |
@@ -183,9 +186,11 @@ reason.
183186
| `llama` | `mistral` | `llama` | supported | supported |
184187
| `mamba` | — | `mamba` | runtime deferred | rejected |
185188
| `mamba2` | — | `mamba2` | runtime deferred | rejected |
189+
| `minimax-01` | — | — | config deferred; tensor_map deferred; graph deferred; runtime deferred | unreachable |
186190
| `modern-bert` | — | `modernbert` | runtime deferred | supported |
187191
| `muse-glimmer` | `muse_glimmer` | `muse_glimmer_text` | supported | supported |
188192
| `nemotron` | — | `nemotron` | supported | supported |
193+
| `nemotron_h` | — | `nemotron_h` | runtime deferred | rejected |
189194
| `nemotron_h_moe` | — | — | config rejected; tensor_map rejected; graph rejected; runtime rejected | unreachable |
190195
| `neo-bert` | — | — | config deferred; tensor_map deferred; graph deferred; runtime deferred | unreachable |
191196
| `nomic-bert` | — | — | config deferred; tensor_map deferred; graph deferred; runtime deferred | unreachable |
@@ -195,6 +200,7 @@ reason.
195200
| `olmoe` | — | `olmoe` | runtime deferred | supported |
196201
| `phi3` | — | `phi3` | supported | supported |
197202
| `phimoe` | — | `phimoe` | runtime deferred | supported |
203+
| `plamo2` | — | — | config deferred; tensor_map deferred; graph deferred; runtime deferred | unreachable |
198204
| `pockettts` | — | — | config deferred; tensor_map deferred; graph deferred; runtime deferred | unreachable |
199205
| `qwen2` | — | `qwen2` | supported | supported |
200206
| `qwen2moe` | `qwen2_moe` | `qwen2_moe` | runtime deferred | supported |

‎src/mobius/integrations/gguf/_arch_registry.py‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,8 @@
531531
"ssm.time_step_rank",
532532
),
533533
runtime=Support.DEFERRED,
534-
reason=_RECURRENT_RUNTIME_VALIDATION_PENDING,
534+
quantized_import=Support.REJECTED,
535+
reason=_RECURRENT_RUNTIME_VALIDATION_PENDING + " " + _NO_QUANTIZED_PROJECTION_REASON,
535536
),
536537
GGUFArchitectureSpec(
537538
gguf_arch="nemotron_h",
@@ -549,7 +550,8 @@
549550
"ssm.time_step_rank",
550551
),
551552
runtime=Support.DEFERRED,
552-
reason=_RECURRENT_RUNTIME_VALIDATION_PENDING,
553+
quantized_import=Support.REJECTED,
554+
reason=_RECURRENT_RUNTIME_VALIDATION_PENDING + " " + _NO_QUANTIZED_PROJECTION_REASON,
553555
),
554556
GGUFArchitectureSpec(
555557
gguf_arch="granitehybrid",
@@ -567,7 +569,8 @@
567569
"ssm.time_step_rank",
568570
),
569571
runtime=Support.DEFERRED,
570-
reason=_RECURRENT_RUNTIME_VALIDATION_PENDING,
572+
quantized_import=Support.REJECTED,
573+
reason=_RECURRENT_RUNTIME_VALIDATION_PENDING + " " + _NO_QUANTIZED_PROJECTION_REASON,
571574
),
572575
GGUFArchitectureSpec(
573576
gguf_arch="minimax-01",

‎src/mobius/integrations/gguf/_arch_registry_test.py‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,14 @@ def test_every_float_importable_architecture_has_a_quantized_verdict(self) -> No
181181
if spec.is_importable
182182
}
183183
assert set(actual) == set(supported_architectures())
184-
rejected = {"internlm2", "mamba", "mamba2"}
184+
rejected = {
185+
"granitehybrid",
186+
"internlm2",
187+
"jamba",
188+
"mamba",
189+
"mamba2",
190+
"nemotron_h",
191+
}
185192
assert all(actual[arch] is Support.REJECTED for arch in rejected)
186193
assert all(
187194
verdict is Support.SUPPORTED

‎src/mobius/integrations/gguf/_builder.py‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1643,12 +1643,6 @@ def build_from_gguf(
16431643
)
16441644
if keep_quantized and not preserve_quantization:
16451645
logger.info("GGUF contains no mapped quantized weights; using the float import path")
1646-
if preserve_quantization and gguf_arch == "granitehybrid":
1647-
raise ValueError(
1648-
"GraniteHybrid quantization preservation is not supported because its "
1649-
"separate GGUF dense gate/up tensors must be dequantized and fused. "
1650-
"Pass keep_quantized=False; no quantized tensor will be silently dropped."
1651-
)
16521646
_reject_quantized_diffusion_fused_qkv(
16531647
gguf_model,
16541648
gguf_arch,

0 commit comments

Comments
 (0)