Repository navigation
[None][fix] Stop scheduling cancelled disaggregated requests - #21508
chienchunhung merged 3 commits into
Conversation
|
/bot run |
|
PR_Github #82172 [ run ] triggered by Bot. Commit: |
|
PR_Github #82172 [ run ] completed with state
|
|
No actionable comments were generated in the recent review. WalkthroughThe executor identifies eligible cancelled disaggregated model requests, excludes them from scheduling, and processes their cancellation outside the previous batch. It updates overlap markers when processing the previous batch. Tests cover eligibility, batch-boundary handling, completion overlap, retries, and preparation. ChangesDisaggregated request cancellation
Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Bug fix Merge Risk:
|
Signed-off-by: Chien-Chun Hung <[email protected]>
a8a86ed to
4e6b592
Compare
|
/bot run --disable-fail-fast |
|
PR_Github #82248 [ run ] triggered by Bot. Commit: |
|
PR_Github #82248 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #82323 [ run ] triggered by Bot. Commit: |
|
PR_Github #82323 [ run ] completed with state
|
Signed-off-by: Chien-Chun Hung <[email protected]>
|
/bot run --disable-fail-fast |
|
PR_Github #82549 [ run ] triggered by Bot. Commit: |
|
PR_Github #82549 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
allisonlim-nv
left a comment
There was a problem hiding this comment.
approved with same concern as @Shixiaowei02
Signed-off-by: Chien-Chun Hung <[email protected]>
|
/bot run --disable-fail-fast |
|
PR_Github #82903 [ run ] triggered by Bot. Commit: |
|
PR_Github #82903 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #83141 [ run ] triggered by Bot. Commit: |
|
PR_Github #83141 [ run ] completed with state
|
|
Automatically added "ci: full pre-merge approved" because this PR has satisfied the required GitHub review approvals. Unresolved review conversations and other required checks remain independent merge requirements. |
|
/bot run --disable-fail-fast |
|
PR_Github #83181 [ run ] triggered by Bot. Commit: |
|
PR_Github #83181 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
2 similar comments
|
/bot run --disable-fail-fast |
|
/bot run --disable-fail-fast |
|
PR_Github #83240 [ run ] triggered by Bot. Commit: |
|
/bot run --disable-fail-fast |
|
PR_Github #83496 [ run ] triggered by Bot. Commit: |
|
PR_Github #83496 [ run ] completed with state |
Summary
Stop eligible cancelled CTX and GEN requests from entering another model batch. Keep prior model and transfer resources protected until normal cleanup can safely retire them.
Scope
No new profile activation, GPU preemption, retry coordination, connector behavior, or deadline change. This PR does not independently return logical cancellation before unresolved transfer retirement.
Verification
6fff2fdf751e09dbd59f861995654d193e145a9e: 85 cancellation regressions + 6 real-scheduler PEFT regressions passed on each of x86 and ARM CPU in CI #68465. These are executed results; later runs reuse previous CPU-stage success.git diff --checkpassed at this head. Full CI rerun requested, but CI dispatch was blocked by HTTP 503; no new Jenkins pipeline launched. The required multi-GPU approval label is present; full-CI completion remains pending.Dev Engineer Review
active_requestsuntil normal cancellation cleanup. It defers LoRA admission while a cancelled request may still hold an adapter, but allows non-PEFT requests to proceed._process_previous_batchnow clears stalepy_batch_idxvalues for requests not in the current batch. This supports resumed work using harvested host tokens rather than unrelated device output.QA Engineer Review
Per-File QA Perspective
tensorrt_llm/_torch/pyexecutor/py_executor.py— Verify that eligible cancelled requests do not enter another batch, retain resources until normal cleanup, and resume correctly after harvest. Also verify that unsupported paths and non-PEFT scheduling remain unchanged.tests/unittest/_torch/disaggregation/test_disagg_idle_cancellation.py— Adds CPU-only tests for cancellation, resource retirement, retry behavior, overlap handling, and unsupported paths. This unit-test file is not listed in the integration CI or manual-QA lists.tests/unittest/_torch/pyexecutor/kv_cache/test_kv_cache_v2_scheduler.py— Adds scheduler tests for retained LoRA adapters and admission after cleanup. This unit-test file is not listed in the integration CI or manual-QA lists.