Skip to content

[CI][Bugfix] Initialize _transfer_layer_group_ids in region_pull_worker fixture - #57211

Merged
robertgshaw2-redhat merged 2 commits into
vllm-project:mainfrom
vllm-agent:fix-nixl-hma-transfer-layer-group-ids
Sep 16, 2026
Merged

robertgshaw2-redhat merged 2 commits into
vllm-project:mainfrom
vllm-agent:fix-nixl-hma-transfer-layer-group-ids

Conversation

@vllm-agent

Copy link
Copy Markdown
Collaborator

Problem

Main is red on :computer: (CPU) V1 Others (builds #89375, #89376): all 7 parametrizations of test_region_pull_ignores_allocation_padding fail with

AttributeError: 'NixlPullConnectorWorker' object has no attribute '_transfer_layer_group_ids'

Root cause is a stale-base merge conflict between two PRs:

Fix

Set worker._transfer_layer_group_ids = () in the fixture — the same empty-tuple default the base-class __init__ uses, and the same value the sibling _make_mock_worker_for_desc_ids fixture already sets.

Note: not runnable locally on my box (no torch), so validation is via CI — pre-commit hooks (ruff, mypy, DCO) pass.

Signed-off-by: kimi-no-na-wa kimi-no-na-wa@users.noreply.github.com

@mergify mergify Bot added bug Something isn't working kv-connector labels Sep 16, 2026
…er fixture

PR vllm-project#57077's region_pull_worker fixture constructs NixlConnectorWorker via
object.__new__() and sets attributes manually. It does not set
_transfer_layer_group_ids, which base_worker.py:198 reads
(self._transfer_layer_group_ids) since vllm-project#50494 merged. vllm-project#57077's CI ran
against a base without vllm-project#50494, so the conflict only surfaces on main:
tests/v1/kv_connector/unit/test_nixl_connector_hma.py::test_region_pull_ignores_allocation_padding
fails 7x with AttributeError (build #89376).

Set the attribute to the empty-tuple default used by the base class
__init__ (and by the sibling _make_mock_worker_for_desc_ids fixture).

Signed-off-by: kimi-no-na-wa <kimi-no-na-wa@users.noreply.github.com>
@vllm-agent
vllm-agent force-pushed the fix-nixl-hma-transfer-layer-group-ids branch from b24e491 to 5d65955 Compare September 16, 2026 18:22
@thillai-c

Copy link
Copy Markdown
Contributor

@ApostaC @orozery @ivanium @NickLucche @xuechendi mind taking a look? This is red on main (reproduced on a clean 403f182) and failing unrelated PRs including mine (#57070). One-line fixture fix, but it needs write access to un-draft it and start CI

@vllm-agent

Copy link
Copy Markdown
Collaborator Author

/ci run

@github-actions

Copy link
Copy Markdown

❌ @vllm-agent, PR authors cannot run CI while the PR is a draft.

@thillai-c

Copy link
Copy Markdown
Contributor

@vllm-agent Please open this as a PR, not a draft.

@robertgshaw2-redhat
robertgshaw2-redhat marked this pull request as ready for review September 16, 2026 20:05

@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.

@robertgshaw2-redhat robertgshaw2-redhat added the ready ONLY add when PR is ready to merge/full CI is needed label Sep 16, 2026
@robertgshaw2-redhat

Copy link
Copy Markdown
Collaborator

/ci run

@github-actions

Copy link
Copy Markdown

✅ @vllm-agent, CI is now available for this PR.

  • /ci run starts upstream CI; /amd-ci run starts AMD CI only.
  • Your branch must contain every commit currently on its upstream target branch. Merge or rebase onto the latest target branch, then rerun the command. Append --allow-stale to a run command to test an outdated branch at your own risk.
  • /ci retry retries failed jobs in the CI build for the current PR head. If the current head has no CI build, it starts a new CI build for the current head containing only jobs that failed in the latest earlier CI build for this PR.
  • /amd-ci retry retries failed jobs in AMD CI for the current PR head. Use /amd-ci run when the current head has no AMD CI build.
  • /ci cancel cancels scheduled or running CI builds for this PR branch; /amd-ci cancel does the same for AMD CI only.

@github-actions

Copy link
Copy Markdown

✅ Triggered Buildkite CI #89432 for commit 0e63d17c9f75.

@robertgshaw2-redhat
robertgshaw2-redhat enabled auto-merge (squash) September 16, 2026 20:06
matteso1 added a commit to matteso1/vllm that referenced this pull request Sep 16, 2026
Carry the one-line fix from vllm-project#57211 (5d65955). Initialize the constructor-bypassing fixture with the production empty-tuple default; transfer behavior and test assertions are unchanged.

Signed-off-by: Nils Matteson <nilsmatteson@icloud.com>
(cherry picked from commit bf4e6c1)
matteso1 added a commit to matteso1/vllm that referenced this pull request Sep 16, 2026
Carry the one-line fix from vllm-project#57211 (5d65955). Initialize the constructor-bypassing fixture with the production empty-tuple default; transfer behavior and test assertions are unchanged.

Signed-off-by: Nils Matteson <nilsmatteson@icloud.com>
(cherry picked from commit bf4e6c1)
matteso1 added a commit to thaw-ai/vllm that referenced this pull request Sep 16, 2026
Carry the one-line fix from vllm-project#57211 (5d65955). Initialize the constructor-bypassing fixture with the production empty-tuple default; transfer behavior and test assertions are unchanged.

Signed-off-by: Nils Matteson <nilsmatteson@icloud.com>
@robertgshaw2-redhat
robertgshaw2-redhat merged commit 24a63b3 into vllm-project:main Sep 16, 2026
39 checks passed
michael-gpu pushed a commit to practical-inference/vllm-ampere-extended that referenced this pull request Oct 20, 2026
…er fixture (vllm-project#57211)

Signed-off-by: kimi-no-na-wa <kimi-no-na-wa@users.noreply.github.com>
Co-authored-by: kimi-no-na-wa <kimi-no-na-wa@users.noreply.github.com>
Co-authored-by: Robert Shaw <114415538+robertgshaw2-redhat@users.noreply.github.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.

5 participants