Archived
The real-container declare gate refused this container at layers 46-47: 'keeps 1 experts plain bf16 on this rank, which leaves 127 quantised'. Root cause: protected-expert counts are per-rank, and the recipe protects IN PAIRS precisely so that each rank's quantised count stays even. Expert parallelism broke that property the parity tables rest on; fixing it properly would need unequal-length weight tables, which the builder's equal-split rule refuses by design. The width split was always the right answer above two ranks and serves more ranks than the old code realised. Each parity's blocks are cut contiguously across the ranks and the rank taking the odd block alternates with the parity: at four ranks and five blocks, [0,2) [2,3) [3,4) [4,5), with the fat class rotating between the two parities so no rank takes both. Every block of every expert has exactly one owner, protected counts go back to the recipe's global even numbers, and -- because every rank still computes a slice of every routed expert -- the routing-balance cost the EP design carried disappears with it. World 2 is byte-identical: base, extra and the parity rotation reduce to the same expressions at g.world == 2. Worlds up to the block count now declare; beyond it the refusal names the reason.