-
Notifications
You must be signed in to change notification settings - Fork 280
[CI] [GHA] Migrate mac
workflow to mac-14 arm64
#2533
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
Open
akashchi
wants to merge
23
commits into
openvinotoolkit:master
Choose a base branch
from
akashchi:ci/gha/migrate-macos-to-arm
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+38
−27
Open
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
f6679eb
update to mac-14 arm64
akashchi e7afd2c
update target arch
akashchi ac8e042
Merge branch 'master' into ci/gha/migrate-macos-to-arm
Wovchena 92f235f
use dedicated product type
akashchi fedcae6
Merge branch 'ci/gha/migrate-macos-to-arm' of https://github.com/akas…
akashchi e77193b
more time
akashchi 59fe335
Merge remote-tracking branch 'upstream/master' into ci/gha/migrate-ma…
akashchi 292273e
use larger runner
akashchi 90cbf5c
use arm64
akashchi 2d0ba4d
provide arch
akashchi 603eb8b
use larger
akashchi ae99735
Merge remote-tracking branch 'upstream/master' into ci/gha/migrate-ma…
akashchi 0139b03
set parallel
akashchi 117d688
use nproc for nodejs
akashchi 81c137d
use -1
akashchi 632999e
Merge remote-tracking branch 'upstream/master' into ci/gha/migrate-ma…
akashchi 81504b0
skip some tests
akashchi 7236ac1
use large
akashchi 94802ee
rm core count
akashchi 6437370
merge
akashchi f5dc051
rm unused
akashchi b23f32e
rm +cpu for mac arm64
akashchi ac00c4b
Merge remote-tracking branch 'upstream/master' into ci/gha/migrate-ma…
akashchi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -1,4 +1,4 @@ | ||||||
name: macOS (13, Python 3.10) | ||||||
name: macOS (14, Python 3.10) | ||||||
on: | ||||||
workflow_dispatch: | ||||||
pull_request: | ||||||
|
@@ -19,7 +19,7 @@ env: | |||||
MACOSX_DEPLOYMENT_TARGET: '11.0' | ||||||
PYTHON_VERSION: '3.10' | ||||||
TARGET_BRANCH: ${{ github.base_ref || github.event.merge_group.base_ref || github.ref }} | ||||||
BASE_PRODUCT_TYPE: public_darwin | ||||||
BASE_PRODUCT_TYPE: public_macos_arm64 | ||||||
CCACHE_MAXSIZE: 500Mi | ||||||
HF_HOME: ~/.cache/hf | ||||||
OV_CACHE: ~/.cache/ov_cache/194c936 | ||||||
|
@@ -82,7 +82,8 @@ jobs: | |||||
- uses: openvinotoolkit/openvino/.github/actions/openvino_provider@master | ||||||
id: openvino_download | ||||||
with: | ||||||
platform: macos_12_6 | ||||||
platform: macos_14_7 | ||||||
arch: 'arm64' | ||||||
commit_packages_to_provide: wheels,developer_package.tar.gz,openvino_node_npm_package.tar.gz | ||||||
revision: latest_available_commit | ||||||
|
||||||
|
@@ -97,7 +98,7 @@ jobs: | |||||
defaults: | ||||||
run: | ||||||
shell: bash | ||||||
runs-on: macos-13 | ||||||
runs-on: macos-14 | ||||||
env: | ||||||
CMAKE_GENERATOR: Ninja | ||||||
CMAKE_CXX_COMPILER_LAUNCHER: ccache | ||||||
|
@@ -149,7 +150,7 @@ jobs: | |||||
with: | ||||||
repos: ${{ env.SRC_DIR }} | ||||||
product_type: ${{ env.BASE_PRODUCT_TYPE }}_${{ matrix.build-type }} | ||||||
target_arch: 'x86_64' | ||||||
target_arch: 'arm64' | ||||||
build_type: ${{ matrix.build-type }} | ||||||
save_to: ${{ env.MANIFEST_PATH }} | ||||||
|
||||||
|
@@ -162,7 +163,7 @@ jobs: | |||||
cmake -DOpenVINODeveloperPackage_DIR=${{ env.OV_INSTALL_DIR }}/developer_package/cmake \ | ||||||
-DENABLE_PYTHON=ON \ | ||||||
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }} \ | ||||||
-S ${{ env.SRC_DIR}} \ | ||||||
-S ${{ env.SRC_DIR }} \ | ||||||
-B ${{ env.BUILD_DIR }} | ||||||
cmake --build ${{ env.BUILD_DIR}} --config ${{ matrix.build-type }} --parallel $(nproc) --verbose | ||||||
cmake --install ${{ env.BUILD_DIR }} --config ${{ matrix.build-type }} --prefix ${{ env.INSTALL_DIR }} | ||||||
|
@@ -217,7 +218,7 @@ jobs: | |||||
defaults: | ||||||
run: | ||||||
shell: bash | ||||||
runs-on: macos-13 | ||||||
runs-on: macos-14-xlarge | ||||||
env: | ||||||
CCACHE_DIR: ${{ github.workspace }}/ccache | ||||||
CMAKE_CXX_COMPILER_LAUNCHER: ccache | ||||||
|
@@ -266,7 +267,7 @@ jobs: | |||||
with: | ||||||
repos: ${{ env.SRC_DIR }} | ||||||
product_type: ${{ env.BASE_PRODUCT_TYPE }}_Release | ||||||
target_arch: 'x86_64' | ||||||
target_arch: 'arm64' | ||||||
build_type: Release | ||||||
save_to: ${{ github.workspace }} | ||||||
|
||||||
|
@@ -318,7 +319,7 @@ jobs: | |||||
defaults: | ||||||
run: | ||||||
shell: bash | ||||||
runs-on: macos-13 | ||||||
runs-on: macos-14 | ||||||
env: | ||||||
OV_INSTALL_DIR: ${{ github.workspace }}/ov | ||||||
INSTALL_DIR: ${{ github.workspace }}/install | ||||||
|
@@ -370,11 +371,11 @@ jobs: | |||||
matrix: | ||||||
build-type: [Release] | ||||||
needs: [ openvino_download ] | ||||||
timeout-minutes: 30 | ||||||
timeout-minutes: 50 | ||||||
defaults: | ||||||
run: | ||||||
shell: bash | ||||||
runs-on: macos-13 | ||||||
runs-on: macos-14 | ||||||
|
||||||
env: | ||||||
SRC_DIR: ${{ github.workspace }}/openvino.genai | ||||||
|
@@ -406,7 +407,7 @@ jobs: | |||||
-DENABLE_JS=ON -DCPACK_GENERATOR=NPM \ | ||||||
-DENABLE_PYTHON=OFF -DENABLE_WHEEL=OFF \ | ||||||
-S ${{ env.SRC_DIR }} -B ${{ env.BUILD_DIR }} | ||||||
cmake --build ${{ env.BUILD_DIR }} --config ${{ matrix.build-type }} --parallel --verbose | ||||||
cmake --build ${{ env.BUILD_DIR }} --config ${{ matrix.build-type }} --parallel $(nproc) --verbose | ||||||
cmake --install ${{ env.BUILD_DIR }} --config ${{ matrix.build-type }} --prefix ${{ env.INSTALL_DIR }} | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
|
||||||
- name: Upload Node.js bindings Build Package | ||||||
|
@@ -426,14 +427,20 @@ jobs: | |||||
matrix: | ||||||
test: | ||||||
- name: 'Whisper' | ||||||
# TODO: skip some tests temporary untill https://github.com/huggingface/datasets/issues/7647 dataset is fixed | ||||||
# TODO: skip some tests temporary until https://github.com/huggingface/datasets/issues/7647 dataset is fixed | ||||||
cmd: 'tests/python_tests/test_whisper_pipeline.py -k "not test_smoke[sample_from_dataset0 and not test_whisper_constructors[sample_from_dataset0 and not test_max_new_tokens[sample_from_dataset0 and not test_language_mode[language and not test_task_mode[sample_from_dataset0 and not test_language_autodetect[sample_from_dataset0 and not test_whisper_config_constructor and not test_language_autodetect[sample_from_dataset1 and not test_language_autodetect[sample_from_dataset2 and not test_initial_prompt_hotwords[sample_from_dataset0 and not test_random_sampling[sample_from_dataset0"' | ||||||
run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).whisper.test }} | ||||||
timeout: 120 | ||||||
- name: 'LLM & VLM' | ||||||
cmd: 'tests/python_tests/test_llm_pipeline.py tests/python_tests/test_llm_pipeline_static.py tests/python_tests/test_vlm_pipeline.py tests/python_tests/test_structured_output.py -p no:cacheprovider' | ||||||
run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).visual_language.test || fromJSON(needs.smart_ci.outputs.affected_components).LLM.test }} | ||||||
timeout: 180 | ||||||
# Only supported on X64 or ARM with SVE support | ||||||
# - name: 'Cacheopt E2E' | ||||||
# cmd: 'tests/python_tests/test_kv_cache_eviction.py' | ||||||
# run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).continuous_batching.test }} | ||||||
# timeout: 240 | ||||||
# Only supported on X64 or ARM with SVE support | ||||||
# - name: 'LLM & VLM' | ||||||
# cmd: 'tests/python_tests/test_llm_pipeline.py tests/python_tests/test_llm_pipeline_static.py tests/python_tests/test_vlm_pipeline.py tests/python_tests/test_structured_output.py' | ||||||
# run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).visual_language.test || fromJSON(needs.smart_ci.outputs.affected_components).LLM.test }} | ||||||
# timeout: 180 | ||||||
- name: 'GGUF Reader tests' | ||||||
cmd: 'tests/python_tests/test_gguf_reader.py' | ||||||
run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).GGUF.test || fromJSON(needs.smart_ci.outputs.affected_components).LLM.test }} | ||||||
|
@@ -442,10 +449,11 @@ jobs: | |||||
cmd: 'tests/python_tests/test_tokenizer.py' | ||||||
run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).tokenizers.test }} | ||||||
timeout: 60 | ||||||
- name: 'API tests' | ||||||
cmd: 'tests/python_tests/test_continuous_batching.py tests/python_tests/test_generation_config.py tests/python_tests/test_sampling.py tests/python_tests/test_text_streamer.py' | ||||||
run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).continuous_batching.test || fromJSON(needs.smart_ci.outputs.affected_components).sampling.test || fromJSON(needs.smart_ci.outputs.affected_components).text_streamer.test }} | ||||||
timeout: 60 | ||||||
# Only supported on X64 or ARM with SVE support | ||||||
# - name: 'API tests' | ||||||
# cmd: 'tests/python_tests/test_continuous_batching.py tests/python_tests/test_generation_config.py tests/python_tests/test_sampling.py tests/python_tests/test_text_streamer.py' | ||||||
# run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).continuous_batching.test || fromJSON(needs.smart_ci.outputs.affected_components).sampling.test || fromJSON(needs.smart_ci.outputs.affected_components).text_streamer.test }} | ||||||
# timeout: 60 | ||||||
- name: 'Rag tests' | ||||||
cmd: 'tests/python_tests/test_rag.py' | ||||||
run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).RAG.test }} | ||||||
|
@@ -457,7 +465,7 @@ jobs: | |||||
defaults: | ||||||
run: | ||||||
shell: bash | ||||||
runs-on: macos-13 | ||||||
runs-on: macos-14 | ||||||
env: | ||||||
INSTALL_DIR: ${{ github.workspace }}/install | ||||||
SRC_DIR: ${{ github.workspace }}/src | ||||||
|
@@ -536,7 +544,7 @@ jobs: | |||||
defaults: | ||||||
run: | ||||||
shell: bash | ||||||
runs-on: macos-13 | ||||||
runs-on: macos-14 | ||||||
env: | ||||||
INSTALL_DIR: ${{ github.workspace }}/ov | ||||||
SRC_DIR: ${{ github.workspace }}/src | ||||||
|
@@ -636,7 +644,7 @@ jobs: | |||||
defaults: | ||||||
run: | ||||||
shell: bash | ||||||
runs-on: macos-13 | ||||||
runs-on: macos-14 | ||||||
env: | ||||||
INSTALL_DIR: ${{ github.workspace }}/ov | ||||||
SRC_DIR: ${{ github.workspace }}/src | ||||||
|
@@ -693,7 +701,7 @@ jobs: | |||||
defaults: | ||||||
run: | ||||||
shell: bash | ||||||
runs-on: macos-13 | ||||||
runs-on: macos-14 | ||||||
|
||||||
env: | ||||||
SRC_DIR: ${{ github.workspace }}/openvino.genai | ||||||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.