Repository navigation
modelopt_local: keep native MXFP8 modules off the shard slab (#308 decode regression) - #314
Conversation
#308 let the fast loader upload native MXFP8 modules through the shard path, so they sat at interior offsets of a shard slab. On Qwen3.8-Flash-Next (qwen4_exp, two DGX Sparks) that cost about 1% of decode. Bisected on the pair, 3 fresh boots per arm, n=9: deferring the natives to `materialize` again (its own allocation per module) recovered decode +0.5..1.0% and C1/C2/C4 +0.9..1.5%, with identical logits (KL 0) and nearly all of the boot win kept. Deferring the CSF streams again recovered nothing. `deferred_modules` is `host_decode_modules` again; `materialize`'s native-upload path is unchanged. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
Pair gate on this head (
|
|
Follow-up data point on the live profile (two DGX Sparks, TP2, Qwen3.8-Flash-Next-FP4-Local, the 8x262k SparkQwen config: prefix caching on, MTP depth 7, On this profile the decode recovery holds: decode code 56.9 / JSON 63.9 / prose 55.8 tok/s, with C1/C2/C4/C8 at 35.2/63.4/90.1/134.1 tok/s. No decode deficit is visible against the pre-#308 base — consistent with the bisect conclusion that keeping the native MXFP8 modules off the shard slab recovers the cost, on a different (spark, high-lane) profile than the 8x32k Strict arm in the test plan. Single arm; caveats as on #308. |
Summary
#308 lets the fast loader upload native MXFP8 modules through the shard path, so they end up at interior offsets of a shard slab. On Qwen3.8-Flash-Next (qwen4_exp, two DGX Sparks) that cost about 1% of decode, with identical logits. Details are on #308.
This keeps the native set deferred to
materialize, which gives each module its own allocation:deferred_modulesishost_decode_modulesagain;materialize's native-upload path is unchanged;Bisect that motivates it
Setup: main
9571227, 3 fresh boots per arm, interleaved; n=9 per decode cell and n=6 per concurrency cell. Receipts are in reiner's~/code/night1027/out/bisab-308/.Test plan
deferred_modules_keep_native_modules_off_the_slaband asserts that the natives are deferred.8ad9c3c3d: 3-boot interleaved decode and concurrency A/B plus KL, running as job 01084-nmab.Generated with Devin