Chapter 084 / 4
Mixture-of-Experts
Implement expert-parallel dispatch/combine with a simulated all-to-all and verify outputs
Super-hard
Implement expert-parallel dispatch/combine with a simulated all-to-all and verify outputs match a dense reference for the same routing.
Target interface
class EP_MoEImplement the function/class skeleton in the editor. Any correct approach is accepted.
Hints0 / 2
Reference solution
Your own code stays in the editor.