[Bugfix] [AITER] [ROCm] Fix Quark MoE Quant Config and AITER Fused MoE quant type logic (#27029)
Signed-off-by: vllmellm <vllm.ellm@embeddedllm.com>
This commit is contained in:
@@ -492,6 +492,8 @@ def rocm_aiter_fused_experts(
|
||||
assert quant_config.w1_scale is not None
|
||||
assert quant_config.w2_scale is not None
|
||||
quant_method = QuantMethod.BLOCK_128x128.value
|
||||
elif quant_config.use_fp8_w8a8 and quant_config.per_out_ch_quant:
|
||||
quant_method = QuantMethod.PER_TOKEN.value
|
||||
elif quant_config.use_fp8_w8a8:
|
||||
# Currently only per tensor quantization method is enabled.
|
||||
quant_method = QuantMethod.PER_TENSOR.value
|
||||
|
||||
Reference in New Issue
Block a user