Skip to content

Commit 77fa5df

Browse files
authored
[https://nvbugs/5604136][fix] AutoDeploy: correct import for mxfp4_moe unit test (#8593)
Signed-off-by: Lucas Liebenwein <[email protected]>
1 parent ea3e0ee commit 77fa5df

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/unittest/_torch/auto_deploy/unit/multigpu/custom_ops/test_mxfp4_moe_ep.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@
55
import torch.distributed as dist
66
from _dist_test_utils import get_device_counts
77

8+
from tensorrt_llm._torch.auto_deploy.custom_ops.fused_moe.mxfp4_moe import (
9+
IS_TRITON_KERNELS_AVAILABLE,
10+
)
811
from tensorrt_llm._torch.auto_deploy.distributed.common import spawn_multiprocess_job
912

10-
# FIXME: https://nvbugspro.nvidia.com/bug/5604136.
11-
# from tensorrt_llm._torch.auto_deploy.custom_ops.mxfp4_moe import IS_TRITON_KERNELS_AVAILABLE
12-
IS_TRITON_KERNELS_AVAILABLE = False
13-
1413

1514
def _split_range_last_remainder(n: int, world_size: int, rank: int):
1615
"""[lo, hi) split along dim0; last rank gets remainder."""

0 commit comments

Comments
 (0)