Skip to content

v0.11.1.dev59

@mikasenghaas mikasenghaas tagged this 26 Nov 21:24
## Summary

- `Dockerfile.cuda` no longer builds UCX 1.19 into `/opt/ucx`, and no
longer builds and reinstalls NIXL against it (the
`INCLUDE_NIXL_FROM_SOURCE`, `NIXL_VERSION` and `UCX_VERSION` build args
are gone).
- The runtime image no longer copies `/opt/ucx` or sets `UCX_HOME` and
the `/opt/ucx` `LD_LIBRARY_PATH` entries. It ships the locked
`nixl-cu13==1.5.0` wheel, which bundles UCX 1.23.0.
- The runtime `libibverbs1`, `ibverbs-providers`, `librdmacm1`,
`libnuma1` and `libnl` packages stay: the bundled UCX loads them for
InfiniBand.

The source build was a workaround for the bundled UCX segfaulting on the
P/D KV transfer. #4786 showed that the locked wheel no longer crashes,
and moved P/D and `modelexpress` off the source build outside the image.
#4791 removes the `nixl` weight broadcast, the last transport that
required it.

## Breaking

- The `INCLUDE_NIXL_FROM_SOURCE`, `NIXL_VERSION` and `UCX_VERSION` build
args are removed. A build that passes them gets a warning about unused
args and otherwise builds normally.
- The image no longer contains `/opt/ucx`. Anything that loaded UCX from
there must use the UCX bundled in the NIXL wheel.

## Verification

- `image.yml` built this branch for amd64
([run](https://github.com/PrimeIntellect-ai/prime-rl/actions/runs/45896186791),
`ghcr.io/primeintellect-ai/prime-rl:commit-d4ddf28c8-amd64`). The build
re-ran `uv sync`, the EFA installer, and the import check for `nixl`,
`vllm` and the other heavy packages.
- The image's library mix, reproduced on an H200 node outside a
container: the locked wheel's bundled rdma-core 48, plus `libefa` and
`libibverbs` 61 from the same EFA installer, with UCX's EFA module
loaded. A NIXL agent with the UCX backend registered GPU memory and
exited with code 0 in 3/3 runs (see the reply to Bugbot).
- #4786 ran the locked wheel on the same cluster outside a container:
P/D KV transfer, and `modelexpress` across nodes and on one node.

Not covered: running the image itself on GPUs (this cluster has no
container runtime), and hosts with real EFA devices.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Assets 2
Loading