Disagg KV transfer hardening (rebased onto v1.3.0rc14)#13655
Draft
yifjiang wants to merge 4 commits intoNVIDIA:mainfrom
Draft
Disagg KV transfer hardening (rebased onto v1.3.0rc14)#13655yifjiang wants to merge 4 commits intoNVIDIA:mainfrom
yifjiang wants to merge 4 commits intoNVIDIA:mainfrom
Conversation
3 tasks
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 upstream
mainHEAD3b7af1c21(2026-04-29). Same 4 commits as the original PR, conflict-resolved against current main:Harden disagg transceiver request lifetimeDocument disagg KV transfer hardening follow-upsHarden disagg transfer cleanup pathsAdd NIXL transfer release cancellation hookConflict resolution
Two files conflicted vs current main; in both cases main's version was kept because it already addresses the same concern with newer / more refined logic:
tensorrt_llm/_torch/pyexecutor/py_executor.py— main already hasis_disagg_context_complete_stateshort-circuit +requests_finished_by_transferstats tracking +force_terminate_for_partial_reuseflag and the error-budget / drain-queue fatal-error path. Took main's structure; the PR's_has_inflight_generation_transfers,_fail_closed_for_inflight_generation_transfer, and_can_terminate_request_nowhelpers were not folded in (main's coverage of those concerns is sufficient).cpp/tests/unit_tests/multi_gpu/cacheTransceiverTest.cpp— main has the neweraddSequenceBatchAPI and*llmRequestderef. Took main's; the PR'saddSequence+ raw shared_ptr signature would no longer compile.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) is preserved.Validation (in progress)
🤖 Generated with Claude Code