Skip to content

Commit b6caf6e

Browse files
authored
suppoort expert num 3 pre rank (#4133)
1 parent d381fa8 commit b6caf6e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

custom_ops/gpu_ops/moe/ep_moe_prefill_func.cu

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
__VA_ARGS__ \
3434
break; \
3535
} \
36+
case 3: { \
37+
constexpr size_t NUM_EXPERTS_PER_RANK = 3; \
38+
__VA_ARGS__ \
39+
break; \
40+
} \
3641
case 6: { \
3742
constexpr size_t NUM_EXPERTS_PER_RANK = 6; \
3843
__VA_ARGS__ \

0 commit comments

Comments
 (0)