Disagg KV transfer hardening (rebased onto v1.3.0rc13)#13661
Draft
yifjiang wants to merge 4 commits intoNVIDIA:mainfrom
Draft
Disagg KV transfer hardening (rebased onto v1.3.0rc13)#13661yifjiang wants to merge 4 commits intoNVIDIA:mainfrom
yifjiang wants to merge 4 commits intoNVIDIA:mainfrom
Conversation
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.
Summary
Rebase of #13495 onto the
v1.3.0rc13release tag (b9ce4b69d, 2026-04-26). Same 4 commits as the original PR:Harden disagg transceiver request lifetimeDocument disagg KV transfer hardening follow-upsHarden disagg transfer cleanup pathsAdd NIXL transfer release cancellation hookThis rebase pairs with ai-dynamo/dynamo#8870 (which bumps dynamo's stock pin from rc11 → rc13 — first published rc tag with #12976's admission fix). Together they enable a dynamo image that has both PR #12976's admission fix (in rc13) and PR #13495's NIXL release cancellation hook (this branch), without needing to chase TRT-LLM main HEAD.
A separate version of this PR rebased onto current TRT-LLM
main(3b7af1c21) is at #13655.Conflict resolution
Only 1 file conflicted vs rc13:
tensorrt_llm/_torch/pyexecutor/py_executor.py. Two conflict regions, both took--ours(rc13 base):is_disagg_context_complete_stateshort-circuit +requests_finished_by_transferstats tracking +force_terminate_for_partial_reuseflag (these landed independently between rc11 and rc13). The PR'spass-only handling of the same state would lose the stats tracking, so taking rc13 is strictly more._has_inflight_generation_transfers/_fail_closed_for_inflight_generation_transferhelpers, which were not folded in.The C++ runtime fix in
tensorrt_llm/_torch/disaggregation/nixl/_agent_py.py(def release(self): self.handle.release()with theFailed to release NIXL transfer handlelog line) is preserved verbatim — verified by extracting from the built wheel.Net diff vs rc13: +321 / -34 across 11 files.
Validation (in progress)
🤖 Generated with Claude Code