CoolFace
Modelpublic

utautako/Qwen3.6-27B-NVIDIA-NVFP4-MTP-Q8attn-GGUF

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
2likes586downloads
Model Card

GGUF conversion of nvidia/Qwen3.6-27B-NVFP4, preserving NVIDIA's NVFP4 MLP tensors, with MTP speculative decoding and a BF16 vision projector.

This is the accuracy-oriented variant. Compared to the smaller Q4-attention build, this one keeps the attention and linear-attention (DeltaNet) projections at `Q8_0` — matching the original FP8 precision of the NVIDIA checkpoint — instead of dropping them to Q4_K. That adds about 3 GB to the file size, with the aim of reducing accuracy loss at long context, where 4-bit attention / DeltaNet projections hurt most. Benchmarked on an RTX 5090 with llama-benchy.

Highlights

  • —NVFP4 preserved: 193 NVFP4 MLP tensors are kept from NVIDIA's ModelOpt quantized checkpoint (unchanged from the Q4-attention build).
  • —Q8 attention: attention (q/k/v/o) and linear-attention / DeltaNet projections (attn_qkv, attn_gate, ssm_out, ssm_alpha, ssm_beta) are stored as `Q8_0` (≈ the original FP8), for better accuracy than the Q4-attention build.
  • —MTP included: the GGUF keeps the extra MTP layer for draft-mtp speculative decoding.
  • —Vision supported: includes the same BF16 mmproj file as the Q4-attention build for image input.
  • —RTX 5090 tested: measured with llama-benchy using MTP depth d=3.

Which build should I pick?

BuildAttention / DeltaNet precisionSizePick it for
Q4-attention (sibling)Q4_K14.66 GiBSmallest footprint
Q8attn (this repo)`Q8_0`17.81 GiBBetter accuracy, esp. long context

Both builds share the same 193 NVFP4 MLP tensors, MTP layer, and BF16 vision projector. Generation speed with MTP d=3 is comparable (~110–130 tok/s on RTX 5090), so the choice is accuracy vs. size, not throughput.

Provenance

ComponentSource
Base modelQwen/Qwen3.6-27B
NVFP4 source checkpointnvidia/Qwen3.6-27B-NVFP4
Runtime targetllama.cpp

Files

FileSizeDescription
Qwen3.6-27B-NVIDIA-NVFP4-MTP-Q8attn.gguf17.81 GiB / 19,128,366,464 bytesMain GGUF. NVFP4 MLP preserved; attention/DeltaNet at Q8_0; MTP layer included.
mmproj-Qwen3.6-27B-NVIDIA-NVFP4-BF16.gguf~888 MiB / 931,146,304 bytesBF16 vision projector for image input.

llama.cpp example

bash
# Text-only
llama-server \
  -m Qwen3.6-27B-NVIDIA-NVFP4-MTP-Q8attn.gguf \
  --spec-type draft-mtp \
  --spec-draft-n-max 3 \
  -c 196608 \
  -ngl 999

# With vision
llama-server \
  -m Qwen3.6-27B-NVIDIA-NVFP4-MTP-Q8attn.gguf \
  --mmproj mmproj-Qwen3.6-27B-NVIDIA-NVFP4-BF16.gguf \
  --spec-type draft-mtp \
  --spec-draft-n-max 3 \
  -c 147456 \
  -ngl 999

The context lengths above are what this repo's author runs on a 32 GB RTX 5090: `-c 196608` for text-only and `-c 147456` when the vision projector is loaded (the mmproj plus its image tokens take extra VRAM, so a smaller context leaves headroom). Adjust to fit your own VRAM.

Benchmarks

Measured on RTX 5090, llama-benchy, MTP depth d=3, ctx 32768, generation-latency mode. (Absolute tok/s is not 1:1 comparable to the sibling card's table: this run used a different llama.cpp build and a gpt2 tokenizer fallback. Use it to compare thinking on/off within this table.)

ModePrompt / gen lengthGeneration (tg) tok/sPeak gen tok/s
thinking ONpp512 / tg512125.28 ± 2.67~135
thinking ONpp4096 / tg512127.05 ± 0.96~135
thinking OFFpp512 / tg512115.35 ± 10.30—
thinking OFFpp4096 / tg512110.04 ± 9.12—

MTP d=3 roughly doubles generation throughput over the non-speculative baseline on this hardware.

Model details

FieldValue
GGUF architectureqwen35
License metadataapache-2.0
Text layers64
MTP layers1
qwen35.block_count65
qwen35.nextn_predict_layers1
Bits per weight~5.60 BPW
Vision projector architectureclip / qwen3vl_merger
Vision projector precisionBF16/F32

Tensor composition of the main GGUF

Tensor typeCountRole
NVFP4193MLP (gate/up/down) — preserved from the NVIDIA NVFP4 checkpoint
Q8_0308attention (q/k/v/o) + linear-attn / DeltaNet projections
Q6_K3MTP-layer FFN
Q4_K2remaining small tensors
F32746norms / embeddings / scales
Total1252

The conversion keeps the original NVFP4 MLP tensors instead of requantizing all weights to K-quants, and, unlike the Q4-attention build, keeps attention / DeltaNet projections at Q8_0 rather than Q4_K.

License and attribution

The upstream models are licensed under Apache-2.0:

This repository redistributes a GGUF format conversion of the NVIDIA NVFP4 checkpoint under the same Apache-2.0 license. Please also follow the terms and usage guidance of the upstream model cards.

Acknowledgements

Thanks to the Qwen team for the base model, NVIDIA for the NVFP4 ModelOpt checkpoint, and the llama.cpp project for GGUF, NVFP4, MTP, and multimodal runtime support.