Skip to content

Commit 885266f

Browse files
committed
fix unit test failures
Signed-off-by: Lucas Liebenwein <11156568+lucaslie@users.noreply.github.com>
1 parent e1f848e commit 885266f

File tree

1 file changed

+2
-2
lines changed
  • tensorrt_llm/_torch/auto_deploy/transform/library

1 file changed

+2
-2
lines changed

tensorrt_llm/_torch/auto_deploy/transform/library/fused_moe.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,12 +453,12 @@ def _apply(
453453
common_ancessor2 = _find_lowest_common_ancessor(arg2_list)
454454
if not common_ancessor2:
455455
continue
456-
selected_experts, _ = bfs(
456+
selected_experts = bfs(
457457
common_ancessor2,
458458
lambda node: is_op(node, torch.ops.aten.one_hot),
459459
attr_next="all_input_nodes",
460460
boundary=start_boundary,
461-
).args[0]
461+
)[0].args[0]
462462
if not selected_experts:
463463
continue
464464

0 commit comments

Comments
 (0)