flashinfer.moe_ep: Expert-Parallel Communication¶
A MoEEpCommunication dispatches each token to the ranks that own its
experts and combines the expert outputs back on the token’s source rank.
create_communication() builds one from a BootstrapConfig, which
describes the expert-parallel group, and a backend config; the backends below
run over NVLink (MNNVL) symmetric memory.
|
Inputs each backend needs to construct a Fleet. |
|
Self-contained MoE expert-parallel dispatch/combine backend. |
|
EP sizing shared by every communication backend. |
|
Rank-major receive buffers produced by |
|
Rank-major dispatch/combine with NVLink one-sided put/get kernels. |
|
Options of |
|
Rank-major dispatch/combine with the generated Cake kernels. |
|
Options of |
|
Rank-major dispatch/combine with NVLink two-sided all-to-all-v kernels. |
|
Options of |
|
Instantiate the registered communication backend named by |