Repository navigation
[TRTLLM-16288][feat] Integrate sparse KV offload for DeepSeek-V4 Flash and GLM5.2 on KVCM2 #21350
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
cascade812
wants to merge
13
commits into
NVIDIA:main
Choose a base branch
from
cascade812:guiju/sparse-kv-offload
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.
+13,953
−3,875
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
4bfc390
[TRTLLM-16282][feat] Integrate sparse KV offload for DeepSeek-V4 and …
cascade812 a9862f2
[TRTLLM-16282][test] Stop passing is_decoding to _KVCache.resume in t…
cascade812 84b8c00
[TRTLLM-16282][fix] Address the review findings on sparse KV offload
cascade812 99df0cd
[TRTLLM-16282][chore] Remove the benchmark-only transfer TTL and dete…
cascade812 bcf6df1
[TRTLLM-16282][test] Add disaggregated sparse KV offload E2E tests fo…
cascade812 efe1e2e
Merge remote-tracking branch 'origin/main' into guiju/sparse-kv-offload
cascade812 2b91474
[TRTLLM-16282][test] Give the Helix KV-transfer test fakes a VRAM poo…
cascade812 1f09b8f
[TRTLLM-16288][test] Restore real admission in disagg receive orderin…
cascade812 b33e1f4
[None][fix] Restore auxiliary KV pool selection for DSA FMHA
cascade812 fd1c0ba
[TRTLLM-16282][perf] Enable THP by default for host KV pools
b10d99c
[TRTLLM-16282][fix] Size sparse-offload pools at decode block boundaries
2b3aa21
Merge origin/main into guiju/sparse-kv-offload
50e1e45
[None][fix] Restore sparse indexer defaults and refine offload coverage
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
388 changes: 208 additions & 180 deletions
388
cpp/tensorrt_llm/batch_manager/kv_cache_manager_v2/SPARSE_ATTENTION_DESIGN.md
Large diffs are not rendered by default.
Oops, something went wrong.
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.
These clock writes still precede the publication guard. Please move them below the guard so a rejected second publish cannot modify staging during the previous upload. Extend the rejection test to verify that both clock values remain unchanged.