Instructions to use CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF", filename="Nvidia-Qwen3.6-27B-NVFP4-A.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF:NVFP4 # Run inference directly in the terminal: llama cli -hf CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF:NVFP4
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF:NVFP4 # Run inference directly in the terminal: llama cli -hf CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF:NVFP4
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF:NVFP4 # Run inference directly in the terminal: ./llama-cli -hf CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF:NVFP4
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF:NVFP4 # Run inference directly in the terminal: ./build/bin/llama-cli -hf CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF:NVFP4
Use Docker
docker model run hf.co/CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF:NVFP4
- LM Studio
- Jan
- vLLM
How to use CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF:NVFP4
- Ollama
How to use CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF with Ollama:
ollama run hf.co/CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF:NVFP4
- Unsloth Studio
How to use CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF to start chatting
- Pi
How to use CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF with 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
- Hermes Agent new
How to use CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF with Hermes Agent:
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 Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF:NVFP4
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF with OpenClaw:
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 OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF:NVFP4" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF with Docker Model Runner:
docker model run hf.co/CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF:NVFP4
- Lemonade
How to use CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull CodeFault/Nvidia-Qwen3.6-27B-NVFP4-GGUF:NVFP4
Run and chat with the model
lemonade run user.Nvidia-Qwen3.6-27B-NVFP4-GGUF-NVFP4
List all available models
lemonade list
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 modifyingconvert_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
4-bit
16-bit