For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Python function
replicate_experts
replicate_experts()β
max.pipelines.lib.eplb_rebalance.replicate_experts(weight, num_phy)
Replicate num_log logical experts to num_phy physical slots.
Greedy: at each step we duplicate whichever logical expert currently has the highest per-replica load.