-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[TRTLLM-9920][feat] Add support for arbitrary KVCache transfer #13055
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Tabrizian
merged 40 commits into
NVIDIA:main
from
Tabrizian:user/imant/arbitraryKVCacheTransfer
Jul 24, 2026
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
3766c41
[None][feat] Expose DataTransceiverState via LLM API for arbitrary KV…
Tabrizian b06fc18
[none][feat] add support for arbitrary KVCache transfer
Tabrizian 1450716
[none][feat] add integration test for arbitrary KV cache transfer
Tabrizian 3fe9b6a
[none][fix] Pin reuse-tree blocks during arbitrary KV cache transfer
Tabrizian aeee58a
[none][test] use max_tokens=1 for KV cache transfer request
Tabrizian a8a597a
[none][fix] Unify block pinning into pinBlock/unpinBlock helpers
Tabrizian a52c9f5
[none][fix] Do not fabricate request ID 0 for llmRequest-agnostic tra…
Tabrizian 9031352
[none][refactor] Single source of truth for request identity in Cache…
Tabrizian 01bb2e5
[none][refactor] Pass pinnedBlockIds by reference in findBlocksInReus…
Tabrizian 5c75930
[none][fix] Do not send duplicate READY signal on reuse-tree transfer…
Tabrizian 8610911
[none][fix] Decouple measurement export from LlmRequest
Tabrizian def0509
[none][fix] Call is_generation_only_request as a method in activation…
Tabrizian 3ae8176
[none][chore] Include <optional> directly in dataTransceiver.h
Tabrizian a3c9e3a
[none][chore] Add return annotation to get_cache_transceiver
Tabrizian 83c037d
[none][fix] Propagate RPC errors from get_data_transceiver_state
Tabrizian 168fd99
[none][chore] Remove extraneous f prefix from assertion message (F541)
Tabrizian 4db0be2
[none][test] Add arbitrary KV cache transfer tests to QA core test list
Tabrizian e562d9e
[none][chore] Fix include order in dataTransceiver.cpp (clang-format)
Tabrizian 9f30754
[none][fix] Exclude request-free transfers from KV cache time capture
Tabrizian a885e10
[none][chore] Remove disagg debug logging from py_executor
Tabrizian 7ced4b7
[none][fix] Do not misroute normal transfers to the reuse-tree path
Tabrizian b3444fd
[none][refactor] Carry arbitrary-transfer intent via DataTransceiverS…
Tabrizian a049628
[none][fix] Serialize block bookkeeping against cache-transceiver thr…
Tabrizian 277c56b
Merge branch 'main' into user/imant/arbitraryKVCacheTransfer
Tabrizian b5fa342
[none][fix] Heap-allocate UCX recvConnect state to survive teardown
Tabrizian f5034ab
[none][fix] Reject partially matched blocks in reuse-tree transfer lo…
Tabrizian 5d2c70b
[none][chore] Fix stray escape introduced during merge resolution
Tabrizian b242c8f
Revert "[none][fix] Reject partially matched blocks in reuse-tree tra…
Tabrizian 5d45081
Merge branch 'main' into user/imant/arbitraryKVCacheTransfer
Tabrizian e1e5df4
[none][chore] Use renamed discardTransferState in reuse-tree miss path
Tabrizian 24ab488
Merge branch 'main' into user/imant/arbitraryKVCacheTransfer
Tabrizian 17484bb
[none][fix] Keep pinned-block release from throwing in noexcept send …
Tabrizian 1b98c46
[none][fix] Restrict reuse-tree transfer lookup to fully matched prim…
Tabrizian e1f100f
[none][chore] Log request-free transfers without a fabricated request ID
Tabrizian d5016c4
[none][test] Add arbitrary KV cache transfer coverage to cacheTransce…
Tabrizian ea660da
Merge remote-tracking branch 'tabrizian/user/imant/arbitraryKVCacheTr…
Tabrizian 12af636
[none][chore] Tighten comments to constraint statements
Tabrizian cda7caa
Merge branch 'main' into user/imant/arbitraryKVCacheTransfer
Tabrizian 045e072
[TRTLLM-9920][test] Fix ArbitraryTransferTest storage fidelity and mi…
Tabrizian 4c2c4cb
Merge remote-tracking branch 'origin/main' into user/imant/arbitraryK…
Tabrizian File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.