A high-quality NVFP4 (NVIDIA FP4) quantization of Qwen's flagship Mixture-of-Experts model, calibrated on Italian-language data with full expert coverage. Designed for production inference with
vLLM on NVIDIA Blackwell, Hopper, and Ada GPUs.
1vllm serve Sophia-AI/Qwen3-Next-80B-A3B-Instruct-NVFP4 \
2 --kv-cache-dtype fp8
1docker run --gpus all \
2 -p 8000:8000 \
3 vllm/vllm-openai:latest \
4 --model Sophia-AI/Qwen3-Next-80B-A3B-Instruct-NVFP4 \
5 --kv-cache-dtype fp8
1from openai import OpenAI
2
3client = OpenAI(base_url="http://localhost:8000/v1", api_key="unused")
4
5response = client.chat.completions.create(
6 model="Sophia-AI/Qwen3-Next-80B-A3B-Instruct-NVFP4",
7 messages=[
8 {"role": "system", "content": "You are a helpful assistant."},
9 {"role": "user", "content": "Explain mixture-of-experts architectures in simple terms."},
10 ],
11 max_tokens=512,
12)
13print(response.choices[0].message.content)
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model = AutoModelForCausalLM.from_pretrained(
4 "Sophia-AI/Qwen3-Next-80B-A3B-Instruct-NVFP4",
5 torch_dtype="auto",
6 device_map="auto",
7)
8tokenizer = AutoTokenizer.from_pretrained(
9 "Sophia-AI/Qwen3-Next-80B-A3B-Instruct-NVFP4"
10)
11
12messages = [
13 {"role": "system", "content": "You are a helpful assistant."},
14 {"role": "user", "content": "What is DeltaNet and how does it differ from standard attention?"},
15]
16
17text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
18inputs = tokenizer(text, return_tensors="pt").to(model.device)
19outputs = model.generate(**inputs, max_new_tokens=512)
20print(tokenizer.decode(outputs[0], skip_special_tokens=True))
NVFP4 quantization using
llmcompressor v0.9.0 with the
compressed-tensors format. Weights are quantized to 4-bit NVIDIA floating point with per-channel global scales, and the KV cache is quantized to FP8 for additional memory savings during inference.
The following layers are kept in their original precision to preserve model quality:
This hybrid design enables efficient long-context processing while maintaining the representational power of standard attention at regular intervals. The MoE routing activates 10 out of 512 experts per token, keeping inference compute at ~3B active parameters despite the 80B total.
This model inherits the
Apache 2.0 license from the base model.