Repository navigation
Conversation
5 of 6 tasks
Extract the independent fix and its regressions from vllm-project#58968. Co-authored-by: Codex <noreply@openai.com> Signed-off-by: whx-sjtu <xiaowang990929@gmail.com>
whx-sjtu
force-pushed
the
whx/mori-hybrid-read-failure-20261008
branch
from
October 12, 2026 03:41
8822a4d to
7fac33a
Compare
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.
Overview
Hybrid READ completion cleanup can discard transfer tracking, or notify P to release blocks, while another transfer remains pending. Raise
TransferErroron failure or timeout before cleanup changes ownership.Rebased onto main
bfa7e5b7afe40ebe48288801a2baf5c1135cd881. This remains an independent child of closed #58968.Claims
Successful hybrid completion and existing attention-only recovery retain their behavior.
Validation
Validated on
7fac33a0118fba54e5f83f612e40088ece8ca8d3(2026-10-12): 34 passed. Changed-file pre-commit passed, including mypy for Python 3.11 and test/CI tethering checks.The suite covers both failed/pending orders, timeout, completed transfers, a pending request at the deadline and attention-only failure. It asserts release notifications, transfer tracking and invalid-block reporting. Original October 8 negative controls (
194da61de1) gave 3 failed / 3 passing controls, versus six passing cases with the fix.No new model/RDMA run was performed. Exact-source fault-injection/teardown validation remains pending. Raising prevents this cleanup path from releasing ownership; it does not prove DMA drain or revocation.
The eight independent PRs compose on this same main. The combined CPU suite passes 344 tests, with 33 skips (32 ROCm/aiter-gated connector cases and one GPU LLM case) and one model-loading deselection. Counts overlap with the independent suites.
Details
The normal layer/step wait already raises on failed transfers. The missing guard is in
_pop_done_transfers, reached from READ completion collection. Hybrid state has no safe fallback through the attention-only invalid-block recovery path.Raising prevents this cleanup path from releasing ownership; it does not drain/revoke DMA or provide automatic recovery. Producer retention until a real ACK is separate work in #56465. That PR also modifies consumer timeout notification, so composition must preserve this hybrid exception before any timeout release. #58962 concerns WRITE consumer timeout; #60544 adds hybrid WRITE and batch waits. Neither is this READ cleanup guard. #58968 was closed after the split.
Merge danger: two-way door; blast radius: MoRIIO hybrid READ error handling. A failed hybrid transfer aborts instead of continuing with incomplete recurrent state.
#60808 moves input waits into
start_load_kv; it does not provide DMA drain/revoke or replace this completion-cleanup guard. Producer ACK retention remains separate in #56465.AI assistance was used for implementation, rebase, regression checks and this description. Human line-by-line review and the runtime acceptance items above remain pending. No performance improvement is claimed.
Pull Request Checklist
/pr-checklistskill. (Mandatory for agents, optional for humans).