-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[https://nvbugs/6797544][feat] Unified Dspark KVCache Disagg #19441
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
Open
allisonlim-nv
wants to merge
22
commits into
NVIDIA:main
Choose a base branch
from
allisonlim-nv:feat/unified-dspark-kv-cache-disagg
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
1548780
[None][feat] Unify standalone DSpark KV ownership and transfer
allisonlim-nv 84091cb
[None][fix] Preserve standalone DSpark cache compatibility and cleanup
allisonlim-nv 5572c6e
[None][refactor] Simplify standalone DSpark cache validation
allisonlim-nv 020879b
[None][refactor] Consolidate standalone DSpark draft-cache handling
allisonlim-nv 7150956
[None][fix] Preserve DSpark draft history with default KVCache V2
allisonlim-nv 2c09cb3
[None][refactor] Minimize unified DSpark KV-cache implementation
allisonlim-nv 41ad45d
[None][fix] Resolve unified DSpark KV-cache conflicts with main
allisonlim-nv 2e8b6da
Merge branch 'main' into feat/unified-dspark-kv-cache-disagg
allisonlim-nv 1819195
Merge branch 'main' into feat/unified-dspark-kv-cache-disagg
allisonlim-nv a5d6fc5
Merge branch 'main' into feat/unified-dspark-kv-cache-disagg
allisonlim-nv 698bb93
Refactor lifeCycleRegistry to simplify SsmLayerConfig handling
allisonlim-nv 52c8e56
[None][refactor] Simplify unified draft cache helpers
allisonlim-nv 5402f0f
Merge branch 'main' into feat/unified-dspark-kv-cache-disagg
allisonlim-nv d53f771
[None][fix] Allow overlap scheduling with unified DSpark KV cache
allisonlim-nv d3e2235
Merge main into feat/unified-dspark-kv-cache-disagg
allisonlim-nv 61317e9
[None][fix] Allow chunked prefill with unified DSpark KV cache
allisonlim-nv 234ee16
[None][fix] Support CUDA graphs with unified DSpark KV cache
allisonlim-nv 3a78654
[None][fix] Enable unified DSpark block reuse and attention DP
allisonlim-nv ef8878f
Merge main into feat/unified-dspark-kv-cache-disagg
allisonlim-nv 2ebcb54
Merge branch 'main' into feat/unified-dspark-kv-cache-disagg
allisonlim-nv 99e4701
[None][refactor] Consolidate unified DSpark cache helpers
allisonlim-nv e43ad7d
Merge branch 'main' into feat/unified-dspark-kv-cache-disagg
allisonlim-nv 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: NVIDIA/TensorRT-LLM
Length of output: 17632
🏁 Script executed:
Repository: NVIDIA/TensorRT-LLM
Length of output: 42137
🏁 Script executed:
Repository: NVIDIA/TensorRT-LLM
Length of output: 31729
Add a cache-domain isolation regression test.
The existing tests do not assign different
AttentionLayerConfig.cache_domainvalues. They do not detect merging equal-layouttargetand draft layers into one hot or cold pool group. Add a KVCM V2 test that constructs equal-layout attention layers through the Python binding and asserts distinct pool-group indices at both cache levels.🤖 Prompt for AI Agents