REGINA-106 (step5-1080ti): on the 1080 Ti host every expert miss computed
by the CPU pool degraded the logits (iq3-test20 at --expert-cache 2000
--pcie-frac 0: 51/64 top-1, mean KL 0.84; Q4 54/64, KL 0.23), DMA misses
were correct, one worker reproduced it bit for bit, --spec 1 changed it.
expert_pool_dispatch_multi (expert_source.cpp) pulled in the canonical
widths and read token t's activation at t * H (2560) and wrote its output
row at i * H, while the verify window publishes both at the layer's width
(2048): every token after the first of a group used another token's
activation and landed in another row. The dispatch now takes the width
from the layer's NativeFmt (the canonical pack keeps H), refuses a layer
the pack lacks or a width above the compiled buffers. After the fix on
VM 211 (Pascal, Zen 1): iq3-test20 / prime / psim with CPU misses 64/64,
64/64, 64/64, mean KL 1.4e-3 / 4.8e-3 / 2.0e-3; q4-test20 62/64 KL 6e-3,
q4-prime 64/64 KL 8e-4. The Codex review of 22d72e6 named this spot
(the pool test covers the pool phases, not this dispatcher).
The VRAM planner (generate.cpp), also from that review: without a
draft_vocab.bin the drafter scores with the target's head and allocates no
copy (mtp.cpp), so only its logits are charged (515 MiB returned to the
expert cache at Q4); under --kv k8v4 the drafter keeps plain INT8 K/V and
is charged as such; a context the plan lowered is now the context the
engine allocates for, said in the log.
The RAM tier: when the resident arena exceeds the host's memory limit or
available RAM (the plan's 12 GiB rung: the 4090 sweep's --ram-cap 12
points died in ArenaExpertSource), the engine takes the mapped mode with
the hottest experts copied into RAM by profile rank (--resident-experts)
itself, which is the split its plan line already assumed. The multi-GPU
expert helpers (--peer-device, --remote-expert-opt) keep the canonical
width and are refused for this model with a message.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr