Fix the accuracy issue when running mxfp4 dsv3 model and enable ep (#15304)
Co-authored-by: wunhuang <wunhuang@amd.com>
This commit is contained in:
@@ -866,5 +866,6 @@ class Mxfp4DynamicQuantMoEMethod(FusedMoEMethodBase):
|
||||
else ActivationType.Gelu
|
||||
),
|
||||
doweight_stage1=False,
|
||||
expert_mask=layer.expert_mask_gpu,
|
||||
)
|
||||
return StandardCombineInput(hidden_states=output)
|
||||
|
||||
@@ -245,6 +245,7 @@ class QuarkW4A4MXFp4MoEMethod(QuarkMoEMethod):
|
||||
else ActivationType.Gelu
|
||||
),
|
||||
doweight_stage1=False,
|
||||
expert_mask=layer.expert_mask_gpu,
|
||||
)
|
||||
return StandardCombineInput(hidden_states=output)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user