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
Commit 8f902ac
Browse filesBrowse the repository at this point in the historyBrowse files
Add exact fail-closed Qwen4Exp GGUF support (#656)
## Stack
- Depends on #655 (`justinchuby-finish-qwen4exp-core`).
- Includes the sharded GGUF importer commit from #652
(`eacf244864284cc96bd70f1187b145446783aab4`) so the three-file artifact
is evaluated as one complete model.
## Summary
- register `general.architecture=qwen4exp` as `qwen4_exp_text` with the
exact Qwen3.8 Flash-Next config, DeltaNet/QSA schedule,
hyper-connections, PLE, routed/shared MoE, and output HC mixer metadata
- pin
`unsloth/Qwen3.8-Flash-Next-GGUF@d3bc75ee6ccef3efc1e228ec00a6cc2cdb1e2249`,
all three shard sizes/LFS SHA-256 identities, and the metadata-only
shard-0 closure `0 + 595 + 629 = 1224`
- map every GGUF tensor family, including GGUF split indexer Q/K rows
reconstructed exactly into Hugging Face's fused `index_qk_proj`
- validate every tensor name, logical shape, and dynamic qtype using the
complete bounded-header manifest digest
`25a1e6a2073caf19d3a3835dd23702a19fa09cc651506e11a13de7b48076359d`
- preserve existing official fused HF indexer checkpoints while
accepting only the exact GGUF split representation on the GGUF path
- fail closed before Hub payload download when header policy cannot be
established, source/revision/shard identity differs, or either payload
mode is requested
## Fail-closed payload policy
The only published `UD-IQ1_S` route is intentionally not emitted as an
executable ONNX payload:
- `per_layer_token_embd.weight` is an enormous IQ4_NL embedding with no
compatible native gather ABI
- rank-3 routed expert banks dynamically mix IQ1_S/IQ2_XXS gate/up with
IQ4_NL down tensors; released runtime evidence does not establish a
matching mixed-format sparse native-block MoE ABI
- these tensors are not ordinary affine rank-2 `MatMulNBits`
- float32 dequantization would materialize roughly 191 GiB for the PLE
table alone, exceeding the bounded 8 GiB single-tensor policy
The exact header/config/mapping support is therefore a truthful
preflight foundation for future ABI work, not a quantized-runtime claim.
## Validation
- targeted Qwen4Exp/GGUF/registry review suite: `1187 passed, 2 skipped`
- complete GGUF + Qwen4Exp + graph serial suite: `4865 passed, 54
skipped`
- broad serial non-integration suite: `8409 passed, 64 skipped, 12
deselected, 1 subtest passed`
- `lintrunner f --output oneline --all-files && lintrunner -a`: clean
- GPT-5.6 Sol medium review run twice; fused-HF compatibility, complete
qtype evidence, config pinning, and Hub fallback findings were resolved
## Waivers
- No full payload download, real-weight runtime execution, L4, or L5
claim is made for the GGUF route. The exact pinned artifact is
deliberately rejected before its 72+ GB payload is downloaded because
neither supported native preservation nor bounded dequantization is
truthful under the current Mobius/ORT ABI.
- Runtime support remains deferred. This PR must not be interpreted as
ORT or ORT GenAI execution evidence for the quantized artifact.
---------
Signed-off-by: Justin Chu <[email protected]>
Co-authored-by: Copilot App <[email protected]>
@@ -275,6 +274,7 @@ Reason codes are concise user-facing categories; detailed architecture audits re
275
274
|`qwen3tts`| — | none (fails before config extraction) | not claimed | config=deferred; tensor_map=deferred; graph=deferred; runtime=deferred; quantized_import=supported | CONFIG_DEFERRED — The primary GGUF is only a transformed Qwen3-TTS talker backbone, not the existing Mobius Qwen3TTS conditional-generation or codec model. |
276
275
|`qwen3vl`| — | none (fails before config extraction) | exact-direct-loader-conditional-union | config=deferred; tensor_map=deferred; graph=deferred; runtime=deferred; quantized_import=supported | CONFIG_DEFERRED — Qwen3-VL text GGUF requires multimodal position IDs and an exact qwen3vl_merger clip companion, including deep-stack vision features and architecture-specific token placement. |
277
276
|`qwen3vlmoe`| — | none (fails before config extraction) | exact-direct-loader-conditional-union | config=deferred; tensor_map=deferred; graph=deferred; runtime=deferred; quantized_import=supported | CONFIG_DEFERRED — Qwen3-VL-MoE combines the Qwen3-VL multimodal position/token contract and merger sidecar with routed experts in the text backbone. |
277
+
|`qwen4exp`| — | header/config/tensor preflight only; model=`qwen4_exp_text`; tensor=`qwen4exp`| exact pinned 3-shard artifact header closure | config=supported; tensor_map=supported; graph=deferred; runtime=deferred; quantized_import=rejected | GRAPH_DEFERRED — Exact header/config/tensor preflight is implemented, but no executable graph import route is claimed. |
278
278
|`refact`| — | model=`refact`; module=`gguf_legacy`; tensor=`legacy_layernorm`| audited-direct-loader-conditional-union | config=supported; tensor_map=supported; graph=supported; runtime=deferred; quantized_import=rejected | RUNTIME_EVIDENCE_PENDING / FLOAT_IMPORT_ONLY — Import is narrowed to split, bias-free dense tensors with one KV head; loaded-but-unexecuted expert, RoPE-factor, and bias families are rejected. |
279
279
|`rnd1`| — | model=`llada`; module=`rnd1`; tensor=`llama`+`diffusion_fused_qkv`+`moe_qk_norm_extras`+`moe_extras`| not claimed | config=supported; tensor_map=supported; graph=supported; runtime=deferred; quantized_import=supported | RUNTIME_EVIDENCE_PENDING — Config extraction, suffix-exact tensor closure, masked-diffusion task dispatch, and synthetic full-sequence execution are covered, but no pinned real GGUF has passed independent Hugging Face/llama.cpp masked-step logit parity and deterministic multi-step generation parity. |
280
280
|`rwkv6`| — | none (fails before config extraction) | audited-direct-loader-conditional-union | config=deferred; tensor_map=deferred; graph=deferred; runtime=deferred; quantized_import=supported | CONFIG_DEFERRED — RWKV6 carries two F32 states per layer (two token-shift vectors and a per-head WKV matrix) and applies token-dependent exp(-exp(decay)), a time_first read-before-update term, per-head group norm, and cumulative rescale transforms. |
0 commit comments