A NInfer v3 artifact of Unsloth's
Qwen4-35B-A3B Q8_0 GGUF for NInfer-all, the master branch of
iamwavecut/ninfer-all. Qwen4-35B-A3B is a mixture of experts of 35B parameters:
40 layers (30 Gated DeltaNet, 10 sparse attention) of 256 routed experts, eight of them and a
shared expert active per token, about 3B active parameters, with a hashed n-gram embedding, a Vision
tower and an MTP block. The GGUF assigns a ggml quantization type to every tensor; this artifact
keeps each tensor's ggml blocks byte for byte, and the engine multiplies the blocks in place.
Stock NInfer builds refuse this file: the model family and the gguf_* formats exist only in
NInfer-all. NInfer-all from commit e626020593 on runs it; the release built from that commit is listed on the releases page. The file includes the Vision tower, the MTP block and its proposal head.
| component | representation |
|---|---|
| routed experts, 40 layers × 256 | the GGUF's own blocks, one type per layer and projection: Q8_0; expert-major, so one expert is one contiguous range of bytes |
| shared experts | Q8_0, as in the GGUF |
| 10 sparse-attention (QSA) layers | Q8_0 projections, BF16 indexer |
| 30 Gated DeltaNet layers | Q8_0 query, key, value, gate (z), output, a and b projections |
| output head, token table | Q8_0, Q8_0 |
| proposal head | 131,072 rows of the output head in its Q8_0 blocks: the tokens most frequent in the repository's ranking corpus, 1,024 frequent Russian tokens among them; the MTP block's drafts project through these rows, and the whole head checks every draft |
| routers | BF16: the GGUF's F32 values, each a BF16 value exactly |
| hyper-connection projections | ggml Q8_0, as stored |
GDN controls, norms, convolution, A_log, dt_bias |
BF16/FP32, restored from llama.cpp's exporter conventions |
| Vision tower | Unsloth's mmproj-BF16.gguf in BF16 (0.9 GB), with the release's image and video preprocessor configurations |
| MTP block | block 40 of the model's GGUF: Q8_0 matrices, BF16 indexer and router |
| n-gram table | not in this file: the model's ngram component names its table (the hash constants, Q8_0 rows, SHA-256 3d2a20b5… of the rows), published once as WaveCut/Qwen4-35B-A3B-ngram-table-NInfer-v3; the engine reads the other table there too, or any table of the same hash constants and geometry |
| chat template | the release's tokenizer-compat/chat_template.jinja |
One file, Qwen4-35B-A3B-Q8_0-ninfer-v3.ninfer, of 39,374,825,216 bytes (36.67 GiB), next to its conversion report,
SHA256SUMS, NOTICE and LICENSE. Sources: revision 85a51187 of
unsloth/Qwen4-35B-A3B-GGUF and revision 849378c8 of Qwen/Qwen4-35B-A3B (configuration and
tokenizer files). The release is two shards: the model with its MTP block, and the n-gram table.
Conversion command:
python3 -m tools.convert --model Qwen4-35B-A3B \
--recipe qwen3_8_flash_next_gguf --components text,vision,mtp \
--source gguf=Q8_0/Qwen4-35B-A3B-Q8_0-00001-of-00002.gguf \
--source ngram=Q8_0/Qwen4-35B-A3B-Q8_0-00002-of-00002.gguf \
--source vision=mmproj-BF16.gguf \
--device cpu --rows-per-chunk 65536 \
--name qwen4-35b-a3b --proposal --out Qwen4-35B-A3B-Q8_0-ninfer-v3.ninfer
--proposal gathers the proposal head's rows from the output head. The converter reads the table
shard to record its digest; the rows themselves are in the table
repository. --model needs the configuration, tokenizer (tokenizer-compat/) and preprocessor
files of Qwen/Qwen4-35B-A3B.
Download the artifact and the n-gram table, then serve them:
hf download WaveCut/Qwen4-35B-A3B-Q8_0-NInfer-v3 Qwen4-35B-A3B-Q8_0-ninfer-v3.ninfer --local-dir models
hf download WaveCut/Qwen4-35B-A3B-ngram-table-NInfer-v3 Qwen4-35B-A3B-ngram-table-Q8_0-ninfer-v3.ninfer --local-dir models
M=models/Qwen4-35B-A3B-Q8_0-ninfer-v3.ninfer
T=models/Qwen4-35B-A3B-ngram-table-Q8_0-ninfer-v3.ninfer
# One GPU with every expert and the Vision tower. Serving one request at a time, the engine drafts
# two tokens a round with the MTP block through the proposal head.
ninfer-serve $M --ngram-table $T --model-id qwen4-35b-a3b --vision --max-context 32768
# The experts in page-locked host memory, the most used of them cached on the GPU; the engine
# drafts three tokens a round.
ninfer-serve $M --ngram-table $T --model-id qwen4-35b-a3b --expert-residency host --max-context 32768
The Docker image runs the same commands as serve with the files under /models.
Qwen4-35B-A3B describes what runs and what was checked;
the placements are Qwen3.8-Flash-Next's. On the 24 GB RTX 3090 the experts stay in host memory (--expert-residency host): 3.15 GiB of weights on the GPU with the MTP block, the expert cache in the rest. On the 48 GB RTX A6000 every expert fits on the GPU (35.6 GiB with the MTP block).
December 4, 2026, one RTX 3090 (24 GB, 350 W, its default limit), CUDA 13.4.3, the sm_86 code of a build for 75;80;86;89;120a, one run per figure, two where a range is given, 256 tokens with thinking off after the repository's 133-token code prompt (scenario_code_python) and its prose prompt (scenario_story_en_mystery):
SHA256SUMS.Earlier the same day, with the first build of the Qwen4 support (before the proposal head and the decode kernels for hidden 2048), one RTX A6000 (48 GB, 300 W, its default limit), one run per row:
llama-perplexity (-c 4096, build 1579b02) on the same text and GGUF.No quality benchmark was run in NInfer; Qwen's card reports the model's.
Quantized weights and Vision file: Unsloth, unsloth/Qwen4-35B-A3B-GGUF, from
Qwen/Qwen4-35B-A3B by the Qwen team, Alibaba Cloud. Both are published under the Apache
License 2.0, reproduced in LICENSE. Attribution and the changes are listed in
NOTICE. This repository only re-packs those weights into NInfer's container.