Instructions to use LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use LibertAIDAI/Qwen3.8-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 LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF:Q4_K_M
Use Docker
docker model run hf.co/LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "LibertAIDAI/Qwen3.8-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": "LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF:Q4_K_M
- Ollama
How to use LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF with Ollama:
ollama run hf.co/LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use LibertAIDAI/Qwen3.8-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 LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF with Docker Model Runner:
docker model run hf.co/LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF:Q4_K_M
- Lemonade
How to use LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen3.8-27B-NVFP4-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use LibertAIDAI/Qwen3.8-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 LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF:Q4_K_M
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:9931/v1 hermes config set model.default LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use LibertAIDAI/Qwen3.8-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 LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF:Q4_K_M
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:9931/v1 \ --custom-model-id "LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF:Q4_K_M" \ --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"
Qwen3.8-27B NVFP4 GGUF
NVFP4 GGUF quantizations of Qwen/Qwen3.8-27B for llama.cpp, built for native NVFP4 tensor-core math on Blackwell GPUs.
The NVFP4 weights come from our own ModelOpt post-training quantization of the BF16 release, using NVIDIA's dense recipe: NVFP4 at group size 16 on the language-model MLP linears only, calibrated on 512 samples of cnn_dailymail at sequence length 512. Attention (both the full-attention and Gated-DeltaNet linear-attention layers), the vision tower, the MTP block, embeddings and lm_head are left in BF16. That is 192 quantized linears, 64 layers by gate, up and down.
An MTP variant with the speculative draft head is published separately at Qwen3.8-27B-NVFP4-MTP-GGUF.
About LibertAI
LibertAI is a decentralized AI platform offering private inference, an OpenAI-compatible API, and a chat UI, all running on community GPUs over Aleph Cloud rather than a single company's servers.
If you want to put this model to work as an autonomous agent without running your own infrastructure, see LiberClaw, Hermes-style agents hosted on Aleph Cloud with LibertAI inference. Free tier: 2 agents, no credit card, 5 minutes to deploy. Open source.
Files
| File | Size | FFN | Other tensors | When to pick |
|---|---|---|---|---|
Qwen3.8-27B-NVFP4-Q4_K_M.gguf |
15.8 GB | NVFP4 | Q4_K_M | Recommended. Fastest variant and the smallest |
Qwen3.8-27B-NVFP4-Q8_0.gguf |
20.0 GB | NVFP4 | Q8_0 | Higher-precision attention and embeddings if you have the VRAM |
Qwen3.8-27B-NVFP4-BF16.gguf |
29.2 GB | NVFP4 | BF16 | Source-precision non-FFN tensors, slower in practice |
mmproj-Qwen3.8-27B-F16.gguf |
0.93 GB | n/a | F16 vision tower | Required for image and video input, reusable across all Qwen3.8-27B GGUFs |
Q4_K_M is both the smallest and the fastest of the three. Inference here is memory-bandwidth bound, so the larger BF16 attention and embedding tensors bottleneck the model even though the FFN math is identical.
Performance
Measured on an NVIDIA RTX 5090 (32 GB, Blackwell, sm_120, CUDA 13.0), llama.cpp build 849798132, compared against a stock Q4_K_M built from the same BF16 source on the same build.
Single-stream, llama-bench, 3 repetitions:
| Variant | Size | pp512 tok/s | tg64 tok/s |
|---|---|---|---|
| NVFP4-Q4_K_M | 14.72 GiB | 5081 | 84.8 |
| NVFP4-Q8_0 | 18.65 GiB | 5169 | 71.8 |
| Stock Q4_K_M | 15.40 GiB | 3947 | 81.2 |
Batched serving, llama-batched-bench, 512 in and 128 out, total throughput:
| Parallel | NVFP4-Q4_K_M | Stock Q4_K_M | Difference |
|---|---|---|---|
| 1 | 398 tok/s | 376 tok/s | +5.9% |
| 4 | 1138 tok/s | 980 tok/s | +16.1% |
| 8 | 1520 tok/s | 1188 tok/s | +28.0% |
| 16 | 2134 tok/s | 1824 tok/s | +17.0% |
Prefill is roughly 29% faster across the range. The token-generation advantage peaks near 8 concurrent requests and narrows at 16, where generation becomes attention and KV-cache bound rather than FFN bound.
Usage
llama-server \
-m Qwen3.8-27B-NVFP4-Q4_K_M.gguf \
--mmproj mmproj-Qwen3.8-27B-F16.gguf \
-ngl 999 -fa on -c 32768 \
--host 0.0.0.0 --port 8080
Drop --mmproj for text-only serving.
Requirements
Native NVFP4 tensor-core math needs a Blackwell GPU (sm_120) and a llama.cpp built with CUDA 12.8 or newer. Build with -DCMAKE_CUDA_ARCHITECTURES=120. On older architectures the NVFP4 tensors still load and run, but without native NVFP4 MMA the speed advantage does not apply.
Caveats
- Calibration was English news text (cnn_dailymail), matching NVIDIA's published recipe. Multilingual and code-heavy workloads were not measured against a held-out set.
- The vision tower is left in BF16 and was not separately evaluated. Vision quality should track the upstream BF16 release closely.
- Benchmarks are from a single RTX 5090. Behavior on other Blackwell parts was not measured.
License and attribution
Inherits Apache 2.0 from Qwen/Qwen3.8-27B. All rights, responsibilities and acceptable-use policies of the upstream license apply.
Quantization performed by LibertAI.
- Downloads last month
- 5,512
4-bit
8-bit
16-bit
Model tree for LibertAIDAI/Qwen3.8-27B-NVFP4-GGUF
Base model
Qwen/Qwen3.8-27B