Repository navigation
build: bump nixl to 1.5.2 for vLLM 0.33's NixlConnector - #5350
Conversation
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]>
|
Thanks for adding this @shikicloud . Would you please self review this PR and trigger L1 CI test for this PR? Thanks a lot! |
shikicloud
left a comment
There was a problem hiding this comment.
Two things before merge:
- 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. - (C1) The description lists
uv lock --checkas 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
Signed-off-by: Shiki Wu <[email protected]>
|
/ok to test 2b639fb |
Signed-off-by: Shiki Wu <[email protected]>
|
/ok to test 081d4ef |
Signed-off-by: Shiki Wu <[email protected]>
|
/ok to test d66d4a0 |
RayenTian
left a comment
There was a problem hiding this comment.
LGTM! Thanks a lot for efforts!
yuki-97
left a comment
There was a problem hiding this comment.
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
nixl1.5.0 or newer for its NIXL connector and sets no upper bound, so 1.5.2 satisfies it (base_worker.py:613). - Every
nixlcall 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.lockentries 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
What and why
vLLM 0.33 (the version
mainpins) refuses to build itsNixlConnectorwithnixlolder than 1.5.0, andmainpinsnixl==1.3.0:So vLLM prefill/decode disaggregation (#4920) cannot start on the current pin. This PR bumps
nixlto 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 thenixl,nixl-cu12andnixl-cu13entries (specifier, version, wheel lines).docs/design-docs/dynamo-integration.md: the note on ai-dynamo'snixl_telemetryplugin names the new pin (re-check below).Not changed:
docker/Dockerfilestill builds NIXL v1.4.0 from source for the TRT-LLM wheel. The pip package and that build already differ onmain(since #4358).Issues
None.
Convergence / perf / functionality proof
test_tq_nixl*.py,test_ssd_checkpoint_e2e.py)NixlConnectorstarttests/functional/grpo_dp_nixl_tq_recovery.sh(default andnixl_ssd), GB200 with RDMA,NEMO_RL_REQUIRE_NIXL=1, on this branch with main mergeduv lock --check(uv 0.13.6)nixl_telemetryre-check (the Dynamo design doc asks for one whennixlmoves): I compared the nixl sources at v1.3.0 and v1.5.2. The agent'sNIXL_TELEMETRY_ENABLEhandling is identical and theNOPexporter is still registered, so what the plugin does is unchanged. This is a source comparison, not a run.grpo_nixl_non_colocated.sh; my image has no Automodel environment), TRT-LLM disaggregation on 1.5.2, x86_64, and thetq_nixlnightly 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 --checkpasses on them. The rest is left to this PR's L1 CI.Needs upstream changes
None.
PR commands and CI
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. Addmode=strictfor a stricter review,reset=truefor a fresh full review./resolve-conflict: Autobot mergesmaininto this PR and resolves the conflicts. PRs from forks must allow edits by maintainers./review-pr-team <pr-number>for a team review before you ask for human review.🤖 Generated with Claude Code