Qwen4-35B-A3B-GGUF

Updated 2026-11-05

New recipe.txt is used. Slightly larger files.
Using a custom chat_template.jinja

Quantized version of Qwen/Qwen4-35B-A3B using imatrix file from unsloth/Qwen4-35B-A3B-GGUF.

Weights are quantized using llama-quantize --target-bpw flag. PLE weight must be loaded separately with --shard.

MTP is included, quantized to Q8_0.

Some weights are kept the same across all quants, see recipe.txt.

Quant Target BPW
Q4_K_XL 5.6097
Q6_K_XL 7.6985

Chat template

All quants use a custom chat template, also available at chat_template.jinja. Inspired from froggeric/Qwen-Fixed-Chat-Templates

  • Added default fallback for invalid enable_thinking to true

  • Added default fallback for invalid preserve_thinking to true

  • Added developer role support, and falls back to user if not supported

  • Added Anthropic message.thinking support

  • Merging multiple initial system messages

  • Added reasoning_effort mapping:

    From To
    off off
    none off
    minimal low
    low low
    medium high
    high high
    xhigh xhigh
    max xhigh
    ultracode xhigh
    extreme xhigh

llama.cpp

llama-server -hf tomngdev/Qwen4-35B-A3B-GGUF:Q6_K_XL \
    --shard ./engram-Q8_0.gguf_file # or engram-IQ4_NL.gguf_file
    --spec-type draft-mtp
    --spec-draft-n-max 3
    --spec-draft-p-min 0.75

Replicate

Q6_K_XL

llama-quantize \
    --tensor-type-file ./recipe.txt \
    --imatrix ./imatrix_unsloth.gguf_file \
    --target-exclude f32,bf16,f16 \
    --target-bpw 7.6985 \
    --state-file ./state.json \
    ./Qwen4-35B-A3B-BF16.gguf \
    ./Qwen4-35B-A3B-Q6_K_XL.gguf

Q4_K_XL

llama-quantize \
    --tensor-type-file ./recipe.txt \
    --imatrix ./imatrix_unsloth.gguf_file \
    --target-exclude f32,bf16,f16,q5_0,q5_1 \
    --target-bpw 5.6097 \
    --state-file ./state.json \
    ./Qwen4-35B-A3B-BF16.gguf \
    ./Qwen4-35B-A3B-Q4_K_XL.gguf
Downloads last month
4,244
GGUF
Model size
36B params
Architecture
qwen4exp
Hardware compatibility
Log In to add your hardware

4-bit

6-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for tomngdev/Qwen4-35B-A3B-GGUF

Quantized
(627)
this model

Space using tomngdev/Qwen4-35B-A3B-GGUF 1