[ROCm][Bugfix] Gate AITER MXFP8 MoE on the aiter enable flag (#57426)

Signed-off-by: Rohan Potdar <rohan.potdar@amd.com>
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Rohan Potdar
2026-09-18 00:06:05 +00:00
committed by GitHub
co-authored by Claude
parent 48f663c37f
commit 213c379fca
3 changed files with 24 additions and 75 deletions
-15
View File
@@ -111,11 +111,6 @@ def test_mxfp8_aiter_requires_swigluoai_activation(
"_supports_current_device",
staticmethod(lambda: True),
)
monkeypatch.setattr(
aiter_mxfp8_moe,
"is_aiter_mxfp8_moe_available",
lambda: True,
)
config = FusedMoEConfig(
num_experts=8,
@@ -164,11 +159,6 @@ def test_mxfp8_aiter_requires_swigluoai_params(
"_supports_current_device",
staticmethod(lambda: True),
)
monkeypatch.setattr(
aiter_mxfp8_moe,
"is_aiter_mxfp8_moe_available",
lambda: True,
)
config = FusedMoEConfig(
num_experts=8,
@@ -218,11 +208,6 @@ def test_mxfp8_aiter_accepts_swigluoai_params(
"_supports_current_device",
staticmethod(lambda: True),
)
monkeypatch.setattr(
aiter_mxfp8_moe,
"is_aiter_mxfp8_moe_available",
lambda: True,
)
config = FusedMoEConfig(
num_experts=8,