Views
No views yet
| Base model | Qwen/Qwen3.6-27B |
| Quantization | NVFP4 — weights FP4, activations FP4 (dynamic local), scales FP8 |
| Format | compressed-tensors (native vLLM support) |
| Tool | vllm-project/llm-compressor |
| Requires | NVIDIA Blackwell GPU (SM 120+), vLLM ≥ 0.19 |
| Component | Precision | Reason |
|---|---|---|
| FFN / MLP — all 64 transformer layers | NVFP4 | High parameter density, stable under quantization |
| Full-attention projections (q/k/v/o) — 16 GQA layers | NVFP4 | Standard attention, tolerant to 4-bit |
| DeltaNet / Linear-attention projections — 48 layers | BF16 | Gated linear recurrence is sensitive to numerical errors |
| Vision encoder — all 27 blocks + merger | BF16 | Vision tower preserved to maintain multimodal quality |
lm_head | BF16 | Output logits preserved for generation stability |
The architecture of Qwen3.6-27B interleaves 3 × DeltaNet (linear attention) layers with 1 × full GQA attention every 4 layers (16 such groups × 4 = 64 layers total). Only the full-attention group and all FFN layers are quantized; the DeltaNet recurrent cores are untouched.
1# recipe.yaml
2QuantizationModifier:
3 targets: [Linear]
4 scheme: NVFP4
5 ignore:
6 - lm_head
7 # Vision encoder — all 27 blocks (attn + mlp) + merger
8 - re:model\.visual\.blocks\.\d+\..*
9 - model.visual.merger.linear_fc1
10 - model.visual.merger.linear_fc2
11 # DeltaNet / Linear-attention layers (layers 0–2, 4–6, 8–10, ..., 60–62)
12 - re:model\.language_model\.layers\.\d+\.linear_attn\..*1vllm serve vrfai/Qwen3.6-27B-NVFP4 \
2 --max-model-len 8192 \
3 --gpu-memory-utilization 0.9 \
4 --dtype auto \
5 --trust-remote-code \
6 --tensor-parallel-size 21vllm serve vrfai/Qwen3.6-27B-NVFP4 \
2 --max-model-len 8192 \
3 --gpu-memory-utilization 0.92 \
4 --dtype auto \
5 --trust-remote-code1from transformers import Qwen3_5ForConditionalGeneration, AutoTokenizer
2
3model_name = "vrfai/Qwen3.6-27B-NVFP4"
4tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
5model = Qwen3_5ForConditionalGeneration.from_pretrained(
6 model_name,
7 torch_dtype="auto",
8 device_map="auto",
9 trust_remote_code=True,
10)
11
12messages = [{"role": "user", "content": "Explain quantization in one paragraph."}]
13text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
14inputs = tokenizer(text, return_tensors="pt").to(model.device)
15outputs = model.generate(**inputs, max_new_tokens=512)
16print(tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))1from openai import OpenAI
2
3client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
4
5response = client.chat.completions.create(
6 model="vrfai/Qwen3.6-27B-NVFP4",
7 messages=[{"role": "user", "content": "Hello!"}],
8 temperature=0.7,
9 max_tokens=512,
10)
11print(response.choices[0].message.content)| Component | Version |
|---|---|
| vLLM | 0.19.1 |
| Transformers | 5.6.0 |
| PyTorch | 2.10.0+cu128 |
| CUDA | 12.8 (nvcc 12.8.61) |
| llm-compressor | compressed-tensors 0.14.0.1 |
| GPU | 2× NVIDIA RTX 5090 (tensor-parallel-size 2) |
| OS | Ubuntu 24 |
| Mode | temperature | top_p | top_k | presence_penalty |
|---|---|---|---|---|
| Thinking — general | 1.0 | 0.95 | 20 | 0.0 |
| Thinking — coding (WebDev) | 0.6 | 0.95 | 20 | 0.0 |
| Non-thinking / instruct | 0.7 | 0.80 | 20 | 1.5 |
max_new_tokens=32768 for most tasks; up to 81920 for complex math/coding benchmarks.1text = tokenizer.apply_chat_template(
2 messages,
3 tokenize=False,
4 add_generation_prompt=True,
5 chat_template_kwargs={"enable_thinking": True},
6)
[!Note] This repository contains model weights and configuration files for the post-trained model in the Hugging Face Transformers format.These artifacts are compatible with Hugging Face Transformers, vLLM, SGLang, KTransformers, etc.

1@misc{qwen3.6-27b,
2 title = {{Qwen3.6-27B}: Flagship-Level Coding in a {27B} Dense Model},
3 author = {{Qwen Team}},
4 month = {April},
5 year = {2026},
6 url = {https://qwen.ai/blog?id=qwen3.6-27b}
7}