Downloads · 30 days
0
0% of all-time downloads
vLLM-Kunlun/Qwen3-4B-Int8-Dynamic
Qwen3-4B-Int8-Dynamic is a machine learning model from vLLM-Kunlun. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for adapter-transformers. The card lists the license as apache-2.0.
INT8 Dynamic Quantized version of Qwen3-4B, quantized by Baidu AICAPX Team, optimized for Kunlun XPU.
Downloads · 30 days
0
0% of all-time downloads
All-time downloads
15
Public
Parameters
4.4B
5.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors5.2 GB · 100%
How the weights are stored.
I83.6B · 82%
From the Hugging Face model README
INT8 Dynamic Quantized version of Qwen3-4B, quantized by Baidu AICAPX Team, optimized for Kunlun XPU.
🔗 Original Model: Qwen/Qwen3-4B
This model is quantized using SmoothQuant + GPTQ pipeline with INT8 Dynamic Quantization (W8A8) method.
| Component | Configuration |
|---|---|
| Quantization Method | SmoothQuant + GPTQ |
| Smoothing Strength | 0.8 |
| Smoothing Targets | q_proj, k_proj, v_proj ← input_layernorm<br>gate_proj, up_proj ← post_attention_layernorm |
| Block Size | 128 |
| Format | int-quantized (compressed-tensors) |
| Ignored Layers | lm_head, mlp.gate, mlp.shared_expert_gate |
Detailed Configuration:
{
"quant_method": "compressed-tensors",
"format": "int-quantized",
"weights": {
"num_bits": 8,
"symmetric": true,
"strategy": "channel",
"observer": "minmax"
},
"input_activations": {
"num_bits": 8,
"symmetric": true,
"strategy": "token",
"dynamic": true
}
}
[!IMPORTANT] This model requires vLLM >= 0.11.0 for inference. For Kunlun XPU, please use vllm-kunlun >= 0.11.0.
transformers >= 4.51.0vllm >= 0.11.0 (for NVIDIA GPU)vllm-kunlun >= 0.11.0 (for Kunlun XPU)With transformers<4.51.0, you will encounter the following error:
KeyError: 'qwen3'
python -m sglang.launch_server --model-path Qwen3-4B-Int8-Dynamic --reasoning-parser qwen3
Temperature=0.6, TopP=0.95, TopK=20, MinP=0. DO NOT use greedy decoding.Temperature=0.7, TopP=0.8, TopK=20, MinP=0.presence_penalty between 0–2 to reduce endless repetitions.For more details on thinking/non-thinking modes, refer to Qwen3 Documentation.
| Model | IFEval | SuperGPQA | MMMU |
|---|---|---|---|
| Qwen3-4B-Int8-Dynamic | 87.0 | 35.0 | - |