Skip to content

Commit 6e9bed5

Browse files
committed
Properly export all functions
1 parent db22fce commit 6e9bed5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

flashinfer/comm/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,14 @@
4444
from .trtllm_moe_alltoall import moe_a2a_combine as moe_a2a_combine
4545
from .trtllm_moe_alltoall import moe_a2a_dispatch as moe_a2a_dispatch
4646
from .trtllm_moe_alltoall import moe_a2a_initialize as moe_a2a_initialize
47+
from .trtllm_moe_alltoall import (
48+
moe_a2a_get_workspace_size_per_rank as moe_a2a_get_workspace_size_per_rank,
49+
)
4750
from .trtllm_moe_alltoall import (
4851
moe_a2a_sanitize_expert_ids as moe_a2a_sanitize_expert_ids,
4952
)
5053
from .trtllm_moe_alltoall import (
51-
moe_a2a_get_workspace_size_per_rank as moe_a2a_get_workspace_size_per_rank,
54+
moe_a2a_wrap_payload_tensor_in_workspace as moe_a2a_wrap_payload_tensor_in_workspace,
5255
)
5356

5457
# from .mnnvl import MnnvlMemory, MnnvlMoe, MoEAlltoallInfo

flashinfer/comm/trtllm_moe_alltoall.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,4 +651,5 @@ def get_combine_payload_tensor_in_workspace(
651651
"moe_a2a_get_workspace_size_per_rank",
652652
"moe_a2a_initialize",
653653
"moe_a2a_sanitize_expert_ids",
654+
"moe_a2a_wrap_payload_tensor_in_workspace",
654655
]

0 commit comments

Comments
 (0)