Unverified Commit e3a1cd1c authored by Kunshang Ji's avatar Kunshang Ji Committed by GitHub
Browse files

[XPU] fix Dockerfile.xpu, avoid wheel conflicts (#30662)


Signed-off-by: default avatarKunshang Ji <kunshang.ji@intel.com>
parent 3778673e
...@@ -76,6 +76,9 @@ RUN python3 -m pip install -e tests/vllm_test_utils ...@@ -76,6 +76,9 @@ RUN python3 -m pip install -e tests/vllm_test_utils
ENV NIXL_VERSION=0.7.0 ENV NIXL_VERSION=0.7.0
RUN python3 /workspace/vllm/tools/install_nixl_from_source_ubuntu.py RUN python3 /workspace/vllm/tools/install_nixl_from_source_ubuntu.py
# PyJWT-2.7.0 will influence some wheel behaviors, remove its dist-info to avoid conflicts
RUN rm /usr/lib/python3/dist-packages/PyJWT-2.7.0.dist-info/ -rf
# remove torch bundled oneccl to avoid conflicts # remove torch bundled oneccl to avoid conflicts
RUN --mount=type=cache,target=/root/.cache/pip \ RUN --mount=type=cache,target=/root/.cache/pip \
pip uninstall oneccl oneccl-devel -y pip uninstall oneccl oneccl-devel -y
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment