|
70 | 70 | uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
|
71 | 71 | with:
|
72 | 72 | python-version: ${{ matrix.python-version }}
|
73 |
| - - name: Lint with flake8 |
74 |
| - run: | |
75 |
| - python -m pip install --upgrade pip |
76 |
| - python -m pip install flake8 pytest black |
77 |
| - # stop the build if there are Python syntax errors or undefined names |
78 |
| - python -m flake8 ${{ env.LLM_BENCH_PYPATH }} --config=${{ env.LLM_BENCH_PYPATH }}/setup.cfg |
79 | 73 | - name: Download OpenVINO package
|
80 | 74 | uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
|
81 | 75 | with:
|
@@ -170,57 +164,9 @@ jobs:
|
170 | 164 | python ./tools/llm_bench/benchmark.py -m ./ov_models/tiny-random-llava -pf ./tools/llm_bench/prompts/llava-1.5-7b.jsonl -ic 4
|
171 | 165 | rm -rf ./ov_models
|
172 | 166 |
|
173 |
| - wwb: |
174 |
| - name: 'WWB tests' |
175 |
| - defaults: |
176 |
| - run: |
177 |
| - shell: bash |
178 |
| - runs-on: ubuntu-22.04-8-cores |
179 |
| - strategy: |
180 |
| - fail-fast: false |
181 |
| - matrix: |
182 |
| - python-version: ["3.11"] |
183 |
| - needs: [ openvino_download ] |
184 |
| - env: |
185 |
| - OV_INSTALL_DIR: ${{ github.workspace }}/ov |
186 |
| - SRC_DIR: ${{ github.workspace }} |
187 |
| - WWB_PATH: ${{ github.workspace }}/tools/who_what_benchmark |
188 |
| - |
189 |
| - steps: |
190 |
| - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
191 |
| - with: |
192 |
| - submodules: recursive |
193 |
| - - name: Set up Python ${{ matrix.python-version }} |
194 |
| - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 |
195 |
| - with: |
196 |
| - python-version: ${{ matrix.python-version }} |
197 |
| - - name: Lint with flake8 |
198 |
| - run: | |
199 |
| - python -m pip install --upgrade pip |
200 |
| - python -m pip install flake8 pytest black |
201 |
| - # stop the build if there are Python syntax errors or undefined names |
202 |
| - python -m flake8 ${{ env.WWB_PATH }} --config=${{ env.WWB_PATH }}/setup.cfg |
203 |
| - - name: Download OpenVINO package |
204 |
| - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 |
205 |
| - with: |
206 |
| - name: ${{ needs.openvino_download.outputs.ov_artifact_name }} |
207 |
| - path: ${{ env.OV_INSTALL_DIR }} |
208 |
| - merge-multiple: true |
209 |
| - - name: Install dependencies |
210 |
| - run: | |
211 |
| - python -m pip install ${{ env.SRC_DIR }}/thirdparty/openvino_tokenizers -v ${{ needs.openvino_download.outputs.ov_wheel_source }} |
212 |
| - python -m pip install ${{ env.SRC_DIR }} -v ${{ needs.openvino_download.outputs.ov_wheel_source }} |
213 |
| - python -m pip install -r ${{ env.WWB_PATH }}/requirements.txt ${{ needs.openvino_download.outputs.ov_wheel_source }} |
214 |
| - python -m pip install git+https://github.com/huggingface/optimum-intel.git@main |
215 |
| - working-directory: ${{ env.OV_INSTALL_DIR }} |
216 |
| - - name: WWB Tests |
217 |
| - run: | |
218 |
| - python -m pip install -v ${{ env.WWB_PATH }} |
219 |
| - python -m pytest -v ${{ env.WWB_PATH }}/tests |
220 |
| -
|
221 | 167 | Overall_Status:
|
222 | 168 | name: ci/gha_overall_status_llm_bench
|
223 |
| - needs: [openvino_download, llm_bench, wwb] |
| 169 | + needs: [openvino_download, llm_bench] |
224 | 170 | if: ${{ always() }}
|
225 | 171 | runs-on: ubuntu-latest
|
226 | 172 | steps:
|
|
0 commit comments