-
Notifications
You must be signed in to change notification settings - Fork 2.6k
[None][feat] DSv4 follow-up: runtime KV and cache foundations #15633
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
juney-nvidia
merged 49 commits into
NVIDIA:main
from
jiaganc:main-dsv4-cache-manager-mergeback-round2
Jul 3, 2026
Merged
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
06845db
Add KV cache v2 SWA scratch reuse
jiaganc 55e3154
[None][fix] disagg-ctx: detach kv_cache page-index buffers on early I…
jiaganc 6ad5120
[None][chore] memory observability probes for DSv4 mem-opts validatio…
jiaganc 6b6eb9d
[TRTLLM-13017][fix] disagg gen init: use prompt_len for SWA history_l…
jiaganc 00f6bd6
[None][feat] kv_cache_manager_v2: surface host-tier 'dropped before r…
jiaganc 8896601
[None][feat] Insert sync to wait prepare_inputs before update_request…
jiaganc 2d92836
[None][feat] Add per-iteration cached KV length to iter log (#14734)
jiaganc 8bb97f6
[None][perf] PyExecutor: skip empty MPI collectives in _fetch_new_req…
jiaganc 193392f
[None][fix] Remove context KV cache allocation rollback (#14849)
jiaganc cde681f
[None][feat] improve iteration stats reporting (#14897)
jiaganc fc5c0ad
[None][perf] disagg: serialize Request input_token_ids as int32 bytes…
jiaganc 4bf4703
[None][perf] executor: memcpy int32 token buffer into tle::Request ct…
jiaganc b7e5df3
[None][feat] Add V2 SWA scratch reuse config switch
jiaganc 1a7df3a
[None][fix] restore lazy iteration stats buffer creation
jiaganc 2d2cfda
[None][fix] Enable V2 KV cache stats from perf metrics
jiaganc 96045a5
[None][fix] Restore V2 context resource updates
jiaganc 02b4e4f
[None][fix] Add Request num_input_tokens accessor
jiaganc 8729444
[None][fix] Restore executor input copy wait hook
jiaganc 76e17a6
[None][fix] Drop extra input copy wait
jiaganc de1cd8d
[TRTLLM-12229][perf] Optimize DSV4 block table copy paths (#14338)
jiaganc 7a3cfa5
[TRTLLM-12229][fix] Fix MTP by scratch reuse rewind (#14403)
jiaganc 35b0f36
[None][feat] add DSV4 KV cache pool ratio config (#14623)
jiaganc 72c99b4
[TRTLLM-13017][fix] consolidate disagg gen init KV setup into prepare…
jiaganc b739cc2
[TRTLLM-12229][perf] Cache scratch memory optimization for DSv4 (#14564)
jiaganc cabfe34
[None][fix] Fix kv cache manager v2 size estimation (#14698)
jiaganc 9135dc7
[None][fix] Fix KV cache size estimation limits (#15091)
jiaganc 6d5e751
[None][feat] Add KV cache block reuse policy (#15046)
jiaganc e40f597
[None][fix] Fix V2 context finalization ordering (#15307)
jiaganc 9d24c98
[None][perf] Use debug NVTX ranges in DSv4 cache manager
jiaganc 766cc99
[None][refactor] Inline KV cache pool mapping setup
jiaganc 25917f5
[None][test] Remove DSv4 Flash disaggregated accuracy tests
jiaganc 18f7e57
[None][test] Remove chat prompt token regression tests
jiaganc 10c1855
[None][revert] Revert OpenAI iteration stats changes
jiaganc 67f6023
[None][doc] Document iteration stats buffer assumption
jiaganc 1007542
[None][fix] Bound batched executor stats retention
jiaganc e7db96e
[None][fix] Validate serialized request token buffer
jiaganc 935513c
[None][fix] Refresh cached KV stats for incremental updates
jiaganc 6f55ca1
[None][test] Cover VisualGen iteration stats endpoint
jiaganc ba04cd4
[None][fix] Address disaggregated transfer review findings
jiaganc 8dc25a3
Merge branch 'main' into main-dsv4-cache-manager-mergeback-round2
jiaganc 9d97f77
[None][chore] Document prompt token buffer sync invariant
jiaganc 52a2e5f
[None][test] Fix KV cache budget split fixture
jiaganc 58ebb31
[None][fix] Guard input-copy wait for non-PyTorch engines
jiaganc 60313fe
[None][fix] Restore V2 context rollback paths
jiaganc a2af07e
[None][fix] Handle unbounded iter stats buffer
jiaganc 56168b5
[None][fix] Remove dead DSV4 staging tensors
jiaganc ccdf441
Merge branch 'main' into main-dsv4-cache-manager-mergeback-round2
jiaganc 593c28b
Merge remote-tracking branch 'upstream/main' into main-dsv4-cache-man…
jiaganc 3956a85
[None][fix] Fix V2 cache setup in transceiver harness
jiaganc 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
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.