Downloads · 30 days
19
5% of all-time downloads
bash99/Qwen3-30B-A3B-Instruct-2507-FP8-Dynamic
Qwen3-30B-A3B-Instruct-2507-FP8-Dynamic is a text generation model from bash99. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
- Model Architecture: Qwen3MoeForCausalLM - Input: Text - Output: Text - Model Optimizations: - Activation quantization: FP8 - Weight quantization: FP8 - Intended Use Cases: - Function calling. - Subject matter expert…
Downloads · 30 days
19
5% of all-time downloads
All-time downloads
414
Public
Parameters
30.6B
31.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors31.2 GB · 100%
How the weights are stored.
F8_E4M329.9B · 98%
From the Hugging Face model README
Quantized version of Qwen/Qwen3-30B-A3B-Instruct-2507.
This model was obtained by quantizing the weights and activations of Qwen/Qwen3-30B-A3B-Instruct-2507 to FP8 data type. This optimization reduces the number of bits per parameter from 16 to 8, reducing the disk size and GPU memory requirements by approximately 50%. Only the weights and activations of the linear operators within transformers blocks of the language model are quantized.
It's running faster than Qwen/Qwen3-30B-A3B-Instruct-2507-FP8 in vLLM/sglang in 4090 or H100, with no diffrence on model ability on most benchmarks.
You may need to tune moe for best performance with vllm or sglang, almost same as Qwen3-Next guid on vllm
vllm serve bash99/Qwen3-30B-A3B-Instruct-2507-FP8-Dynamic --tensor_parallel_size 2
This model was quantized using the llm-compressor library as shown below.
<details> <summary>Creation details</summary>from transformers import AutoProcessor, AutoModelForCausalLM, AutoTokenizer
from llmcompressor import oneshot
from llmcompressor.modifiers.quantization import QuantizationModifier
import sys
MODEL_ID = sys.argv[1]
# Load model.
model = AutoModelForCausalLM.from_pretrained(
MODEL_ID, device_map="auto", torch_dtype="auto"
)
processor = AutoProcessor.from_pretrained(MODEL_ID)
# Configure the quantization algorithm and scheme.
# In this case, we:
# * quantize the weights to fp8 with per channel via ptq
# * quantize the activations to fp8 with dynamic per token
recipe = QuantizationModifier(targets="Linear",scheme="FP8_DYNAMIC",
ignore=["re:.*lm_head", "re:visual.*", 're:.*mlp.gate$', 're:.*mlp.shared_expert_gate$', 're:.*router$']
)
# Apply quantization and save to disk in compressed-tensors format.
SAVE_DIR = MODEL_ID + "-FP8-Dynamic"
oneshot(model=model, recipe=recipe, output_dir=SAVE_DIR)
processor.save_pretrained(SAVE_DIR)
print(f"========== quantizeing to {SAVE_DIR}, done ==============")
python quantize_tofp8.py Qwen/Qwen3-30B-A3B-Instruct-2507-FP8
</details>