NVFP4 quantized version of
huihui-ai/Huihui-Qwen3.6-27B-abliterated — an abliterated (uncensored) variant of Qwen3.6-27B, the dense 27B VLM with Gated DeltaNet hybrid attention.
Quantized to
NVIDIA FP4 by
Lna-Lab using custom Blackwell NVFP4 GEMM kernels (
lna-lab/blackwell-geforce-nvfp4-gemm).
1hf download sakamakismile/Huihui-Qwen3.6-27B-abliterated-NVFP4 \
2 --local-dir /models/Huihui-Qwen3.6-27B-abliterated-NVFP4
1docker run -d --name huihui-qwen36-27b \
2 --gpus '"device=0"' --shm-size=16g \
3 -v /models/Huihui-Qwen3.6-27B-abliterated-NVFP4:/models/current:ro \
4 -p 8000:8000 \
5 vllm/vllm-openai:cu130-nightly \
6 --model /models/current \
7 --trust-remote-code --quantization modelopt --language-model-only \
8 --reasoning-parser qwen3 \
9 --enable-auto-tool-choice --tool-call-parser qwen3_xml \
10 --default-chat-template-kwargs '{"preserve_thinking":true}' \
11 --enable-prefix-caching --enable-chunked-prefill \
12 --max-model-len 131072 --gpu-memory-utilization 0.95 \
13 --kv-cache-dtype fp8_e4m3
1vllm serve /models/Huihui-Qwen3.6-27B-abliterated-NVFP4 \
2 --max-model-len 131072 \
3 --gpu-memory-utilization 0.95 \
4 --dtype auto \
5 --kv-cache-dtype fp8_e4m3 \
6 --trust-remote-code
1# Text
2curl -s http://localhost:8000/v1/chat/completions \
3 -H "Content-Type: application/json" \
4 -d '{
5 "model": "Huihui-Qwen3.6-27B-abliterated-NVFP4",
6 "messages": [{"role": "user", "content": "Write a haiku about quantization."}],
7 "max_tokens": 256,
8 "temperature": 0.0
9 }'
1# VLM (image input)
2import base64, requests
3from pathlib import Path
4
5img_b64 = base64.b64encode(Path("photo.jpg").read_bytes()).decode()
6resp = requests.post("http://localhost:8000/v1/chat/completions", json={
7 "model": "Huihui-Qwen3.6-27B-abliterated-NVFP4",
8 "messages": [{"role": "user", "content": [
9 {"type": "image_url", "image_url": {"url": f"data:image/jpeg;base64,{img_b64}"}},
10 {"type": "text", "text": "Describe this image."},
11 ]}],
12 "max_tokens": 1024,
13})
14print(resp.json()["choices"][0]["message"]["content"])
1QuantizationModifier:
2 targets: [Linear]
3 ignore: [lm_head, 're:.*visual.*', 're:.*mlp.gate$', 're:.*mlp.shared_expert_gate$']
4 scheme: NVFP4
1from transformers import AutoProcessor, Qwen3_5ForConditionalGeneration
2from llmcompressor import oneshot
3from llmcompressor.modifiers.quantization import QuantizationModifier
4import torch
5
6model = Qwen3_5ForConditionalGeneration.from_pretrained(
7 "huihui-ai/Huihui-Qwen3.6-27B-abliterated",
8 torch_dtype=torch.bfloat16, trust_remote_code=True,
9)
10processor = AutoProcessor.from_pretrained(
11 "huihui-ai/Huihui-Qwen3.6-27B-abliterated", trust_remote_code=True,
12)
13
14recipe = QuantizationModifier(
15 targets="Linear", scheme="NVFP4",
16 ignore=["lm_head", "re:.*visual.*", "re:.*mlp.gate$", "re:.*mlp.shared_expert_gate$"],
17)
18
19# Calibration with neuralmagic/calibration dataset (20 samples, 8192 seq len)
20# ... (see quantization script in repo)
21
22model.save_pretrained("output-NVFP4", save_compressed=True)
23processor.save_pretrained("output-NVFP4")