@@ -39,114 +39,114 @@ concurrency:
3939 cancel-in-progress : true
4040
4141jobs :
42- lint :
43- uses : ./.github/workflows/pre-commit.yml
44- with :
45- vllm : v0.11.2
46- changes :
47- runs-on : ubuntu-latest
48- outputs :
49- e2e_tracker : ${{ steps.filter.outputs.e2e_tracker }}
50- ut_tracker : ${{ steps.filter.outputs.ut_tracker }}
51- steps :
52- - uses : actions/checkout@v6
53- - uses : dorny/paths-filter@v3
54- id : filter
55- with :
56- filters : |
57- e2e_tracker:
58- - '.github/workflows/vllm_ascend_test_pr*'
59- - 'vllm_ascend/**'
60- - 'csrc/**'
61- - 'cmake/**'
62- - 'tests/e2e/**'
63- - 'CMakeLists.txt'
64- - 'setup.py'
65- - 'requirements.txt'
66- - 'requirements-dev.txt'
67- - 'requirements-lint.txt'
68- - 'packages.txt'
69- ut_tracker:
70- - 'tests/ut/**'
42+ # lint:
43+ # uses: ./.github/workflows/pre-commit.yml
44+ # with:
45+ # vllm: v0.11.2
46+ # changes:
47+ # runs-on: ubuntu-latest
48+ # outputs:
49+ # e2e_tracker: ${{ steps.filter.outputs.e2e_tracker }}
50+ # ut_tracker: ${{ steps.filter.outputs.ut_tracker }}
51+ # steps:
52+ # - uses: actions/checkout@v6
53+ # - uses: dorny/paths-filter@v3
54+ # id: filter
55+ # with:
56+ # filters: |
57+ # e2e_tracker:
58+ # - '.github/workflows/vllm_ascend_test_pr*'
59+ # - 'vllm_ascend/**'
60+ # - 'csrc/**'
61+ # - 'cmake/**'
62+ # - 'tests/e2e/**'
63+ # - 'CMakeLists.txt'
64+ # - 'setup.py'
65+ # - 'requirements.txt'
66+ # - 'requirements-dev.txt'
67+ # - 'requirements-lint.txt'
68+ # - 'packages.txt'
69+ # ut_tracker:
70+ # - 'tests/ut/**'
7171
72- ut :
73- needs : [lint, changes]
74- name : unit test
75- # only trigger unit test after lint passed and the change is e2e and ut related.
76- if : ${{ needs.lint.result == 'success' && (needs.changes.outputs.e2e_tracker == 'true' || needs.changes.outputs.ut_tracker == 'true') }}
77- runs-on : ubuntu-latest
78- container :
79- # fixme: vllm-ascend install failed with 8.3.rc2 on github action
80- image : quay.io/ascend/cann:8.2.rc2-910b-ubuntu22.04-py3.11
81- env :
82- VLLM_LOGGING_LEVEL : ERROR
83- VLLM_USE_MODELSCOPE : True
84- SOC_VERSION : ascend910b1
85- strategy :
86- matrix :
87- vllm_version : [888152bf87d62c9f5929d06f386068990b618db7, v0.11.2]
88- steps :
89- - name : Install packages
90- run : |
91- apt-get update -y
92- apt-get install -y python3-pip git vim wget net-tools gcc g++ cmake libnuma-dev curl gnupg2
72+ # ut:
73+ # needs: [lint, changes]
74+ # name: unit test
75+ # # only trigger unit test after lint passed and the change is e2e and ut related.
76+ # if: ${{ needs.lint.result == 'success' && (needs.changes.outputs.e2e_tracker == 'true' || needs.changes.outputs.ut_tracker == 'true') }}
77+ # runs-on: ubuntu-latest
78+ # container:
79+ # # fixme: vllm-ascend install failed with 8.3.rc2 on github action
80+ # image: quay.io/ascend/cann:8.2.rc2-910b-ubuntu22.04-py3.11
81+ # env:
82+ # VLLM_LOGGING_LEVEL: ERROR
83+ # VLLM_USE_MODELSCOPE: True
84+ # SOC_VERSION: ascend910b1
85+ # strategy:
86+ # matrix:
87+ # vllm_version: [888152bf87d62c9f5929d06f386068990b618db7, v0.11.2]
88+ # steps:
89+ # - name: Install packages
90+ # run: |
91+ # apt-get update -y
92+ # apt-get install -y python3-pip git vim wget net-tools gcc g++ cmake libnuma-dev curl gnupg2
9393
94- - name : Checkout vllm-project/vllm repo
95- uses : actions/checkout@v6
96- with :
97- repository : vllm-project/vllm
98- ref : ${{ matrix.vllm_version }}
99- path : ./vllm-empty
94+ # - name: Checkout vllm-project/vllm repo
95+ # uses: actions/checkout@v6
96+ # with:
97+ # repository: vllm-project/vllm
98+ # ref: ${{ matrix.vllm_version }}
99+ # path: ./vllm-empty
100100
101- - name : Install vllm-project/vllm from source
102- working-directory : ./vllm-empty
103- run : |
104- VLLM_TARGET_DEVICE=empty python3 -m pip install . --extra-index https://download.pytorch.org/whl/cpu/
105- python3 -m pip uninstall -y triton
101+ # - name: Install vllm-project/vllm from source
102+ # working-directory: ./vllm-empty
103+ # run: |
104+ # VLLM_TARGET_DEVICE=empty python3 -m pip install . --extra-index https://download.pytorch.org/whl/cpu/
105+ # python3 -m pip uninstall -y triton
106106
107- - name : Checkout vllm-project/vllm-ascend repo
108- uses : actions/checkout@v6
107+ # - name: Checkout vllm-project/vllm-ascend repo
108+ # uses: actions/checkout@v6
109109
110- - name : Install vllm-project/vllm-ascend
111- run : |
112- export PIP_EXTRA_INDEX_URL=https://mirrors.huaweicloud.com/ascend/repos/pypi
113- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Ascend/ascend-toolkit/latest/x86_64-linux/devlib
114- python3 -m pip install -r requirements-dev.txt --extra-index https://download.pytorch.org/whl/cpu/
115- python3 -m pip install -v . --extra-index https://download.pytorch.org/whl/cpu/
110+ # - name: Install vllm-project/vllm-ascend
111+ # run: |
112+ # export PIP_EXTRA_INDEX_URL=https://mirrors.huaweicloud.com/ascend/repos/pypi
113+ # export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Ascend/ascend-toolkit/latest/x86_64-linux/devlib
114+ # python3 -m pip install -r requirements-dev.txt --extra-index https://download.pytorch.org/whl/cpu/
115+ # python3 -m pip install -v . --extra-index https://download.pytorch.org/whl/cpu/
116116
117- - name : Run unit test
118- env :
119- VLLM_WORKER_MULTIPROC_METHOD : spawn
120- TORCH_DEVICE_BACKEND_AUTOLOAD : 0
121- run : |
122- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Ascend/ascend-toolkit/latest/x86_64-linux/devlib
123- pytest -sv --cov --cov-report=xml:unittests-coverage.xml tests/ut \
124- --ignore tests/ut/torchair/models/test_torchair_deepseek_mtp.py \
125- --ignore tests/ut/torchair/models/test_torchair_deepseek_v2.py \
126- --ignore tests/ut/models/test_qwen2_vl.py \
127- --ignore tests/ut/models/test_qwen2_5_vl.py \
128- --ignore tests/ut/models/test_qwen2_5_vl_without_padding.py
117+ # - name: Run unit test
118+ # env:
119+ # VLLM_WORKER_MULTIPROC_METHOD: spawn
120+ # TORCH_DEVICE_BACKEND_AUTOLOAD: 0
121+ # run: |
122+ # export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Ascend/ascend-toolkit/latest/x86_64-linux/devlib
123+ # pytest -sv --cov --cov-report=xml:unittests-coverage.xml tests/ut \
124+ # --ignore tests/ut/torchair/models/test_torchair_deepseek_mtp.py \
125+ # --ignore tests/ut/torchair/models/test_torchair_deepseek_v2.py \
126+ # --ignore tests/ut/models/test_qwen2_vl.py \
127+ # --ignore tests/ut/models/test_qwen2_5_vl.py \
128+ # --ignore tests/ut/models/test_qwen2_5_vl_without_padding.py
129129
130- - name : Upload coverage to Codecov
131- # only upload coverage when commits merged
132- if : github.event_name == 'push' && github.ref == 'refs/heads/main'
133- uses : codecov/codecov-action@v5
134- env :
135- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
136- with :
137- flags : unittests
138- name : vllm-ascend
139- verbose : true
130+ # - name: Upload coverage to Codecov
131+ # # only upload coverage when commits merged
132+ # if: github.event_name == 'push' && github.ref == 'refs/heads/main'
133+ # uses: codecov/codecov-action@v5
134+ # env:
135+ # CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
136+ # with:
137+ # flags: unittests
138+ # name: vllm-ascend
139+ # verbose: true
140140
141141 e2e-light :
142142 name : e2e-light
143143 strategy :
144144 matrix :
145145 vllm_version : [888152bf87d62c9f5929d06f386068990b618db7]
146146 # Note (yikun): If CI resource are limited we can split job into two chain jobs
147- needs : [lint, changes]
147+ # needs: [lint, changes]
148148 # only trigger e2e test after lint passed and the change is e2e related with pull request.
149- if : ${{ github.event_name == 'pull_request' && needs.lint.result == 'success' && needs.changes.outputs.e2e_tracker == 'true' && !contains(github.event.pull_request.labels.*.name, 'ready') }}
149+ # if: ${{ github.event_name == 'pull_request' && needs.lint.result == 'success' && needs.changes.outputs.e2e_tracker == 'true' && !contains(github.event.pull_request.labels.*.name, 'ready') }}
150150 uses : ./.github/workflows/_e2e_test.yaml
151151 with :
152152 vllm : ${{ matrix.vllm_version }}
0 commit comments