[CI][ROCm] Deprecate DinD for MI250 test groups (#56162)

Signed-off-by: Andreas Karatzas <Andreas.Karatzas@amd.com>
Signed-off-by: Andreas Karatzas <akaratza@amd.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
This commit is contained in:
Andreas Karatzas
2026-09-18 14:13:35 -07:00
committed by GitHub
co-authored by OpenAI Codex
parent 49e0427ca5
commit 2c3fb4c545
18 changed files with 102 additions and 6 deletions
+8 -2
View File
@@ -129,8 +129,11 @@ class SiluAndMul(CustomOp):
super().__init__(compile_native=compile_native)
if (
current_platform.is_cuda_alike()
or current_platform.is_cpu()
or current_platform.is_xpu()
or (
current_platform.is_cpu()
and current_platform.get_cpu_architecture() == CpuArchEnum.POWERPC
)
):
self.op = torch.ops._C.silu_and_mul
@@ -424,8 +427,11 @@ class GeluAndMul(CustomOp):
raise ValueError(f"Unknown approximate mode: {approximate}")
if (
current_platform.is_cuda_alike()
or current_platform.is_cpu()
or current_platform.is_xpu()
or (
current_platform.is_cpu()
and current_platform.get_cpu_architecture() == CpuArchEnum.POWERPC
)
):
if approximate == "none":
self.op = torch.ops._C.gelu_and_mul