[xpu][rocm] Update current_platform.supports_fp8() for TritonExperts (#40132)

Signed-off-by: Hank <hcc.mayday@gmail.com>
This commit is contained in:
Hank_
2026-04-22 13:39:40 +02:00
committed by GitHub
parent ecbe42e991
commit a4905133f3
3 changed files with 6 additions and 19 deletions
+1 -1
View File
@@ -800,7 +800,7 @@ class RocmPlatform(Platform):
@classmethod
def supports_fp8(cls) -> bool:
return any(gfx in _GCN_ARCH for gfx in ["gfx94", "gfx95", "gfx12"])
return on_gfx9() or on_gfx12x()
@classmethod
def is_fp8_fnuz(cls) -> bool:
+4
View File
@@ -323,6 +323,10 @@ class XPUPlatform(Platform):
)
return "vllm.distributed.device_communicators.xpu_communicator.XpuCommunicator" # noqa
@classmethod
def supports_fp8(cls) -> bool:
return True
@classmethod
def get_default_ir_op_priority(
cls, vllm_config: "VllmConfig"