2020 PYTHON_VERSION : ' 3.10'
2121 TARGET_BRANCH : ${{ github.base_ref || github.event.merge_group.base_ref || github.ref }}
2222 CCACHE_MAXSIZE : 500Mi
23-
23+
2424jobs :
2525 openvino_download :
2626 name : Download OpenVINO
3434 defaults :
3535 run :
3636 shell : bash
37- runs-on : aks-linux-2-cores-8gb
37+ runs-on : aks-linux-medium
3838 container :
3939 image : ' openvinogithubactions.azurecr.io/openvino_provider:0.1.0'
4040 volumes :
@@ -48,14 +48,14 @@ jobs:
4848 platform : macos_12_6
4949 commit_packages_to_provide : wheels
5050 revision : latest_nightly
51-
51+
5252 - uses : openvinotoolkit/openvino/.github/actions/openvino_provider@master
5353 id : openvino_latest_download
5454 with :
5555 platform : macos_12_6
5656 commit_packages_to_provide : openvino_js_package.tar.gz
5757 revision : latest_available_commit
58-
58+
5959 genai_build_cmake :
6060 name : Build cpack - ${{ matrix.build-type }}
6161 strategy :
@@ -91,16 +91,16 @@ jobs:
9191 name : ${{ needs.openvino_download.outputs.ov_artifact_name }}
9292 path : ${{ env.OV_INSTALL_DIR }}
9393 merge-multiple : true
94-
94+
9595 - name : Setup Python ${{ env.PYTHON_VERSION }}
9696 uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
9797 with :
9898 python-version : ${{ env.PYTHON_VERSION }}
9999 cache : ' pip'
100-
100+
101101 - name : Install build dependencies
102102 run : brew install coreutils ninja ccache
103-
103+
104104 - name : Setup ccache
105105 id : ccache-restore
106106 uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
@@ -109,7 +109,7 @@ jobs:
109109 restore-keys : |
110110 ${{ runner.os }}-${{ runner.arch }}-ccache-${{ env.TARGET_BRANCH }}
111111 path : ${{ env.CCACHE_DIR }}
112-
112+
113113 - name : Clean ccache stats
114114 run : ccache --zero-stats --show-config
115115
@@ -122,14 +122,14 @@ jobs:
122122
123123 - name : Show ccache stats
124124 run : ccache --show-stats
125-
125+
126126 - name : Save ccache
127127 if : always() && steps.ccache-restore.outputs.cache-hit != 'true' && github.event_name == 'push'
128128 uses : actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
129129 with :
130130 key : ${{ steps.ccache-restore.outputs.cache-primary-key }}
131131 path : ${{ env.CCACHE_DIR }}
132-
132+
133133 - name : Upload Archive Distribution Package
134134 if : always()
135135 uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
@@ -168,7 +168,7 @@ jobs:
168168 name : ${{ needs.openvino_download.outputs.ov_artifact_name }}
169169 path : ${{ env.OV_INSTALL_DIR }}
170170 merge-multiple : true
171-
171+
172172 - name : Setup Python ${{ env.PYTHON_VERSION }}
173173 uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
174174 with :
@@ -177,7 +177,7 @@ jobs:
177177
178178 - name : Install build dependencies
179179 run : brew install coreutils ccache
180-
180+
181181 - name : Setup ccache
182182 id : ccache-restore
183183 uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
@@ -186,10 +186,10 @@ jobs:
186186 restore-keys : |
187187 ${{ runner.os }}-${{ runner.arch }}-ccache-${{ env.TARGET_BRANCH }}
188188 path : ${{ env.CCACHE_DIR }}
189-
189+
190190 - name : Clean ccache stats
191191 run : ccache --zero-stats --show-config
192-
192+
193193 - name : Build Tokenizers Wheel
194194 run : |
195195 python -m pip wheel -v --no-deps --wheel-dir ${{ env.WHEELS_DIR }} \
@@ -214,7 +214,7 @@ jobs:
214214 with :
215215 key : ${{ steps.ccache-restore.outputs.cache-primary-key }}
216216 path : ${{ env.CCACHE_DIR }}
217-
217+
218218 - name : Upload Wheels
219219 if : always()
220220 uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
@@ -332,7 +332,7 @@ jobs:
332332 name : genai_nodejs_bindings
333333 path : ${{ env.INSTALL_DIR }}
334334 if-no-files-found : ' error'
335-
335+
336336 genai_tests_wheel :
337337 name : Python (${{ matrix.test.name}}) Tests (wheel)
338338 needs : [ openvino_download, genai_build_wheel ]
@@ -379,13 +379,13 @@ jobs:
379379 pattern : " {${{ needs.openvino_download.outputs.ov_artifact_name }},genai_wheels}"
380380 path : ${{ env.INSTALL_DIR }}
381381 merge-multiple : true
382-
382+
383383 - name : Setup Python ${{ env.PYTHON_VERSION }}
384384 uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
385385 with :
386386 python-version : ${{ env.PYTHON_VERSION }}
387387 cache : ' pip'
388-
388+
389389 - name : Install OpenVINO wheel
390390 run : |
391391 python3 -m pip install openvino==${{ needs.openvino_download.outputs.ov_version }} ${{ needs.openvino_download.outputs.ov_wheel_source }}
@@ -439,13 +439,13 @@ jobs:
439439 pattern : " {${{ needs.openvino_download.outputs.ov_artifact_name }},genai_cpack_${{ matrix.build-type }},genai_samples_${{ matrix.build-type }},genai_wheels}"
440440 path : ${{ env.INSTALL_DIR }}
441441 merge-multiple : true
442-
442+
443443 - name : Setup Python ${{ env.PYTHON_VERSION }}
444444 uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
445445 with :
446446 python-version : ${{ env.PYTHON_VERSION }}
447447 cache : ' pip'
448-
448+
449449 - name : Install OpenVINO wheel
450450 run : |
451451 python3 -m pip install openvino==${{ needs.openvino_download.outputs.ov_version }} ${{ needs.openvino_download.outputs.ov_wheel_source }}
@@ -457,7 +457,7 @@ jobs:
457457 packages : " openvino_tokenizers[transformers];openvino_genai[testing]"
458458 requirements_files : " ${{ env.SRC_DIR }}/samples/requirements.txt"
459459 local_wheel_dir : ${{ env.INSTALL_DIR }}/wheels
460-
460+
461461 - name : Fix C++ samples permissions
462462 run : chmod +x ${{ env.INSTALL_DIR }}/samples_bin/*
463463
@@ -490,7 +490,7 @@ jobs:
490490 with :
491491 path : ${{ env.SRC_DIR }}
492492 submodules : recursive
493-
493+
494494 - name : Download OpenVINO Artifacts
495495 uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
496496 with :
0 commit comments