Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

Using runners with less RAM where possible (#33127)

Andrey Babushkine4b55ef59628
diff --git a/.github/workflows/job_build_windows.yml b/.github/workflows/job_build_windows.yml
index 4eb8fe03fbe..ba6249ce3ff 100644
--- a/.github/workflows/job_build_windows.yml
+++ b/.github/workflows/job_build_windows.yml
@@ -43,8 +43,8 @@ jobs:
runs-on: ${{ inputs.runner }}
env:
CMAKE_BUILD_TYPE: ${{ inputs.build-type }}
- CMAKE_CXX_COMPILER_LAUNCHER: ccache
- CMAKE_C_COMPILER_LAUNCHER: ccache
+ CMAKE_CXX_COMPILER_LAUNCHER: ${{ inputs.build-type != 'Debug' && 'ccache' || '' }}
+ CMAKE_C_COMPILER_LAUNCHER: ${{ inputs.build-type != 'Debug' && 'ccache' || '' }}
CCACHE_REMOTE_DIR: C:\\mount\\caches\\ccache\\windows2022_x86_64_${{ inputs.build-type }}\\${{ inputs.target-branch }}
CCACHE_DIR: ${{ github.workspace }}\\ccache
CCACHE_MAXSIZE: 3G
@@ -84,7 +84,7 @@ jobs:
pip-cache-path: ${{ env.PIP_CACHE_PATH }}
should-setup-pip-paths: 'true'
self-hosted-runner: 'true'
-
+
- name: Setup NodeJS
if: ${{ fromJSON(inputs.affected-components).JS_API }}
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
@@ -137,6 +137,7 @@ jobs:
python3 -m pip install certifi
- name: Download and install ccache
+ if: ${{ inputs.build-type != 'Debug' }}
run: |
Invoke-WebRequest -Uri 'https://github.com/ccache/ccache/releases/download/v4.9.1/ccache-4.9.1-windows-x86_64.zip' -OutFile 'ccache.zip'
Expand-Archive -Path 'ccache.zip' -DestinationPath 'C:\temp\ccache'
@@ -156,6 +157,7 @@ jobs:
- name: Setup ccache
uses: ./openvino/.github/actions/cache
+ if: ${{ inputs.build-type != 'Debug' }}
with:
save-always: ${{ github.event_name == 'push' && 'true' || 'false' }}
cleanup-always: ${{ github.event_name == 'push' && 'true' || 'false' }}
@@ -183,12 +185,14 @@ jobs:
Invoke-Expression $cmakeCommand
- name: Clean ccache stats
+ if: ${{ inputs.build-type != 'Debug' }}
run: '& ccache --zero-stats'
- name: Cmake build - OpenVINO
run: cmake --build ${{ env.BUILD_DIR }} --config ${{ env.CMAKE_BUILD_TYPE }} --parallel $ENV:NUMBER_OF_PROCESSORS --verbose
- name: Show ccache stats
+ if: ${{ inputs.build-type != 'Debug' }}
run: '& ccache --show-stats'
- name: Cmake install - OpenVINO
@@ -274,7 +278,7 @@ jobs:
DestinationPath = "${{ env.BUILD_DIR }}/developer_package.zip"
}
Compress-Archive @compress
-
+
$file=Get-ChildItem -Path "${{ env.INSTALL_TEST_DIR }}"
$compress = @{
Path = $file
@@ -320,7 +324,7 @@ jobs:
DestinationPath = "${{ env.BUILD_DIR }}/openvino_js_package.zip"
}
Compress-Archive @compress
-
+
- name: Pack openvino_node_npm_package
if: ${{ fromJSON(inputs.affected-components).JS_API }}
run: |
@@ -368,7 +372,7 @@ jobs:
name: openvino_tests
path: ${{ env.BUILD_DIR }}/openvino_tests.zip
if-no-files-found: 'error'
-
+
- name: Upload OpenVINO developer package
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
with:
diff --git a/.github/workflows/ubuntu_22.yml b/.github/workflows/ubuntu_22.yml
index d57ae8bea79..46bb854ab48 100644
--- a/.github/workflows/ubuntu_22.yml
+++ b/.github/workflows/ubuntu_22.yml
@@ -414,7 +414,7 @@ jobs:
needs: [ Docker, Build, Smart_CI, Openvino_tokenizers ]
uses: ./.github/workflows/job_tensorflow_models_tests.yml
with:
- runner: 'aks-linux-8-cores-64gb'
+ runner: 'aks-linux-8-cores-32gb'
model_scope: 'nightly_tf_hub'
image: ${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_22_04_x64 }}
@@ -424,7 +424,7 @@ jobs:
needs: [ Docker, Build, Smart_CI, Openvino_tokenizers ]
uses: ./.github/workflows/job_tensorflow_models_tests.yml
with:
- runner: 'aks-linux-8-cores-64gb'
+ runner: 'aks-linux-8-cores-32gb'
model_scope: 'nightly_hf'
image: ${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_22_04_x64 }}
@@ -434,7 +434,7 @@ jobs:
needs: [ Docker, Build, Smart_CI, Openvino_tokenizers ]
uses: ./.github/workflows/job_pytorch_models_tests.yml
with:
- runner: 'aks-linux-8-cores-64gb'
+ runner: 'aks-linux-8-cores-32gb'
model_scope: 'precommit'
image: ${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_22_04_x64 }}
diff --git a/.github/workflows/windows_conditional_compilation.yml b/.github/workflows/windows_conditional_compilation.yml
index 95005472d6b..24f85a3ff3e 100644
--- a/.github/workflows/windows_conditional_compilation.yml
+++ b/.github/workflows/windows_conditional_compilation.yml
@@ -330,7 +330,7 @@ jobs:
defaults:
run:
shell: pwsh
- runs-on: aks-win-32-cores-128gb-build
+ runs-on: aks-win-16-cores-32gb-build
env:
CMAKE_BUILD_TYPE: 'Release'
CMAKE_TOOLCHAIN_FILE: "${{ github.workspace }}\\openvino\\cmake\\toolchains\\onecoreuap.toolchain.cmake"
diff --git a/.github/workflows/windows_vs2022_debug.yml b/.github/workflows/windows_vs2022_debug.yml
index 731f1461f8e..12696c05273 100644
--- a/.github/workflows/windows_vs2022_debug.yml
+++ b/.github/workflows/windows_vs2022_debug.yml
@@ -65,7 +65,7 @@ jobs:
if: "!needs.smart_ci.outputs.skip_workflow"
uses: ./.github/workflows/job_build_windows.yml
with:
- runner: 'aks-win-32-cores-128gb-build'
+ runner: 'aks-win-32-cores-64gb-build'
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
build-type: 'Debug'
target-branch: ${{ needs.smart_ci.outputs.target_branch }}