Skip to content

Commit f1745d6

Browse files
wxsIceyyangxiaojun0126
authored andcommitted
[Image] Upgrade openEuler to 24.03 (vllm-project#2631)
### What this PR does / why we need it? Upgrade openEuler to 24.03 ### Does this PR introduce _any_ user-facing change? N/A ### How was this patch tested? CI passed with new added/existing test. - vLLM version: v0.10.1.1 - vLLM main: vllm-project/vllm@4071c76 --------- Signed-off-by: Icey <1790571317@qq.com>
1 parent a85a784 commit f1745d6

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

Dockerfile.310p.openEuler

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# This file is a part of the vllm-ascend project.
1616
#
1717

18-
FROM quay.io/ascend/cann:8.2.rc1-310p-openeuler22.03-py3.11
18+
FROM quay.io/ascend/cann:8.2.rc1-310p-openeuler24.03-py3.11
1919

2020
ARG PIP_INDEX_URL="https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
2121
ARG COMPILE_CUSTOM_KERNELS=1
@@ -47,6 +47,7 @@ RUN export PIP_EXTRA_INDEX_URL=https://mirrors.huaweicloud.com/ascend/repos/pypi
4747
source /usr/local/Ascend/ascend-toolkit/set_env.sh && \
4848
source /usr/local/Ascend/nnal/atb/set_env.sh && \
4949
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Ascend/ascend-toolkit/latest/`uname -i`-linux/devlib && \
50+
export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/usr/include/c++/12:/usr/include/c++/12/`uname -i`-openEuler-linux && \
5051
export SOC_VERSION=ASCEND310P3 && \
5152
python3 -m pip install -v -e /vllm-workspace/vllm-ascend/ --extra-index https://download.pytorch.org/whl/cpu/ && \
5253
python3 -m pip cache purge

Dockerfile.a3.openEuler

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# This file is a part of the vllm-ascend project.
1616
#
1717

18-
FROM quay.io/ascend/cann:8.2.rc1-a3-openeuler22.03-py3.11
18+
FROM quay.io/ascend/cann:8.2.rc1-a3-openeuler24.03-py3.11
1919

2020
ARG PIP_INDEX_URL="https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
2121
ARG COMPILE_CUSTOM_KERNELS=1
@@ -47,6 +47,7 @@ RUN export PIP_EXTRA_INDEX_URL=https://mirrors.huaweicloud.com/ascend/repos/pypi
4747
source /usr/local/Ascend/ascend-toolkit/set_env.sh && \
4848
source /usr/local/Ascend/nnal/atb/set_env.sh && \
4949
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Ascend/ascend-toolkit/latest/`uname -i`-linux/devlib && \
50+
export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/usr/include/c++/12:/usr/include/c++/12/`uname -i`-openEuler-linux && \
5051
python3 -m pip install -v -e /vllm-workspace/vllm-ascend/ --extra-index https://download.pytorch.org/whl/cpu/ && \
5152
python3 -m pip cache purge
5253

Dockerfile.openEuler

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# This file is a part of the vllm-ascend project.
1616
#
1717

18-
FROM quay.io/ascend/cann:8.2.rc1-910b-openeuler22.03-py3.11
18+
FROM quay.io/ascend/cann:8.2.rc1-910b-openeuler24.03-py3.11
1919

2020
ARG PIP_INDEX_URL="https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
2121
ARG COMPILE_CUSTOM_KERNELS=1
@@ -47,6 +47,7 @@ RUN export PIP_EXTRA_INDEX_URL=https://mirrors.huaweicloud.com/ascend/repos/pypi
4747
source /usr/local/Ascend/ascend-toolkit/set_env.sh && \
4848
source /usr/local/Ascend/nnal/atb/set_env.sh && \
4949
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Ascend/ascend-toolkit/latest/`uname -i`-linux/devlib && \
50+
export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/usr/include/c++/12:/usr/include/c++/12/`uname -i`-openEuler-linux && \
5051
python3 -m pip install -v -e /vllm-workspace/vllm-ascend/ --extra-index https://download.pytorch.org/whl/cpu/ && \
5152
python3 -m pip cache purge
5253

0 commit comments

Comments
 (0)