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:
2
.github/Dockerfile.buildwheel
vendored
2
.github/Dockerfile.buildwheel
vendored
@@ -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
|
||||
|
||||
1
.github/workflows/image_310p_openeuler.yml
vendored
1
.github/workflows/image_310p_openeuler.yml
vendored
@@ -132,5 +132,4 @@ jobs:
|
||||
file: Dockerfile.310p.openEuler
|
||||
build-args: |
|
||||
PIP_INDEX_URL=https://pypi.org/simple
|
||||
SOC_VERSION=ascend310p1
|
||||
provenance: false
|
||||
|
||||
1
.github/workflows/image_310p_ubuntu.yml
vendored
1
.github/workflows/image_310p_ubuntu.yml
vendored
@@ -128,5 +128,4 @@ jobs:
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
build-args: |
|
||||
PIP_INDEX_URL=https://pypi.org/simple
|
||||
SOC_VERSION=ascend310p1
|
||||
provenance: false
|
||||
1
.github/workflows/image_a3_openeuler.yml
vendored
1
.github/workflows/image_a3_openeuler.yml
vendored
@@ -131,6 +131,5 @@ jobs:
|
||||
file: Dockerfile.a3.openEuler
|
||||
build-args: |
|
||||
PIP_INDEX_URL=https://pypi.org/simple
|
||||
SOC_VERSION=ascend910_9391
|
||||
provenance: false
|
||||
|
||||
|
||||
1
.github/workflows/image_a3_ubuntu.yml
vendored
1
.github/workflows/image_a3_ubuntu.yml
vendored
@@ -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
|
||||
|
||||
|
||||
1
.github/workflows/image_openeuler.yml
vendored
1
.github/workflows/image_openeuler.yml
vendored
@@ -131,5 +131,4 @@ jobs:
|
||||
file: Dockerfile.openEuler
|
||||
build-args: |
|
||||
PIP_INDEX_URL=https://pypi.org/simple
|
||||
SOC_VERSION=ascend910b1
|
||||
provenance: false
|
||||
|
||||
1
.github/workflows/image_ubuntu.yml
vendored
1
.github/workflows/image_ubuntu.yml
vendored
@@ -128,5 +128,4 @@ jobs:
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
build-args: |
|
||||
PIP_INDEX_URL=https://pypi.org/simple
|
||||
SOC_VERSION=ascend910b1
|
||||
provenance: false
|
||||
|
||||
1
.github/workflows/release_whl.yml
vendored
1
.github/workflows/release_whl.yml
vendored
@@ -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) \
|
||||
|
||||
1
.github/workflows/vllm_ascend_test_310p.yaml
vendored
1
.github/workflows/vllm_ascend_test_310p.yaml
vendored
@@ -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 .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user