GGUF conversion of the NVFP4 checkpoint unsloth/Qwen3.8-27B-NVFP4 to the GGUF format (NVFP4 tensor type), built and verified on 2× NVIDIA RTX 5060 Ti 16 GB (Blackwell, sm_120) with llama.cpp tensor parallelism. Model details, benchmark scores and hardware fit are also listed on Open LLM Radar — Qwen3.8-27B.
qwen35 (27.32 B parameters, MoE), size_label 27BQwen3.8-27B-NVFP4.gguf — 23.17 GB (21.57 GiB), 1202 tensorsConverted on 2026-11-08 from the local HF cache snapshot of unsloth/Qwen3.8-27B-NVFP4 (compressed-tensors, mixed-precision config, including model_mtp.safetensors).
NVFP4 is NVIDIA's 4-bit block-scaled floating-point quantization (E2M1 values in 16-element blocks with FP8-E4M3 scales). llama.cpp supports the GGUF NVFP4 tensor type natively with Blackwell FP4 tensor-core MMQ (sm_120) since build b8967 — on RTX 50xx cards the model therefore runs 1:1 in GPU-native 4-bit without dequantization overhead.
The Unsloth checkpoint (HF, compressed-tensors) mixes two quantization config groups:
| Group | Format | Tensors |
|---|---|---|
| 0 | FP8 (float-quantized, per-channel weights, dynamic activations) |
Attention (q/k/v/o), linear attention (GDN) in/out, LM head, MLP of the last 8 layers (56–63) |
| 1 | NVFP4 (nvfp4-pack-quantized) |
MLP gate/up/down of layers 0–55 |
The MTP tensors (re:^mtp.*) are unquantized in the checkpoint and were integrated as-is — the built-in MTP draft head works out of the box.
# llama.cpp master 31424b7cf (2026-11-06, "opencl: add arange #31829")
python3 convert_hf_to_gguf.py <hf-snapshot-dir> \
--outfile Qwen3.8-27B-NVFP4.gguf \
--outtype auto --fp8-as-q8
--outtype auto: NVFP4 packed tensors are repacked bit-exactly (no requantization)--fp8-as-q8: the FP8 group is converted to Q8_0 (sensitive tensors stay highly quantized)any() predicate + dequant_fp8() path; runtime: ~2 min on NVMeResult (tensor type distribution in the GGUF): 696×F32 (small/unquantized tensors & scales), 233×Q8_0, 168×NVFP4, 105×FP8 scales — mixed quantization as in the source checkpoint.
Two measurement series, both on the same compose stack (ghcr.io/ggml-org/llama.cpp:server-cuda, build 372dc5ca1, FlashAttention, KV q8_0/q8_0, threads 12):
Server bench (llama-server, MTP draft active, n_max 2, tensor-parallel across both GPUs):
| Prompt (tokens) | pp (t/s) | tg (t/s, n=128) |
|---|---|---|
| ~12.8k | 1731 | 66.7 |
| ~25.5k | 1731 | 62.6 |
| ~50.9k | 1545 | 55.3 |
| ~102k | 1265 | 46.2 |
| ~127.5k | 1161 | 41.0 |
llama-bench (MTP inactive, ubatch 256, tg128 @ depth):
| Depth | tg128 t/s |
|---|---|
| 0 | 19.78 |
| 16k | 18.44 |
| 32k | 17.30 |
| 64k | 15.36 |
| 128k | 12.58 |
| 160k | 11.53 |
LLAMA_ARG_SPLIT_MODE=tensor + GGML_CUDA_ALLREDUCE=internal → NCCL-free P2P all-reduce on the 5060 Tis (layer split also works, but is slower)np=1, ctx 131072, KV q8_0/q8_0 + FlashAttention → measured in practice up to ~160k contextubatch 512, threads 12LLAMA_ARG_SPEC_TYPE=draft-mtp, LLAMA_ARG_SPEC_DRAFT_N_MAX=2temp 1.0 / top_p 0.95 / top_k 20, instruct temp 0.7 / top_p 0.8q4_0; if the log shows resolve_fused_ops … CPU, too much was moved to the CPU.mmproj-F16.gguf from unsloth/Qwen3.8-27B-GGUF.Complete example including Docker setup: docker-compose-nvfp4.example.yml (port 8091→8080, healthcheck, metrics endpoint, MTP enabled).
Qwen3.8-27B-NVFP4.gguf): 555fbda4170e936f600bdbaee17f1ead08854cf942da0be819254af41a5af41d (also in sha256.txt):server-cuda build 372dc5ca1unsloth/Qwen3.8-27B-NVFP4