Repository navigation
fix(kvflash): skip the page-stream sync when only host tensors are attached - #886
Merged
Merged
Conversation
…tached #854 made a failed cudaStreamSynchronize abort, and synced the default stream whenever any KV tensor was attached. #848's pager serde and truncate tests attach CPU-backend tensors with pageable host backing on hosted CI, where the stub driver fails cudaStreamCreate and every sync. Host tensors are paged with memcpy, so nothing is ever queued for them: only sync when a page stream exists or a device tensor is attached. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
There was a problem hiding this comment.
No issues found across 1 file
Tip: Get a Slack DM when cubic finishes reviewing your PRs. Connect Slack
View guided diff | Re-trigger cubic
davide221
added a commit
to dusterbloom/lucebox-hub
that referenced
this pull request
Oct 24, 2026
Co-Authored-By: Claude Opus 5.5 <[email protected]>
davide221
added a commit
to dusterbloom/lucebox-hub
that referenced
this pull request
Oct 24, 2026
…estore) into kvflash pooled grid branch Co-Authored-By: Claude Opus 5.5 <[email protected]>
davide221
added a commit
to dusterbloom/lucebox-hub
that referenced
this pull request
Oct 24, 2026
…estore) into kvflash session restore branch Co-Authored-By: Claude Opus 5.5 <[email protected]>
davide221
added a commit
to dusterbloom/lucebox-hub
that referenced
this pull request
Oct 24, 2026
…t pool layout restore) into kvflash turn checkpoints branch Luce-Org#852 carried the pre-10-23 Luce-Org#848-Luce-Org#851 chain, which conflicted with the rebased Luce-Org#851 in 10 files. This tree is the new Luce-Org#851 branch plus this PR's own commits (046516e, d664068, 0e2ff1b, b3ebe9b) re-applied, all clean; 342f22d duplicates Luce-Org#851's 784e521 and is already there. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 24, 2026
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.
Main CI is red since #848 (0711d4c): the hosted Build job aborts 22 KvflashPagerSerde/Truncate unit tests with
cudaStreamSynchronize(page) failed: CUDA driver is a stub library.Cause: #854 made a failed page-stream sync abort, and synced the default stream whenever any KV tensor was attached. #848's pager tests attach CPU-backend tensors with pageable host backing on the stub-driver runner, where
cudaStreamCreateand every sync fail. Each PR passed CI alone.Fix: host tensors are paged with memcpy, so nothing is queued for them.
sync_page_stream_()now syncs only when a page stream exists or a device tensor is attached. GPU paths are unchanged (device tensors still sync and still abort on error).🤖 Generated with Claude Code