[XPU] update nixl to v1.2.0 (#46327)
Signed-off-by: zhenwei-intel <zhenwei.liu@intel.com>
liuzhenwei committed
Jun 22, 2026 at 20:55 UTC
09cdcf34aac46a37320bc394cc714ac5f53b937d
1 file changed
+10
-10
docker/Dockerfile.xpu
+10
-10
@@ -132,7 +132,7 @@ CMD ["/bin/bash"]
132
FROM vllm-base AS ucx-nixl-build
133
134
ARG UCX_VERSION=v1.21.0-rc2
135
-ARG NIXL_VERSION=0.10.1
135
+ARG NIXL_VERSION=v1.2.0
136
137
# Build-time only: compiler, autotools, and verbs dev headers
138
RUN apt-get update -y && apt-get install -y --no-install-recommends \
@@ -149,25 +149,25 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends \
149
# patchelf (installed via uv) is used by the NIXL wheel build to rewrite
150
# RPATH entries, making the wheel portable across stages.
151
RUN --mount=type=cache,target=/root/.cache/uv \
152
- git clone https://github.com/openucx/ucx /tmp/ucx_source && \
153
- cd /tmp/ucx_source && git checkout "${UCX_VERSION}" && \
152
+ git clone --depth 1 --branch "${UCX_VERSION}" https://github.com/openucx/ucx /tmp/ucx_source && \
153
+ cd /tmp/ucx_source && \
154
bash autogen.sh && \
155
./configure --prefix=/tmp/ucx_install --with-ze=yes --enable-examples --enable-mt && \
156
- make CFLAGS="-Wno-error=incompatible-pointer-types" -j8 && make install && \
157
- git clone https://github.com/ai-dynamo/nixl /tmp/nixl_source && \
158
- cd /tmp/nixl_source && git checkout "${NIXL_VERSION}" && \
156
+ make CFLAGS="-Wno-error=incompatible-pointer-types" -j"$(nproc)" && make install && \
157
+ git clone --depth 1 --branch "${NIXL_VERSION}" https://github.com/ai-dynamo/nixl /tmp/nixl_source && \
158
+ cd /tmp/nixl_source && \
159
uv pip install --upgrade meson pybind11 patchelf && \
160
uv pip install -r requirements.txt && \
161
PKG_CONFIG_PATH=/tmp/ucx_install/lib/pkgconfig \
162
LD_LIBRARY_PATH=/tmp/ucx_install/lib \
163
python -m pip wheel --no-deps . -w /tmp/nixl_wheels/ && \
164
find /tmp/ucx_install -type f \( -name '*.a' -o -name '*.la' \) -delete && \
165
- rm -rf /tmp/ucx_install/include /tmp/ucx_install/share /tmp/ucx_install/etc /tmp/ucx_install/lib/cmake /tmp/ucx_install/bin && \
166
- rm -rf /tmp/ucx_source /tmp/nixl_source
165
+ rm -rf /tmp/ucx_install/{include,share,etc,bin} /tmp/ucx_install/lib/cmake \
166
+ /tmp/ucx_source /tmp/nixl_source
167
168
FROM vllm-base AS vllm-openai
169
170
-ARG NIXL_VERSION=0.10.1
170
+ARG NIXL_VERSION=v1.2.0
171
172
# Copy compiled UCX runtime libraries and the pre-built NIXL wheel.
173
# No compiler or autotools are installed in this stage.
@@ -192,7 +192,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
192
librdmacm1t64 \
193
&& rm -rf /var/lib/apt/lists/* \
194
&& uv pip install --no-deps /tmp/nixl_wheels/nixl*.whl \
195
- && uv pip install nixl==${NIXL_VERSION} \
195
+ && uv pip install nixl==${NIXL_VERSION} && uv pip uninstall nixl-cu13 \
196
&& rm -rf /tmp/nixl_wheels
197
198
RUN --mount=type=cache,target=/root/.cache/uv \