Resident is not active
Resident GB must fit a socket. Active GB/token drives each memory path. MoE makes those two quantities different.
Dual-socket MoE residency
Fit is not locality. Assign every shard to one memory domain, minimize remote active reads, and expose the bandwidth path that controls the modeled ceiling.
Synthetic six-shard sample ready. Values are not a DeepSeek trace.
Analyze the packed layout, then solve the binary affinity-aware assignment and compare every modeled bandwidth path.
Resident GB must fit a socket. Active GB/token drives each memory path. MoE makes those two quantities different.
Putting a shard on socket 0 makes socket 1's requester share remote, and vice versa. The binary objective sums those active reads.
The upper bound is one divided by the largest per-token time across socket 0 memory, socket 1 memory, and the link.
Optimize a valid placement to unlock the exact JSON artifact.