Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
7f4bdadb
Unverified
Commit
7f4bdadb
authored
Nov 03, 2025
by
Kunshang Ji
Committed by
GitHub
Nov 03, 2025
Browse files
[XPU]Refine Dockerfile.xpu, avoid oneccl dependency issue (#27964)
Signed-off-by:
Kunshang Ji
<
kunshang.ji@intel.com
>
parent
cec7c288
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
docker/Dockerfile.xpu
docker/Dockerfile.xpu
+4
-4
No files found.
docker/Dockerfile.xpu
View file @
7f4bdadb
...
@@ -54,7 +54,7 @@ ENV VLLM_WORKER_MULTIPROC_METHOD=spawn
...
@@ -54,7 +54,7 @@ ENV VLLM_WORKER_MULTIPROC_METHOD=spawn
RUN --mount=type=cache,target=/root/.cache/pip \
RUN --mount=type=cache,target=/root/.cache/pip \
--mount=type=bind,source=.git,target=.git \
--mount=type=bind,source=.git,target=.git \
p
ython3 setup.py install
p
ip install --no-build-isolation .
CMD ["/bin/bash"]
CMD ["/bin/bash"]
...
@@ -64,9 +64,6 @@ FROM vllm-base AS vllm-openai
...
@@ -64,9 +64,6 @@ FROM vllm-base AS vllm-openai
RUN --mount=type=cache,target=/root/.cache/pip \
RUN --mount=type=cache,target=/root/.cache/pip \
pip install accelerate hf_transfer pytest pytest_asyncio lm_eval[api] modelscope
pip install accelerate hf_transfer pytest pytest_asyncio lm_eval[api] modelscope
RUN --mount=type=cache,target=/root/.cache/pip \
pip uninstall oneccl oneccl-devel -y
# install development dependencies (for testing)
# install development dependencies (for testing)
RUN python3 -m pip install -e tests/vllm_test_utils
RUN python3 -m pip install -e tests/vllm_test_utils
...
@@ -74,4 +71,7 @@ RUN python3 -m pip install -e tests/vllm_test_utils
...
@@ -74,4 +71,7 @@ RUN python3 -m pip install -e tests/vllm_test_utils
RUN python3 /workspace/vllm/tools/install_nixl_from_source_ubuntu.py
RUN python3 /workspace/vllm/tools/install_nixl_from_source_ubuntu.py
ENV LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib/python3.12/dist-packages/.nixl.mesonpy.libs/plugins/"
ENV LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib/python3.12/dist-packages/.nixl.mesonpy.libs/plugins/"
RUN --mount=type=cache,target=/root/.cache/pip \
pip uninstall oneccl oneccl-devel -y
ENTRYPOINT ["vllm", "serve"]
ENTRYPOINT ["vllm", "serve"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment