[ROCm][Bugfix]: W4A4 MOE using emulation instead of AITER on MXFP4-supported hardware (#41175)
Signed-off-by: Rohan138 <rohanpotdar138@gmail.com>
This commit is contained in:
@@ -252,7 +252,8 @@ def rocm_aiter_fused_experts(
|
||||
|
||||
else:
|
||||
quant_method = QuantMethod.NO.value
|
||||
# mxfp4: both w4a4 (quark) and w4a16 (oracle CK) use BLOCK_1X32
|
||||
# mxfp4 i.e. w4a4, w4a16 uses BLOCK_1X32
|
||||
# mxfp6 and mxfp8 are unsupported in AITER currently and use emulation instead
|
||||
if quant_config.use_mxfp4_w4a4 or quant_config.use_mxfp4_w4a16:
|
||||
quant_method = QuantMethod.BLOCK_1X32.value
|
||||
# w8a8 block-scaled
|
||||
|
||||
Reference in New Issue
Block a user