cookbook: support NVMe canonical CPU cache - #89
Draft
nanjiangwill wants to merge 4 commits into
Draft
Conversation
nanjiangwill
force-pushed
the
codex/cpu-cache-nvme-canonical
branch
from
July 29, 2026 05:20
102e86c to
3b3be5a
Compare
nanjiangwill
force-pushed
the
codex/cpu-cache-nvme-canonical
branch
from
July 29, 2026 05:26
3b3be5a to
99ae141
Compare
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 changed
--cpu-weight-cache-canonical-checkpoint-dir.Why
CPU-prepared updates need rank-ready images resident for the short CPU-to-GPU engine pause, but the canonical Hugging Face checkpoint is only used during background reconstruction and compilation. Large models can place that canonical image on host-local NVMe to trade preparation latency and local I/O for substantially lower persistent host RAM without adding another update mode or RPC.
Dependencies
This draft temporarily pins:
After those PRs are rebased into their stable branches, this PR must replace the feature pins and commit table with the resulting stable commit IDs before it is ready to merge.
Validation
uv run ruff check .uv run pytest -q(80 passed)