Skip to content

Commit 958221f

Browse files
committed
fix add patch in dockerfile-npu
1 parent 7b2aefd commit 958221f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker/Dockerfile-NPU

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Set to other image if needed
2-
FROM quay.io/ascend/vllm-ascend:v0.9.2rc1
2+
FROM quay.io/ascend/vllm-ascend:v0.9.2rc1-openeuler
33

44
ARG PIP_INDEX_URL="https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
55

@@ -15,11 +15,11 @@ RUN export PLATFORM="ascend" && \
1515
pip install -v -e /workspace/unified-cache-management --no-build-isolation
1616

1717
# Apply patch for vLLM
18-
RUN cd $(pip show vllm | grep Location | awk '{print $2}') \
18+
RUN cd /vllm-workspace/vllm \
1919
&& git apply /workspace/unified-cache-management/ucm/integration/vllm/patch/0.9.2/vllm-adapt.patch
2020

2121
# Apply patch for vLLM-ascend
22-
RUN cd $(pip show vllm-ascend | grep Location | awk '{print $2}') \
22+
RUN cd /vllm-workspace/vllm-ascend \
2323
&& git apply /workspace/unified-cache-management/ucm/integration/vllm/patch/0.9.2/vllm-ascend-adapt.patch
2424

2525
CMD ["/bin/bash"]

0 commit comments

Comments
 (0)