How to use from
Pi
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF:NVFP4
Configure the model in Pi
# Install Pi:
npm install -g @mariozechner/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
  "providers": {
    "llama-cpp": {
      "baseUrl": "http://localhost:8080/v1",
      "api": "openai-completions",
      "apiKey": "none",
      "models": [
        {
          "id": "CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF:NVFP4"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

Nvidia-Qwen3.6-27B-NVFP4 - GGUF

Quantized GGUF versions of nvidia/Qwen3.6-27B-NVFP4. These were generated using llama.cpp's convert_hf_to_gguf.py (b9859).

  • Nvidia-Qwen3.6-27B-NVFP4-A.gguf - All layers are NVFP4 quantized. This required modifying convert_hf_to_gguf.py, and needs cleaning up before possible upstreaming.
  • Nvidia-Qwen3.6-27B-NVFP4-BF16-Attn.gguf: NVFP4 FFN layers are preserved, while FP8 attention layers are upcasted to BF16. This is the default conversion for BF16 because GGUF files do not support FP8.

Quantizations provided

File Quantization Size
Nvidia-Qwen3.6-27B-NVFP4-A.gguf NVFP4 17.9 GB
Nvidia-Qwen3.6-27B-NVFP4-BF16-Attn.gguf NVFP4 FFN, BF16 attention 28.2 GB

Perplexity test

I tested perplexity using llama-perplexity and Salesforce's wikitext-2-raw-v1.

File Ctx PPL
Nvidia-Qwen3.6-27B-NVFP4-A.gguf 512 7.7540 ± 0.05396
Nvidia-Qwen3.6-27B-NVFP4-BF16-Attn.gguf 512 7.4814 ± 0.05157

Evaluation

The following models were evaluated for a fair comparison of capability, size and speed.

Model Quantization Size Reason
unsloth/Qwen3.6-27B-MTP-GGUF UD-Q4_K_XL 17.9 GB Closest non-NVFP4 in size to NVFP4.
unsloth/Qwen3.6-27B-MTP-GGUF UD-Q6_K_XL 26 GB Closest non-NVFP4 in size to BF16-Attn.
unsloth/Qwen3.6-27B-NVFP4 NVFP41 25.4 GB Alternative NVFP4 quant.

1: unsloth/Qwen3.6-27B-NVFP4 does not provide a GGUF. I used llama.cpp's conversion which passes through Unsloth's NVFP4 tensors.

CodeFault
NVFP4
CodeFault
BF16-Attn
Unsloth
NVFP4
Unsloth
UD-Q4_K_XL
Unsloth
UD-Q6_K_XL
Coding
HumanEval 0.8537 ± 0.0277 0.8354 ± 0.0290 0.8110 ± 0.0307 0.8354 ± 0.0290 0.8537 ± 0.0277
HumanEval+ 0.7805 ± 0.0324 0.7927 ± 0.0318 0.7744 ± 0.0327 0.7805 ± 0.0324 0.7805 ± 0.0324
MBPP 0.7440 ± 0.0195 0.7540 ± 0.0193 0.7420 ± 0.0196 0.7560 ± 0.0192 0.7540 ± 0.0193
MBPP+ 0.8783 ± 0.0168 0.8836 ± 0.0165 0.8995 ± 0.0155 0.8968 ± 0.0157 0.8836 ± 0.0165
Instruction
IFEval 0.8614 ± 0.0149 0.8410 ± 0.0157 0.8447 ± 0.0156 0.8410 ± 0.0157 0.8447 ± 0.0156
Knowledge
ARC-Challenge 0.9684 ± 0.0051 0.9710 ± 0.0049 0.9710 ± 0.0049 0.9710 ± 0.0049 0.9710 ± 0.0049
MMLU-Pro 0.8350 ± 0.0033 0.7778 ± 0.0296
STEM & Reasoning
BIG-Bench Hard 0.9260 ± 0.0030 0.9214 ± 0.0031
GPQA Diamondflexible 0.8131 ± 0.0278
GSM8K 0.9265 ± 0.0072 0.9136 ± 0.0077 0.9098 ± 0.0079 0.9083 ± 0.0080 0.9158 ± 0.0076
Hendrycks Math

NOTICE: These tests are actively running.

These evaluations were run using lm_eval. The models were run in instruct (non-thinking) mode with the following parameters in llama-server (b9775):

ctx-size = 32768
cache-type-k = q8_0
cache-type-v = q8_0
top-p = 0.8
top-k = 20
min-p = 0
presence-penalty = 1.5
spec_type = draft-mtp
spec_draft_n_max = 2
chat-template-kwargs = {"enable_thinking":false}

Benchmarks

Model Quant MTP n-max Prompt Len Output Len Acceptance Rate pp/s tg/s
CodeFault/Nvidia-Qwen3.6-27B-NVFP4 NVFP4 267 6895 2195.5 77.2
CodeFault/Nvidia-Qwen3.6-27B-NVFP4 NVFP4 1 267 5826 0.868 1857.4 99.3
CodeFault/Nvidia-Qwen3.6-27B-NVFP4 NVFP4 2 267 5852 0.856, 0.714 1829.8 120
CodeFault/Nvidia-Qwen3.6-27B-NVFP4 NVFP4 3 267 6350 0.856, 0.724, 0.605 1856.7 131.8
CodeFault/Nvidia-Qwen3.6-27B-NVFP4 NVFP4 4 267 5626 0.819, 0.669, 0.548, 0.453 1876.8 135.4
CodeFault/Nvidia-Qwen3.6-27B-NVFP4 BF16-Attn 267 5363 1896.4 53.4
CodeFault/Nvidia-Qwen3.6-27B-NVFP4 BF16-Attn 1 267 5980 0.881 1643.8 74.6
CodeFault/Nvidia-Qwen3.6-27B-NVFP4 BF16-Attn 2 267 5152 0.875, 0.732 1704.1 94.1
CodeFault/Nvidia-Qwen3.6-27B-NVFP4 BF16-Attn 3 267 6881 0.876, 0.724, 0.595 1675.8 106.1
CodeFault/Nvidia-Qwen3.6-27B-NVFP4 BF16-Attn 4 267 6582 0.859, 0.692, 0.579, 0.476 1686.4 112.3
unsloth/Qwen3.6-27B-NVFP4 NVFP4 267 7347 2056.5 57.6
unsloth/Qwen3.6-27B-NVFP4 NVFP4 1 267 6826 0.843 1749.9 74.9
unsloth/Qwen3.6-27B-NVFP4 NVFP4 2 267 8142 0.851, 0.685 1794.7 90.1
unsloth/Qwen3.6-27B-NVFP4 NVFP4 3 267 7612 0.837, 0.671, 0.541 1787 96.4
unsloth/Qwen3.6-27B-NVFP4 NVFP4 4 267 7621 0.817, 0.620, 0.485, 0.400 1772.4 96.5
unsloth/Qwen3.6-27B-MTP-GGUF UD-Q4_K_XL 267 7826 1535.4 69.8
unsloth/Qwen3.6-27B-MTP-GGUF UD-Q4_K_XL 1 267 8398 0.879 1381.1 107.7
unsloth/Qwen3.6-27B-MTP-GGUF UD-Q4_K_XL 2 267 7363 0.850, 0.692 1276.6 122.1
unsloth/Qwen3.6-27B-MTP-GGUF UD-Q4_K_XL 3 267 8146 0.852, 0.681, 0.552 1286.9 123
unsloth/Qwen3.6-27B-MTP-GGUF UD-Q4_K_XL 4 267 8269 0.830, 0.647, 0.529, 0.439 923.2 120.8
unsloth/Qwen3.6-27B-MTP-GGUF UD-Q6_K_XL 267 7180 1257.3 53.7
unsloth/Qwen3.6-27B-MTP-GGUF UD-Q6_K_XL 1 267 5868 0.876 1249.1 84.8
unsloth/Qwen3.6-27B-MTP-GGUF UD-Q6_K_XL 2 267 6104 0.864, 0.701 1232.8 102.2
unsloth/Qwen3.6-27B-MTP-GGUF UD-Q6_K_XL 3 267 5000 0.847, 0.688, 0.563 1228.7 109
unsloth/Qwen3.6-27B-MTP-GGUF UD-Q6_K_XL 4 267 7060 0.852, 0.703, 0.577, 0.474 1052.5 116.8

These benchmarks were run on an RTX 5090 (limited to 480 W) using llama-cli (b9775) with the CUDA driver and a prompt to generate an Ansible playbook.

Serving with llama.cpp

It has a max context size of 262,114. This can be served using:

llama-server \
-hf CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF \
-hff Nvidia-Qwen3.6-27B-NVFP4-A.gguf \
--temp 0.6 \
--top-p 0.95 \
--top-k 20 \
--repeat-penalty 1.1 \
--spec-type draft-mtp \
--spec-draft-n-max 2
Downloads last month
5,200
GGUF
Model size
27B params
Architecture
qwen35
Hardware compatibility
Log In to add your hardware

4-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF

Base model

Qwen/Qwen3.6-27B
Quantized
(3)
this model