Skip to content

Commit 62375c9

Browse files
justinchubyCopilot
andcommitted
Reconcile qtype policy with current GGUF imports
Preserve the dense architecture cohort's quantized-import support, regenerate its matrix rows, and keep replayed tests compatible with the shard-aware reader. Co-authored-by: Copilot App <[email protected]> Signed-off-by: Justin Chu <[email protected]>
1 parent 40c02ea commit 62375c9

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

‎docs/api/build_from_gguf.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,13 @@ reason.
145145

146146
| GGUF architecture | Accepted aliases | mobius `model_type` | Float import | Quantized import |
147147
|---|---|---|---|---|
148-
| `arcee` | — | `arcee` | runtime deferred | unreachable |
148+
| `arcee` | — | `arcee` | runtime deferred | supported |
149149
| `bloom` | — | `bloom` | tensor_map deferred | unreachable |
150150
| `clip` | — | — | config rejected; tensor_map rejected; graph rejected; runtime rejected | unreachable |
151-
| `cohere2` | — | `cohere2` | runtime deferred | unreachable |
151+
| `cohere2` | — | `cohere2` | runtime deferred | supported |
152152
| `deci` | — | `llama` | supported | supported |
153153
| `deepseek4` | — | `deepseek_v4` | supported | supported |
154-
| `exaone` | — | `exaone` | runtime deferred | unreachable |
154+
| `exaone` | — | `exaone` | runtime deferred | supported |
155155
| `falcon` | — | `falcon` | supported | supported |
156156
| `gemma` | — | `gemma` | supported | supported |
157157
| `gemma2` | — | `gemma2` | supported | supported |

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,11 @@
6363
# modules before joining this set.
6464
_EXPECTED_QUANTIZED_IMPORT_ARCHITECTURES = frozenset(
6565
{
66+
"arcee",
67+
"cohere2",
6668
"deci",
6769
"deepseek4",
70+
"exaone",
6871
"falcon",
6972
"gemma",
7073
"gemma2",
@@ -76,13 +79,16 @@
7679
"mamba",
7780
"muse-glimmer",
7881
"nemotron",
82+
"olmo",
83+
"olmo2",
7984
"phi3",
8085
"qwen2",
8186
"qwen2moe",
8287
"qwen3",
8388
"qwen35",
8489
"qwen35moe",
8590
"qwen3moe",
91+
"smollm3",
8692
"stablelm",
8793
"starcoder2",
8894
}

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,6 +1070,8 @@ def test_transaction_removes_obsolete_sidecar(self, tmp_path: Path):
10701070
assert final_model.read_bytes() == b"new model"
10711071
assert final_manifest.read_bytes() == b"new manifest"
10721072
assert not final_sidecar.exists()
1073+
1074+
10731075
@pytest.fixture
10741076
def q5_1_gguf(tmp_path: Path) -> Path:
10751077
"""Create a GGUF whose projections require dequantize/requantize."""

0 commit comments

Comments
 (0)