Views
No views yet
mlp.gate) and the
lm_head are kept at full precision; the attention and expert projection layers
are quantized to FP8.lm_head, MoE router (re:.*mlp.gate$)HuggingFaceH4/ultrachat_200k
(train_sft), max sequence length 20481from vllm import LLM, SamplingParams
2
3llm = LLM(model="JongYeop/Qwen3-30B-A3B-FP8-W8A8")
4out = llm.generate(
5 ["Explain mixture-of-experts in one sentence."],
6 SamplingParams(temperature=0.7, max_tokens=128),
7)
8print(out[0].outputs[0].text)1quant_stage:
2 quant_modifiers:
3 QuantizationModifier:
4 ignore: ["lm_head", "re:.*mlp.gate$"]
5 config_groups:
6 group_0:
7 weights:
8 num_bits: 8
9 type: float
10 strategy: tensor
11 dynamic: false
12 symmetric: true
13 input_activations:
14 num_bits: 8
15 type: float
16 strategy: tensor
17 dynamic: false
18 symmetric: true
19 targets: ["Linear"]