Skip to content

build: bump nixl to 1.5.2 for vLLM 0.33's NixlConnector - #5350

Merged
yuki-97 merged 4 commits into
NVIDIA-NeMo:mainfrom
shikicloud:build/nixl-1.5.2
Dec 2, 2026
Merged

yuki-97 merged 4 commits into
NVIDIA-NeMo:mainfrom
shikicloud:build/nixl-1.5.2

Conversation

@shikicloud

@shikicloud shikicloud commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor
  • I, the PR author, have personally reviewed every line of this PR.

What and why

vLLM 0.33 (the version main pins) refuses to build its NixlConnector with nixl older than 1.5.0, and main pins nixl==1.3.0:

NIXL >= 1.5.0 is required, but nixl==1.3.0 is installed

So vLLM prefill/decode disaggregation (#4920) cannot start on the current pin. This PR bumps nixl to 1.5.2. It is split out of #4920 at review's request, so the dependency change gets its own image build and test run.

Changes:

  • pyproject.toml: nixl==1.3.0 → nixl==1.5.2.
  • uv.lock: only the nixl, nixl-cu12 and nixl-cu13 entries (specifier, version, wheel lines).
  • docs/design-docs/dynamo-integration.md: the note on ai-dynamo's nixl_telemetry plugin names the new pin (re-check below).

Not changed: docker/Dockerfile still builds NIXL v1.4.0 from source for the TRT-LLM wheel. The pip package and that build already differ on main (since #4358).

Issues

None.

Convergence / perf / functionality proof

Check nixl 1.3.0 nixl 1.5.2
nixl-marked data-plane unit tests (test_tq_nixl*.py, test_ssd_checkpoint_e2e.py) 36/36 pass 36/36 pass
vLLM 0.33 NixlConnector start fails with the error above starts
GRPO with vLLM prefill/decode disaggregation, 100 steps on GB200 (results in #4920) cannot start matches the aggregated baseline
TransferQueue nixl backend, tests/functional/grpo_dp_nixl_tq_recovery.sh (default and nixl_ssd), GB200 with RDMA, NEMO_RL_REQUIRE_NIXL=1, on this branch with main merged not run both pass
uv lock --check (uv 0.13.6) n/a passes; also the CI lock check
  • nixl_telemetry re-check (the Dynamo design doc asks for one when nixl moves): I compared the nixl sources at v1.3.0 and v1.5.2. The agent's NIXL_TELEMETRY_ENABLE handling is identical and the NOP exporter is still registered, so what the plugin does is unchanged. This is a source comparison, not a run.
  • Not run locally: checkpoint-engine refit over NIXL (grpo_nixl_non_colocated.sh; my image has no Automodel environment), TRT-LLM disaggregation on 1.5.2, x86_64, and the tq_nixl nightly recipes. The lock entries were edited by hand to keep the diff to nixl (a full relock in my environment also touched unrelated packages); uv lock --check passes on them. The rest is left to this PR's L1 CI.

Needs upstream changes

None.

PR commands and CI
  • CI label, exactly one:
    • CI:Lfast: the default for most PRs. Runs a fast test subset.
    • CI:L1: dependency or container changes (pyproject.toml, uv.lock, Dockerfile) or broad core changes. Builds a new image and runs unit and functional tests.
    • CI:docs: docs-only changes. Runs doc tests only.
  • /ok to test <full-commit-sha>: start CI for that commit. Post again after each push.
  • /review: automated review comments. Add mode=strict for a stricter review, reset=true for a fresh full review.
  • /resolve-conflict: Autobot merges main into this PR and resolves the conflicts. PRs from forks must allow edits by maintainers.
  • Locally: /review-pr-team <pr-number> for a team review before you ask for human review.
  • Contributor guidelines

🤖 Generated with Claude Code

vLLM 0.33 refuses to build its NixlConnector with nixl < 1.5.0, so
prefill/decode disaggregation cannot start on the current pin
(`NIXL >= 1.5.0 is required, but nixl==1.3.0 is installed`).

Only the nixl, nixl-cu12 and nixl-cu13 entries of uv.lock change. The
nixl-marked data-plane unit tests pass on both 1.3.0 and 1.5.2.

The Dynamo design doc asks to re-check ai-dynamo's nixl_telemetry plugin
when nixl moves. The agent's NIXL_TELEMETRY_ENABLE handling and the NOP
exporter are the same in nixl v1.3.0 and v1.5.2, so the doc keeps its
statement and now names 1.5.2.

Signed-off-by: Shiki Wu <[email protected]>
@copy-pr-bot

copy-pr-bot Bot commented Nov 21, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions github-actions Bot added CI:L1 Run doctests, unit tests, and functional tests Documentation Improvements or additions to documentation and removed CI:L1 Run doctests, unit tests, and functional tests labels Nov 21, 2026
@RayenTian

Copy link
Copy Markdown
Contributor

Thanks for adding this @shikicloud . Would you please self review this PR and trigger L1 CI test for this PR? Thanks a lot!

@RayenTian RayenTian added the CI:L1 Run doctests, unit tests, and functional tests label Nov 23, 2026

@shikicloud shikicloud left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Two things before merge:

  1. The full L1 test tier has not run yet. This PR did not cause that. RayenTian re-added CI:L1 at 08:49:28Z, so the label is on the PR now. One step is left: once the PR is vetted, post /ok to test c3057d3ad1aa7a07ae0c0bff3d4c0da4d8ee5d05. Why the label went missing: the ci-label bot added CI:L1 (run). One second later the "Pull Request Labeler" workflow (labeler.yaml#L25) replaced the whole label set. The labeler reads the labels when it starts and writes them back with one call that replaces all of them (labeler.ts#L61-L80, labeler.ts#L337-L346). A new push can hit the same race and remove CI:L1 again. The race likely hits other PRs that match a labeler glob too. That is worth its own issue, not part of this PR.
  2. (C1) The description lists uv lock --check as not run, but CI's lock check passed on this head. Update the "Not run" bullet.

Once CI:L1 runs, it covers checkpoint-engine refit over NIXL (L1_Functional_Tests_GRPO_2.sh#L41 → grpo_nixl_non_colocated.sh) and NIXL data-plane recovery (L1_Functional_Tests_SingleController_3.sh#L51-L52). TRT-LLM disaggregation does not use the pip nixl: it uses the NIXL v1.4.0 that the Dockerfile builds from source and bundles into the TRT-LLM wheel (Dockerfile#L482), so this bump does not reach it.

The change itself is right. vLLM 0.33.0 calls check_nixl_version("1.5.0") when the NIXL connector worker starts (base_worker.py#L613; the check: nixl_utils.py#L95-L110), so on main PD disaggregation cannot start. None of the nixl Python calls NeMo-RL makes changed between 1.3.0 and 1.5.2 (checkpoint_engines/nixl.py#L64-L93, data_plane/nixl/nixl_io.py#L202-L233). The Dockerfile's v1.4.0 build and pip 1.5.2 do not clash: the pip binding finds its own bundled libnixl first (DT_RPATH), before the ld.so.conf entry the Dockerfile writes (Dockerfile#L589-L591). The Dynamo doc's telemetry note still holds: NIXL's own telemetry check is the same code at v1.3.0 and v1.5.2.

Optional, not blocking: the nixl-cu13 wheel's bundled UCX moves from 1.21.0 to 1.23.0. L1 checks that refit is correct, not how fast it is. A one-line refit-time comparison against 1.3.0 would show whether the 8-rail numbers in checkpoint-engines.md#L193 still hold. vLLM 0.33 requires nixl >= 1.5, so a slowdown would be follow-up work, not a merge blocker.

nemo-rl-review: kind=self harness=claude-code/2.1.330 model=claude-opus-5-5 effort=medium review-pr-team=v2 reviewed=c3057d3

Comment thread pyproject.toml Resolved
@shikicloud

Copy link
Copy Markdown
Contributor Author

/ok to test 2b639fb

@shikicloud

Copy link
Copy Markdown
Contributor Author

/ok to test 081d4ef

@terrykong terrykong removed the Documentation Improvements or additions to documentation label Nov 28, 2026
@shikicloud

Copy link
Copy Markdown
Contributor Author

/ok to test d66d4a0

@svcnvidia-nemo-ci svcnvidia-nemo-ci added complexity:low Small, contained change. Set by Autobot PR classify (skills/pr-classify) convergence-risk:high Likely to change training results. Set by Autobot PR classify (skills/pr-classify) proof:functionality Needs proof that it works. Set by Autobot PR classify (skills/pr-classify) proof:convergence Needs convergence proof (W&B runs). Set by Autobot PR classify (skills/pr-classify) proof:perf Needs performance proof. Set by Autobot PR classify (skills/pr-classify) labels Nov 29, 2026

@RayenTian RayenTian left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM! Thanks a lot for efforts!

@RayenTian
RayenTian requested a review from yuki-97 December 2, 2026 02:46

@yuki-97 yuki-97 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for moving the nixl bump into its own PR, so the dependency change gets its own image build and test run.

Great to see the before/after table in the description and the GB200 RDMA runs of the TransferQueue recovery test (default and nixl_ssd): the effect of the bump can be read off clearly.

Scope: the full diff (pyproject.toml, uv.lock, dynamo-integration.md), at d66d4a0

Checked:

  • vLLM 0.33.0 requires nixl 1.5.0 or newer for its NIXL connector and sets no upper bound, so 1.5.2 satisfies it (base_worker.py:613).
  • Every nixl call NeMo-RL makes has the same Python signature and the same binding in the 1.3.0 and 1.5.2 wheels (checkpoint_engines/nixl.py, nixl_io.py).
  • The hand-edited uv.lock entries match PyPI for every wheel (URL, sha256, size, upload time), and no other package moved.
  • CI at this head ran real NIXL transfers: checkpoint-engine refit on H100 and GB200, and both TransferQueue recovery variants on GB200 with RDMA.

This bump also fixes #5215: the Module nixl_ep was found but failed to import warning appears 26 times in L0_Unit_Tests_Vllm_1 on main and not at this head. The issue will be closed after this merges.

LGTM — no remaining findings.

nemo-rl-review: kind=expert harness=claude-code/2.1.332 model=claude-fable-5-2 effort=medium review-pr-team=v3 reviewed=d66d4a0

@yuki-97
yuki-97 merged commit 868a9b9 into NVIDIA-NeMo:main Dec 2, 2026
170 of 177 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI:L1 Run doctests, unit tests, and functional tests complexity:low Small, contained change. Set by Autobot PR classify (skills/pr-classify) convergence-risk:high Likely to change training results. Set by Autobot PR classify (skills/pr-classify) proof:convergence Needs convergence proof (W&B runs). Set by Autobot PR classify (skills/pr-classify) proof:functionality Needs proof that it works. Set by Autobot PR classify (skills/pr-classify) proof:perf Needs performance proof. Set by Autobot PR classify (skills/pr-classify)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants