Repository navigation
CUDA on GB10: count the checkpoint's cached pages as room instead of dropping them - #4427
Merged
Merged
Conversation
ashhart
force-pushed
the
lead/gb10-budget-cached
branch
from
November 22, 2026 04:00
1e7b149 to
8e83ad0
Compare
This was referenced Nov 22, 2026
CUDA free alone no longer caps the unified host pool: clean pages cached by a just-read checkpoint count as room. Update the parked-share and GB10 fixture expectations to poolFor's arithmetic; leave the supplied engine commits unchanged.
ashhart
force-pushed
the
lead/gb10-budget-cached
branch
from
November 22, 2026 06:45
8e83ad0 to
9e1ec0a
Compare
This was referenced Nov 22, 2026
Merged
ashhart
added a commit
that referenced
this pull request
Nov 22, 2026
Unreleased: the five (#N) placeholders get their PR numbers, the two (#PR) duplicates go, #3192's line goes (#4427 replaced that behaviour on main and its line refs #3192), #3960 is named as the PR that landed #2799, and the penalty under --instruct-sampling card; ?token= Web addresses and pull's digest and size checks). Sixteen PRs merged 20-21 Nov with no line anywhere: a blank lines file replaced each PR's own line at landing. #4321 and #4322 go under Unreleased, the twelve that shipped in 1.3.3 under 1.3.3, and the two 1.3.1 lines that carried no PR number get #3941 and #4022. docs/environment.md: Flash Next checks 37 settings, and TF_GLM_INDEX_SPLIT (registered by #4510) gets its row.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
#3192 (on main, left out of 1.3.3) set a GB10's start-up budget to
min(MemAvailable + parked, CUDA free) - reserveand dropped the checkpoint's shards from the page cache before the load, so a just-read checkpoint was not refused for its own cached pages (#1857). On a GB10 with Flash Next NVFP4 it then refused--parallel 8at a 73,728-token window that 1.3.2 serves (budget 18.14 GiB against 19.94 needed, 19.60 on another box), and the first cold 32K prompt after start was 5.4% slower.This keeps #1857 fixed without either regression:
min(MemAvailable + parked, CUDA free + checkpoint_bytes) - reserve, wherecheckpoint_bytesis the rank's own weight bytes, whichfamily_memory.weightsalready computes. The checkpoint's clean cached pages are counted back as room instead of being dropped, so the answer no longer depends on what the page cache holds at that instant.pool/poolForkeep their old behaviour for every other caller.Checks on this head
test-cuda-hostandtest-cuda-startup-costs-hostpass, with a new regression test for a just-read 60 GiB checkpoint and one that the 1.3.2 configuration keeps its budget.Not run yet
--parallel 8at a 73,728-token window starts, and the cold 32K prompt matches 1.3.2. This PR stays out of the landing queue until both hold.