We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1f848e commit 885266fCopy full SHA for 885266f
tensorrt_llm/_torch/auto_deploy/transform/library/fused_moe.py
@@ -453,12 +453,12 @@ def _apply(
453
common_ancessor2 = _find_lowest_common_ancessor(arg2_list)
454
if not common_ancessor2:
455
continue
456
- selected_experts, _ = bfs(
+ selected_experts = bfs(
457
common_ancessor2,
458
lambda node: is_op(node, torch.ops.aten.one_hot),
459
attr_next="all_input_nodes",
460
boundary=start_boundary,
461
- ).args[0]
+ )[0].args[0]
462
if not selected_experts:
463
464
0 commit comments