25
25
# Runs every 6 hours
26
26
- cron : ' 0 */6 * * *'
27
27
pull_request :
28
- type : [ labeled ]
28
+ types : [ labeled ]
29
29
30
30
# Bash shells do not use ~/.profile or ~/.bashrc so these shells need to be explicitly
31
31
# declared as "shell: bash -el {0}" on steps that need to be properly activated.
@@ -41,84 +41,83 @@ concurrency:
41
41
cancel-in-progress : true
42
42
43
43
jobs :
44
- e2e :
45
- # 310p-test will be triggered when tag '310p-test' & 'ready-for-test' or schedule job
46
- if : >-
47
- ${{
48
- (contains(github.event.pull_request.labels.*.name, '310p-test')) &&
49
- contains(github.event.pull_request.labels.*.name, 'ready-for-test') ||
50
- github.event_name == 'schedule' || github.event_name == 'push'
51
- }}
52
- strategy :
53
- max-parallel : 2
54
- matrix :
55
- os : [linux-aarch64-310p-1]
56
- vllm_version : [main, v0.9.2]
57
- name : singlecard 310p e2e test
58
- runs-on : ${{ matrix.os }}
59
- container :
60
- # TODO(yikun): Remove m.daocloud.io prefix when infra proxy ready
61
- image : m.daocloud.io/quay.io/ascend/cann:8.1.rc1-310p-ubuntu22.04-py3.10
62
- env :
63
- VLLM_LOGGING_LEVEL : ERROR
64
- VLLM_USE_MODELSCOPE : True
65
- steps :
66
- - name : Check npu and CANN info
67
- run : |
68
- npu-smi info
69
- cat /usr/local/Ascend/ascend-toolkit/latest/"$(uname -i)"-linux/ascend_toolkit_install.info
70
-
71
- - name : Config mirrors
72
- run : |
73
- sed -i 's|ports.ubuntu.com|mirrors.tuna.tsinghua.edu.cn|g' /etc/apt/sources.list
74
- pip config set global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
75
- apt-get update -y
76
- apt install git -y
77
- git config --global url."https://gh-proxy.test.osinfra.cn/https://github.com/".insteadOf https://github.com/
44
+ # e2e:
45
+ # # 310p-test will be triggered when tag '310p-test' & 'ready-for-test' or schedule job
46
+ # if: >-
47
+ # ${{
48
+ # (contains(github.event.pull_request.labels.*.name, '310p-test')) &&
49
+ # contains(github.event.pull_request.labels.*.name, 'ready-for-test') ||
50
+ # github.event_name == 'schedule' || github.event_name == 'push'
51
+ # }}
52
+ # strategy:
53
+ # max-parallel: 2
54
+ # matrix:
55
+ # os: [linux-aarch64-310p-1]
56
+ # vllm_version: [main, v0.9.2]
57
+ # name: singlecard 310p e2e test
58
+ # runs-on: ${{ matrix.os }}
59
+ # container:
60
+ # # TODO(yikun): Remove m.daocloud.io prefix when infra proxy ready
61
+ # image: m.daocloud.io/quay.io/ascend/cann:8.1.rc1-310p-ubuntu22.04-py3.10
62
+ # env:
63
+ # VLLM_LOGGING_LEVEL: ERROR
64
+ # VLLM_USE_MODELSCOPE: True
65
+ # steps:
66
+ # - name: Check npu and CANN info
67
+ # run: |
68
+ # npu-smi info
69
+ # cat /usr/local/Ascend/ascend-toolkit/latest/"$(uname -i)"-linux/ascend_toolkit_install.info
70
+
71
+ # - name: Config mirrors
72
+ # run: |
73
+ # sed -i 's|ports.ubuntu.com|mirrors.tuna.tsinghua.edu.cn|g' /etc/apt/sources.list
74
+ # pip config set global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
75
+ # apt-get update -y
76
+ # apt install git -y
77
+ # git config --global url."https://gh-proxy.test.osinfra.cn/https://github.com/".insteadOf https://github.com/
78
78
79
- - name : Checkout vllm-project/vllm repo
80
- uses : actions/checkout@v4
81
- with :
82
- repository : vllm-project/vllm
83
- ref : ${{ matrix.vllm_version }}
84
- path : ./vllm-empty
79
+ # - name: Checkout vllm-project/vllm repo
80
+ # uses: actions/checkout@v4
81
+ # with:
82
+ # repository: vllm-project/vllm
83
+ # ref: ${{ matrix.vllm_version }}
84
+ # path: ./vllm-empty
85
85
86
- - name : Checkout vllm-project/vllm-ascend repo
87
- uses : actions/checkout@v4
88
- with :
89
- repository : vllm-project/vllm-ascend
90
- path : ./vllm-ascend
91
-
92
- - name : Install system dependencies
93
- run : |
94
- apt-get -y install `cat packages.txt`
95
- apt-get -y install git vim wget net-tools gcc g++ cmake libnuma-dev curl gnupg2
96
-
97
-
86
+ # - name: Checkout vllm-project/vllm-ascend repo
87
+ # uses: actions/checkout@v4
88
+ # with:
89
+ # repository: vllm-project/vllm-ascend
90
+ # path: ./vllm-ascend
91
+
92
+ # - name: Install system dependencies
93
+ # run: |
94
+ # apt-get -y install `cat packages.txt`
95
+ # apt-get -y install git vim wget net-tools gcc g++ cmake libnuma-dev curl gnupg2
96
+
97
+ # - name: Install vllm-project/vllm from source
98
+ # working-directory: ./vllm-empty
99
+ # run: |
100
+ # VLLM_TARGET_DEVICE=empty pip install -e .
101
+
102
+ # - name: Install vllm-project/vllm-ascend
103
+ # working-directory: ./vllm-ascend
104
+ # env:
105
+ # PIP_EXTRA_INDEX_URL: https://mirrors.huaweicloud.com/ascend/repos/pypi
106
+ # run: |
107
+ # export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Ascend/ascend-toolkit/latest/x86_64-linux/devlib
108
+ # export SOC_VERSION=ASCEND310P3
109
+ # pip install -r requirements-dev.txt
110
+ # pip install -v -e .
111
+ # pip install cache purge
112
+
113
+ # - name: Run e2e test
114
+ # env:
115
+ # VLLM_WORKER_MULTIPROC_METHOD: spawn
116
+ # VLLM_USE_MODELSCOPE: True
117
+ # run: |
118
+ # sleep 99999
119
+ # pytest -sv tests/e2e/310p/singlecard/test_offline_inference.py
98
120
99
- - name : Install vllm-project/vllm from source
100
- working-directory : ./vllm-empty
101
- run : |
102
- VLLM_TARGET_DEVICE=empty pip install -e .
103
-
104
- - name : Install vllm-project/vllm-ascend
105
- working-directory : ./vllm-ascend
106
- env :
107
- PIP_EXTRA_INDEX_URL : https://mirrors.huaweicloud.com/ascend/repos/pypi
108
- run : |
109
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Ascend/ascend-toolkit/latest/x86_64-linux/devlib
110
- export SOC_VERSION=ASCEND310P3
111
- pip install -r requirements-dev.txt
112
- pip install -v -e .
113
- pip install cache purge
114
-
115
- - name : Run e2e test
116
- env :
117
- VLLM_WORKER_MULTIPROC_METHOD : spawn
118
- VLLM_USE_MODELSCOPE : True
119
- run : |
120
- sleep 99999
121
- pytest -sv tests/e2e/310p/singlecard/test_offline_inference.py
122
121
e2e-4-cards :
123
122
# 310p-test will be triggered when tag '310p-test' & 'ready-for-test' or schedule job
124
123
if : >-
0 commit comments