Downloads · 30 days
15
1% of all-time downloads
a-ivanovitch/Qwen3-30B-A3B-Instruct-2507-NVFP4
Qwen3-30B-A3B-Instruct-2507-NVFP4 is a text generation model from a-ivanovitch. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
NVFP4 quantization of Qwen3-30B-A3B-Instruct-2507 — 61GB → 16.9GB, ready for single-GPU deployment.
Downloads · 30 days
15
1% of all-time downloads
All-time downloads
1.1K
Public
Parameters
17.5B
18.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors18.1 GB · 100%
How the weights are stored.
U829.9B · 98%
From the Hugging Face model README
NVFP4 quantization of Qwen3-30B-A3B-Instruct-2507 — 61GB → 16.9GB, ready for single-GPU deployment.
A high-quality NVFP4 (NVIDIA FP4) quantization of Qwen's updated Mixture-of-Experts instruct model (July 2025), calibrated on Italian-language data with full expert coverage. Designed for production inference with vLLM on NVIDIA Blackwell, Hopper, and Ada GPUs.
| 🧬 Architecture | Qwen3-MoE — standard transformer with Mixture-of-Experts |
| 📐 Parameters | 30B total, 3B active per token (128 experts, top-8 routing) |
| 🗜️ Quantization | NVFP4 (4-bit floating point weights and activations) |
| 📦 Size | 16.9 GB (from 61 GB BF16) — 72% reduction |
| 🔧 Format | compressed-tensors — native vLLM support |
| 📏 Context | 262,144 tokens natively |
This is the quantized version of the July 2025 update, which brings significant improvements over the original Qwen3-30B-A3B:
Note: This model supports only non-thinking mode and does not generate
<think></think>blocks.
vllm serve Sophia-AI/Qwen3-30B-A3B-Instruct-2507-NVFP4
docker run --gpus all \
-p 8000:8000 \
vllm/vllm-openai:latest \
--model Sophia-AI/Qwen3-30B-A3B-Instruct-2507-NVFP4
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="unused")
response = client.chat.completions.create(
model="Sophia-AI/Qwen3-30B-A3B-Instruct-2507-NVFP4",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Explain mixture-of-experts architectures in simple terms."},
],
max_tokens=512,
)
print(response.choices[0].message.content)
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"Sophia-AI/Qwen3-30B-A3B-Instruct-2507-NVFP4",
torch_dtype="auto",
device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained(
"Sophia-AI/Qwen3-30B-A3B-Instruct-2507-NVFP4"
)
messages = [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "What are the key improvements in Qwen3's July 2025 update?"},
]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
NVFP4 quantization using llmcompressor with the compressed-tensors format. Weights and activations are quantized to 4-bit NVIDIA floating point with per-group scales (group size 16).
| 📊 Samples | 512 |
| 📏 Sequence length | 1024 tokens (p90-optimized) |
| 🌍 Calibration language | Italian |
| 🔀 MoE coverage | All 128 experts calibrated (moe_calibrate_all_experts=True) |
| ⚙️ Pipeline | Basic (full GPU, no CPU offload) |
| 🖥️ Hardware | 2× NVIDIA B200 SXM (366 GB VRAM) |
| ⏱️ Quantization time | ~18 minutes |
| 💾 Compression time | ~14 minutes |
The following layers are kept in their original BF16 precision to preserve model quality:
| Pattern | Count | Reason |
|---|---|---|
lm_head | 1 | Output projection — critical for token prediction |
mlp.gate | 48 | MoE routing gates — low parameter count, high impact on expert selection |
A total of 49 modules are preserved in original precision.
| Setup | VRAM | Notes |
|---|---|---|
| 1× RTX 4090 (24 GB) | ~17 GB | ✅ Fits with room for KV cache |
| 1× RTX 5090 (32 GB) | ~17 GB | ✅ Comfortable fit |
| 1× A100 (40/80 GB) | ~17 GB | ✅ Plenty of headroom |
| 1× H100 (80 GB) | ~17 GB | ✅ Ideal for long contexts |
| 1× B200 (192 GB) | ~17 GB | ✅ Maximum KV cache capacity |
At only 16.9 GB, this model fits comfortably on consumer GPUs. NVFP4 inference requires NVIDIA GPUs with compute capability ≥ 8.9 (Ada Lovelace, Hopper, Blackwell).
Qwen3-30B-A3B is a standard transformer with Mixture-of-Experts (MoE) feed-forward layers:
This architecture enables strong performance at a fraction of the compute cost of a dense 30B model, while maintaining the full capacity of 128 specialized experts.
compressed-tensors format is natively supported by vLLM. Other inference engines may require conversion.<think></think> blocks. For reasoning mode, use the Thinking variant.This model inherits the Apache 2.0 license from the base model.