improve soc version (#4522)

Make SOC_VERSION be readable for users. Now users can set simply
"910b"、“910c”、“310p”


- vLLM version: v0.11.2
- vLLM main: https://github.com/vllm-project/vllm/commit/v0.11.2

Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com>
This commit is contained in:
wangxiyuan
2025-11-29 17:42:16 +08:00
committed by GitHub
parent f10acddb78
commit 6664a4e5ce
16 changed files with 18 additions and 16 deletions

View File

@@ -18,7 +18,7 @@ ARG PY_VERSION=3.11
FROM quay.io/ascend/manylinux:8.3.rc2-910b-manylinux_2_28-py${PY_VERSION}
ARG COMPILE_CUSTOM_KERNELS=1
ARG SOC_VERSION
ARG SOC_VERSION="ascend910b1"
# Define environments
ENV DEBIAN_FRONTEND=noninteractive

View File

@@ -132,5 +132,4 @@ jobs:
file: Dockerfile.310p.openEuler
build-args: |
PIP_INDEX_URL=https://pypi.org/simple
SOC_VERSION=ascend310p1
provenance: false

View File

@@ -128,5 +128,4 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
build-args: |
PIP_INDEX_URL=https://pypi.org/simple
SOC_VERSION=ascend310p1
provenance: false

View File

@@ -131,6 +131,5 @@ jobs:
file: Dockerfile.a3.openEuler
build-args: |
PIP_INDEX_URL=https://pypi.org/simple
SOC_VERSION=ascend910_9391
provenance: false

View File

@@ -127,6 +127,5 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
build-args: |
PIP_INDEX_URL=https://pypi.org/simple
SOC_VERSION=ascend910_9391
provenance: false

View File

@@ -131,5 +131,4 @@ jobs:
file: Dockerfile.openEuler
build-args: |
PIP_INDEX_URL=https://pypi.org/simple
SOC_VERSION=ascend910b1
provenance: false

View File

@@ -128,5 +128,4 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
build-args: |
PIP_INDEX_URL=https://pypi.org/simple
SOC_VERSION=ascend910b1
provenance: false

View File

@@ -69,7 +69,6 @@ jobs:
ls
docker build -f ./.github/Dockerfile.buildwheel \
--build-arg PY_VERSION=${{ matrix.python-version }} \
--build-arg SOC_VERSION=ascend910b1 \
-t wheel:v1 .
docker run --rm \
-u $(id -u):$(id -g) \

View File

@@ -100,7 +100,6 @@ jobs:
run: |
export PIP_EXTRA_INDEX_URL=https://mirrors.huaweicloud.com/ascend/repos/pypi
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Ascend/ascend-toolkit/latest/x86_64-linux/devlib
export SOC_VERSION=ASCEND310P3
pip install -r requirements-dev.txt
pip install -v -e .