Skip to content

Commit dca591d

Browse files
committed
fix: force set oneapi vars
1 parent ec990db commit dca591d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docker/Dockerfile.xpu

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,10 @@ RUN --mount=type=bind,source=.git,target=.git \
5757
ENV VLLM_TARGET_DEVICE=xpu
5858
ENV VLLM_WORKER_MULTIPROC_METHOD=spawn
5959

60+
SHELL ["/bin/bash"]
6061
RUN --mount=type=cache,target=/root/.cache/pip \
6162
--mount=type=bind,source=.git,target=.git \
63+
source /opt/intel/oneapi/setvars.sh --force && \
6264
pip install --no-build-isolation .
6365

6466
CMD ["/bin/bash"]

0 commit comments

Comments
 (0)