Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch Download OpenVINO step to aks-medium-runner #1889

Merged
merged 4 commits into from
Mar 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
defaults:
run:
shell: bash
runs-on: aks-linux-2-cores-8gb
runs-on: aks-linux-medium
container:
image: 'openvinogithubactions.azurecr.io/openvino_provider:0.1.0'
volumes:
volumes:
- /mount:/mount
- ${{ github.workspace }}:${{ github.workspace }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/genai-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
defaults:
run:
shell: bash
runs-on: aks-linux-2-cores-8gb
runs-on: aks-linux-medium
container:
image: 'openvinogithubactions.azurecr.io/openvino_provider:0.1.0'
volumes:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
defaults:
run:
shell: bash
runs-on: aks-linux-2-cores-8gb
runs-on: aks-linux-medium
container:
image: 'openvinogithubactions.azurecr.io/openvino_provider:0.1.0'
volumes:
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
runs-on: aks-linux-4-cores-16gb
container:
image: openvinogithubactions.azurecr.io/ov_build/ubuntu_22_04_x64:${{ needs.openvino_download.outputs.docker_tag }}
volumes:
volumes:
- /mount:/mount
- ${{ github.workspace }}:${{ github.workspace }}
options: -e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING
Expand Down Expand Up @@ -409,8 +409,8 @@ jobs:
marker: 'vlm'
cmd: 'tests/python_tests/samples'
runner: 'aks-linux-8-cores-64gb'
needs: [ openvino_download, genai_build_cmake, genai_build_wheel, genai_build_samples ]

needs: [ openvino_download, genai_build_cmake, genai_build_wheel, genai_build_samples ]
timeout-minutes: 60
defaults:
run:
Expand All @@ -426,7 +426,7 @@ jobs:
INSTALL_DIR: ${{ github.workspace }}/ov
SRC_DIR: ${{ github.workspace }}/src
BUILD_DIR: ${{ github.workspace }}/build

steps:
- name: Clone openvino.genai
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand All @@ -453,7 +453,7 @@ jobs:
packages: "openvino;openvino_tokenizers[transformers];openvino_genai[testing]"
requirements_files: "${{ env.SRC_DIR }}/samples/requirements.txt"
local_wheel_dir: ${{ env.INSTALL_DIR }}/wheels

- name: Test Samples (Python and C++)
run: python -m pytest -vs ${{ env.SRC_DIR }}/${{ matrix.test.cmd }} -m "${{ matrix.test.marker }}"
env:
Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ env:
PYTHON_VERSION: '3.10'
TARGET_BRANCH: ${{ github.base_ref || github.event.merge_group.base_ref || github.ref }}
CCACHE_MAXSIZE: 500Mi

jobs:
openvino_download:
name: Download OpenVINO
Expand All @@ -34,7 +34,7 @@ jobs:
defaults:
run:
shell: bash
runs-on: aks-linux-2-cores-8gb
runs-on: aks-linux-medium
container:
image: 'openvinogithubactions.azurecr.io/openvino_provider:0.1.0'
volumes:
Expand All @@ -48,14 +48,14 @@ jobs:
platform: macos_12_6
commit_packages_to_provide: wheels
revision: latest_nightly

- uses: openvinotoolkit/openvino/.github/actions/openvino_provider@master
id: openvino_latest_download
with:
platform: macos_12_6
commit_packages_to_provide: openvino_js_package.tar.gz
revision: latest_available_commit

genai_build_cmake:
name: Build cpack - ${{ matrix.build-type }}
strategy:
Expand Down Expand Up @@ -91,16 +91,16 @@ jobs:
name: ${{ needs.openvino_download.outputs.ov_artifact_name }}
path: ${{ env.OV_INSTALL_DIR }}
merge-multiple: true

- name: Setup Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: 'pip'

- name: Install build dependencies
run: brew install coreutils ninja ccache

- name: Setup ccache
id: ccache-restore
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
Expand All @@ -109,7 +109,7 @@ jobs:
restore-keys: |
${{ runner.os }}-${{ runner.arch }}-ccache-${{ env.TARGET_BRANCH }}
path: ${{ env.CCACHE_DIR }}

- name: Clean ccache stats
run: ccache --zero-stats --show-config

Expand All @@ -122,14 +122,14 @@ jobs:

- name: Show ccache stats
run: ccache --show-stats

- name: Save ccache
if: always() && steps.ccache-restore.outputs.cache-hit != 'true' && github.event_name == 'push'
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}
path: ${{ env.CCACHE_DIR }}

- name: Upload Archive Distribution Package
if: always()
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
name: ${{ needs.openvino_download.outputs.ov_artifact_name }}
path: ${{ env.OV_INSTALL_DIR }}
merge-multiple: true

- name: Setup Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
Expand All @@ -177,7 +177,7 @@ jobs:

- name: Install build dependencies
run: brew install coreutils ccache

- name: Setup ccache
id: ccache-restore
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
Expand All @@ -186,10 +186,10 @@ jobs:
restore-keys: |
${{ runner.os }}-${{ runner.arch }}-ccache-${{ env.TARGET_BRANCH }}
path: ${{ env.CCACHE_DIR }}

- name: Clean ccache stats
run: ccache --zero-stats --show-config

- name: Build Tokenizers Wheel
run: |
python -m pip wheel -v --no-deps --wheel-dir ${{ env.WHEELS_DIR }} \
Expand All @@ -214,7 +214,7 @@ jobs:
with:
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}
path: ${{ env.CCACHE_DIR }}

- name: Upload Wheels
if: always()
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
Expand Down Expand Up @@ -332,7 +332,7 @@ jobs:
name: genai_nodejs_bindings
path: ${{ env.INSTALL_DIR }}
if-no-files-found: 'error'

genai_tests_wheel:
name: Python (${{ matrix.test.name}}) Tests (wheel)
needs: [ openvino_download, genai_build_wheel ]
Expand Down Expand Up @@ -379,13 +379,13 @@ jobs:
pattern: "{${{ needs.openvino_download.outputs.ov_artifact_name }},genai_wheels}"
path: ${{ env.INSTALL_DIR }}
merge-multiple: true

- name: Setup Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: 'pip'

- name: Install OpenVINO wheel
run: |
python3 -m pip install openvino==${{ needs.openvino_download.outputs.ov_version }} ${{ needs.openvino_download.outputs.ov_wheel_source }}
Expand Down Expand Up @@ -439,13 +439,13 @@ jobs:
pattern: "{${{ needs.openvino_download.outputs.ov_artifact_name }},genai_cpack_${{ matrix.build-type }},genai_samples_${{ matrix.build-type }},genai_wheels}"
path: ${{ env.INSTALL_DIR }}
merge-multiple: true

- name: Setup Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: 'pip'

- name: Install OpenVINO wheel
run: |
python3 -m pip install openvino==${{ needs.openvino_download.outputs.ov_version }} ${{ needs.openvino_download.outputs.ov_wheel_source }}
Expand All @@ -457,7 +457,7 @@ jobs:
packages: "openvino_tokenizers[transformers];openvino_genai[testing]"
requirements_files: "${{ env.SRC_DIR }}/samples/requirements.txt"
local_wheel_dir: ${{ env.INSTALL_DIR }}/wheels

- name: Fix C++ samples permissions
run: chmod +x ${{ env.INSTALL_DIR }}/samples_bin/*

Expand Down Expand Up @@ -490,7 +490,7 @@ jobs:
with:
path: ${{ env.SRC_DIR }}
submodules: recursive

- name: Download OpenVINO Artifacts
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
Expand Down
Loading