Skip to content

Commit 20d2b9e

Browse files
ababushkmryzhov
andauthored
Switch Download OpenVINO step to aks-medium-runner (#1889)
Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com>
1 parent 8f1f166 commit 20d2b9e

File tree

4 files changed

+31
-31
lines changed

4 files changed

+31
-31
lines changed

.github/workflows/coverity.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
defaults:
3131
run:
3232
shell: bash
33-
runs-on: aks-linux-2-cores-8gb
33+
runs-on: aks-linux-medium
3434
container:
3535
image: 'openvinogithubactions.azurecr.io/openvino_provider:0.1.0'
36-
volumes:
36+
volumes:
3737
- /mount:/mount
3838
- ${{ github.workspace }}:${{ github.workspace }}
3939

.github/workflows/genai-tools.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
defaults:
3232
run:
3333
shell: bash
34-
runs-on: aks-linux-2-cores-8gb
34+
runs-on: aks-linux-medium
3535
container:
3636
image: 'openvinogithubactions.azurecr.io/openvino_provider:0.1.0'
3737
volumes:

.github/workflows/linux.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
defaults:
4141
run:
4242
shell: bash
43-
runs-on: aks-linux-2-cores-8gb
43+
runs-on: aks-linux-medium
4444
container:
4545
image: 'openvinogithubactions.azurecr.io/openvino_provider:0.1.0'
4646
volumes:
@@ -84,7 +84,7 @@ jobs:
8484
runs-on: aks-linux-4-cores-16gb
8585
container:
8686
image: openvinogithubactions.azurecr.io/ov_build/ubuntu_22_04_x64:${{ needs.openvino_download.outputs.docker_tag }}
87-
volumes:
87+
volumes:
8888
- /mount:/mount
8989
- ${{ github.workspace }}:${{ github.workspace }}
9090
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
@@ -409,8 +409,8 @@ jobs:
409409
marker: 'vlm'
410410
cmd: 'tests/python_tests/samples'
411411
runner: 'aks-linux-8-cores-64gb'
412-
413-
needs: [ openvino_download, genai_build_cmake, genai_build_wheel, genai_build_samples ]
412+
413+
needs: [ openvino_download, genai_build_cmake, genai_build_wheel, genai_build_samples ]
414414
timeout-minutes: 60
415415
defaults:
416416
run:
@@ -426,7 +426,7 @@ jobs:
426426
INSTALL_DIR: ${{ github.workspace }}/ov
427427
SRC_DIR: ${{ github.workspace }}/src
428428
BUILD_DIR: ${{ github.workspace }}/build
429-
429+
430430
steps:
431431
- name: Clone openvino.genai
432432
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -453,7 +453,7 @@ jobs:
453453
packages: "openvino;openvino_tokenizers[transformers];openvino_genai[testing]"
454454
requirements_files: "${{ env.SRC_DIR }}/samples/requirements.txt"
455455
local_wheel_dir: ${{ env.INSTALL_DIR }}/wheels
456-
456+
457457
- name: Test Samples (Python and C++)
458458
run: python -m pytest -vs ${{ env.SRC_DIR }}/${{ matrix.test.cmd }} -m "${{ matrix.test.marker }}"
459459
env:

.github/workflows/mac.yml

+22-22
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ env:
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+
2424
jobs:
2525
openvino_download:
2626
name: Download OpenVINO
@@ -34,7 +34,7 @@ jobs:
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

Comments
 (0)