[Model] support mode config for expert_dispatch (#5748)

This commit is contained in:
Longzhi Wang
2025-12-29 13:37:20 +08:00
committed by GitHub
parent 8ee055aafc
commit 11329ee35e
@@ -53,6 +53,11 @@
__VA_ARGS__ \
break; \
} \
case 10: { \
constexpr size_t NUM_EXPERTS_PER_RANK = 10; \
__VA_ARGS__ \
break; \
} \
case 16: { \
constexpr size_t NUM_EXPERTS_PER_RANK = 16; \
__VA_ARGS__ \