Repository navigation
CUDA: Qwen4 and tensor-parallel loaders drop the checkpoint's pages after every rank is ready - #1887
Conversation
|
The Windows job on Failed job and compiler diagnostics. This is from the CI log and pinned source; I have not run a local Windows build or the TP device test. |
c60da33 to
95d28e3
Compare
|
Two-GB10 run in: GLM-5.3-Flash NVFP4 at TP=2, main against this head, base-new-new-base. GREEN: 52 of 52 token cells equal, speed flat (prompt within 0.1%, decode within 0.5%), and memory available after load up by about 0.6 to 1.4 GiB, since the checkpoint's pages are dropped once every rank has loaded. The Windows build is fixed in this branch (no Linux call on other OSes' handles). It lands next. |
95d28e3 to
cb5a652
Compare
|
The rebased head Pass the checkpoint allocator ( Linux compiler diagnostics and Windows compiler diagnostics. This finding is from the CI logs and pinned source; I have not built the proposed fix or rerun the TP device check. |
|
Device run on two GB10s at TP=2 (GLM, base main vs this head, tree c26bd6f; order base, new, new, base): GREEN.
Dropping the checkpoint's pages after every rank is ready leaves output and speed unchanged. Queued to land. |
2716bb2 to
93de42d
Compare
Release Qwen4 load-only shards after placement and model metadata reads, retaining CPU embedding and PLE lookup files, companions and inode aliases. Queue original shard descriptors through every TP load-ready exchange, including side heads and vision. Suppress intermediate hash/pack range advice while loading, and close held descriptors without advice on failure.
…t's pages after every rank is ready
93de42d to
568fb9f
Compare
Follow-up to #1884 for #1868, closing the two gaps an independent review of #1884's change found.
What changes
A failed start can't hang on this. The drop never waits on its own: the waits are the existing bounded exchanges, and a rank that fails closes without dropping anything.
Checks
Replies stay the same tokens; only page-cache advice changes.