Sponsored by
Vmake Labs Video Enhancer
-Vmake Labs Video Enhancer uses AI to improve video quality, restore details, reduce blur, and upscale videos to 8K.
This model was built from the Qwen3-30B-A3B-Thinking-2507 model by applying
AMD-Quark
for FP8 per-tensor quantization.
Model Quantization
The model was quantized from
Qwen/Qwen3-30B-A3B-Thinking-2507
using
AMD-Quark
. Both weights and activations are quantized to FP8 (E4M3) with per-tensor granularity using static calibration.
Quantization scripts:
# pip install amd-quarkfrom transformers import AutoTokenizer, AutoModelForCausalLM
from quark.torch import ModelQuantizer, export_safetensors
from quark.torch.quantization import FP8E4M3PerTensorSpec
from quark.torch.quantization.config.config import Config, QuantizationConfig
ckpt_path = "Qwen/Qwen3-30B-A3B-Thinking-2507"
exclude_layers = ["lm_head", "*mlp.gate"]
output_dir = ckpt_path.rstrip("/").split("/")[-1] + "-FP8"# Load the original floating-point model
model = AutoModelForCausalLM.from_pretrained(ckpt_path, device_map="auto", torch_dtype="auto", trust_remote_code=True)
model.eval()
tokenizer = AutoTokenizer.from_pretrained(ckpt_path)
# Set the quantization configuration
FP8_PER_TENSOR_SPEC = FP8E4M3PerTensorSpec(is_dynamic=False).to_quantization_spec()
W_FP8_A_FP8_PER_TENSOR_CONFIG = QuantizationConfig(input_tensors=FP8_PER_TENSOR_SPEC, weight=FP8_PER_TENSOR_SPEC)
quant_config = Config(global_quant_config=W_FP8_A_FP8_PER_TENSOR_CONFIG, exclude=exclude_layers)
# Apply quantization
quantizer = ModelQuantizer(quant_config)
model = quantizer.quantize_model(model)
# Export quantized model
model = quantizer.freeze(model)
export_safetensors(model, output_dir)
tokenizer.save_pretrained(output_dir)
Accuracy
Benchmark
Qwen3-30B-A3B-Thinking-2507 (BF16)
Qwen3-30B-A3B-Thinking-2507-FP8 (this model)
GSM8K (5-shot, 1319 questions)
0.836
0.872
Reproducing the evaluation:
# Start the vLLM server
vllm serve amd/Qwen3-30B-A3B-Thinking-2507-FP8 \
--max-model-len 4096 \
--trust-remote-code
# Run the GSM8K evaluation (from the vLLM repo)
python tests/evals/gsm8k/gsm8k_eval.py \
--num-shots 5 \
--num-questions 1319 \
--max-tokens 1024
License
Modifications Copyright(c) 2025 Advanced Micro Devices, Inc. All rights reserved.
Runs of amd Qwen3-30B-A3B-Thinking-2507-FP8 on huggingface.co
900
Total runs
-28
24-hour runs
-58
3-day runs
285
7-day runs
178
30-day runs
More Information About Qwen3-30B-A3B-Thinking-2507-FP8 huggingface.co Model
More Qwen3-30B-A3B-Thinking-2507-FP8 license Visit here:
Qwen3-30B-A3B-Thinking-2507-FP8 huggingface.co is an AI model on huggingface.co that provides Qwen3-30B-A3B-Thinking-2507-FP8's model effect (), which can be used instantly with this amd Qwen3-30B-A3B-Thinking-2507-FP8 model. huggingface.co supports a free trial of the Qwen3-30B-A3B-Thinking-2507-FP8 model, and also provides paid use of the Qwen3-30B-A3B-Thinking-2507-FP8. Support call Qwen3-30B-A3B-Thinking-2507-FP8 model through api, including Node.js, Python, http.
Qwen3-30B-A3B-Thinking-2507-FP8 huggingface.co is an online trial and call api platform, which integrates Qwen3-30B-A3B-Thinking-2507-FP8's modeling effects, including api services, and provides a free online trial of Qwen3-30B-A3B-Thinking-2507-FP8, you can try Qwen3-30B-A3B-Thinking-2507-FP8 online for free by clicking the link below.
amd Qwen3-30B-A3B-Thinking-2507-FP8 online free url in huggingface.co:
Qwen3-30B-A3B-Thinking-2507-FP8 is an open source model from GitHub that offers a free installation service, and any user can find Qwen3-30B-A3B-Thinking-2507-FP8 on GitHub to install. At the same time, huggingface.co provides the effect of Qwen3-30B-A3B-Thinking-2507-FP8 install, users can directly use Qwen3-30B-A3B-Thinking-2507-FP8 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Qwen3-30B-A3B-Thinking-2507-FP8 install url in huggingface.co: