Skip to content

[Bugfix][NIXL] Restore successful push completion reporting - #58188

Merged
njhill merged 2 commits into
vllm-project:mainfrom
Dao007forever:dao/fix-nixl-push-completion
Sep 23, 2026
Merged

njhill merged 2 commits into
vllm-project:mainfrom
Dao007forever:dao/fix-nixl-push-completion

Conversation

@Dao007forever

Copy link
Copy Markdown
Contributor

Purpose

After #56104, successful NIXL push WRITEs are filtered through _recving_metadata, which tracks incoming requests. Ordinary producer requests have no entry there, so they never report finished_sending after their WRITEs complete and retain source KV blocks until lease expiry. The existing test injects a consumer acknowledgment that the push implementation does not send.

Report successful outgoing requests when every WRITE handle has been released. Track outbound submission and polling failures across polls so a later successful sibling cannot hide an earlier failure. Ignore late completions for requests already retired by lease expiry, avoiding duplicate scheduler completion reports.

Regression coverage includes staggered successful WRITEs (including PP/HMA), sibling failures, submission/release failures, and completion after expiry. The preexisting lease-expiry behavior while DMA remains active is outside this change.

Duplicate-work check: searched open PRs referencing #56104 and NIXL push completion/failure, and inspected the related changes. #50754 adds decode-side notification of failed WRITE submissions; #55470 prevents deferred WRITEs after producer retirement. Neither restores producer completion reporting for successful WRITEs or tracks outgoing failures across completion polls. This follows up the already-merged #56104.

Test Plan

Run the existing push unit suite with mocked NIXL transfers. On the local macOS environment, apply the existing skip_global_cleanup marker to avoid an unrelated PyTorch MPS allocator assertion during teardown. No test bodies are skipped. The existing virtualenv interpreter was used (shown below as .venv/bin/python):

.venv/bin/python - <<'PY'
import pytest
class CpuOnlyTests:
    def pytest_collection_modifyitems(self, items):
        for item in items:
            item.add_marker(pytest.mark.skip_global_cleanup)
raise SystemExit(pytest.main(
    ['tests/v1/kv_connector/unit/test_nixl_push_connector.py', '-q'],
    plugins=[CpuOnlyTests()],
))
PY

pre-commit run --files \
  vllm/distributed/kv_transfer/kv_connector/v1/nixl/push_worker.py \
  tests/v1/kv_connector/unit/test_nixl_push_connector.py
git diff --cached --check

Test Result

  • Push unit suite on base ca831d1c55 plus this change: 84 passed.
  • Applicable pre-commit hooks and whitespace checks passed.
  • Independent AI review checked the changed lifecycle paths; its expiry/late-completion finding was fixed and covered by tests.
  • GPU/NIXL serving tests and model evaluations have not been run. These unit tests do not establish real RDMA behavior or performance.

AI assistance / draft status

AI assistance (Codex) was used to implement, test, and review this change. The tests above were run by the assistant. This PR remains a draft pending the human submitter's line-by-line review, independent test execution, and serving/model validation required by the contribution policy.

Track outbound failures across polls and submission errors. Complete healthy WRITEs without receive metadata, and suppress late completion after lease expiry.

Co-authored-by: Codex <noreply@openai.com>
Signed-off-by: Dao Le <Dao007forever@gmail.com>
@mergify mergify Bot added bug Something isn't working kv-connector labels Sep 22, 2026
@Dao007forever
Dao007forever marked this pull request as ready for review September 22, 2026 18:23

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@njhill njhill left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@njhill

njhill commented Sep 22, 2026

Copy link
Copy Markdown
Member

/ci run

@njhill njhill added the ready ONLY add when PR is ready to merge/full CI is needed label Sep 22, 2026
@github-actions

Copy link
Copy Markdown

✅ Triggered Buildkite CI #90522 for commit 8b604941b853.

@njhill
njhill merged commit c4f6ce4 into vllm-project:main Sep 23, 2026
63 checks passed
michael-gpu pushed a commit to practical-inference/vllm-ampere-extended that referenced this pull request Oct 20, 2026
…ject#58188)

Signed-off-by: Dao Le <Dao007forever@gmail.com>
Co-authored-by: Codex <noreply@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working kv-connector ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants