[ROCm] Enable DeepEP ROCm as all2allbackend for AMD GPUs. (#34692)
Signed-off-by: Tej Kiran <vpolamre@amd.com> Co-authored-by: Tej Kiran <vpolamre@amd.com>
This commit is contained in:
co-authored by
Tej Kiran
parent
02eec7ecbe
commit
3982bc2cd0
@@ -346,7 +346,7 @@ class FusedMoEQuantConfig:
|
||||
|
||||
@property
|
||||
def use_fp8_w8a8(self) -> bool:
|
||||
return self.quant_dtype == torch.float8_e4m3fn
|
||||
return self.quant_dtype == current_platform.fp8_dtype()
|
||||
|
||||
@property
|
||||
def use_int8_w8a8(self) -> bool:
|
||||
@@ -566,7 +566,7 @@ def fp8_w8a8_moe_quant_config(
|
||||
Construct a quant config for fp8 activations and fp8 weights.
|
||||
"""
|
||||
return FusedMoEQuantConfig.make(
|
||||
torch.float8_e4m3fn,
|
||||
current_platform.fp8_dtype(),
|
||||
w1_scale=w1_scale,
|
||||
g1_alphas=g1_alphas,
|
||||
w2_scale=w2_scale,
|
||||
|
||||
Reference in New Issue
Block a user