From 50c3a302b08bc3664a5fefe5361278af3a5d23e2 Mon Sep 17 00:00:00 2001 From: Andrey Babushkin Date: Thu, 4 Dec 2025 17:36:04 +0000 Subject: [PATCH] Switch tests from 8 cores 64 GB RAM Linux runner to 32 GB --- .github/workflows/linux.yml | 18 +++++++++--------- .github/workflows/manylinux_2_28.yml | 14 +++++++------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 4992dfbdde..60881f90d6 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -175,14 +175,14 @@ jobs: -S ${{ env.SRC_DIR }} \ -B ${{ env.BUILD_DIR }} cmake --build ${{ env.BUILD_DIR }} --config ${{ matrix.build-type }} --parallel $(nproc) --verbose - + # Need to remove the default Python 3.11 in /venv from the Path so that CMake uses the correct one from newly created venv$py_version export PATH=${PATH/:\/venv\/bin/} for py_version in "3.10" "3.11" "3.12" "3.13" do rm -rf ${{ env.BUILD_DIR }}/CMakeCache.txt - + echo "Creating venv for python$py_version" python$py_version -m venv venv$py_version source venv$py_version/bin/activate @@ -195,12 +195,12 @@ jobs: -S ${{ env.SRC_DIR }} \ -B ${{ env.BUILD_DIR }} echo "Configuring cmake done for python$py_version" - + 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 }} deactivate done - + cmake --install ${{ env.BUILD_DIR }} --config ${{ matrix.build-type }} --prefix ${{ env.INSTALL_TOOLS_DIR }} --component tools_bin cmake --install ${{ env.BUILD_DIR }} --config ${{ matrix.build-type }} --prefix ${{ env.INSTALL_TESTS_DIR }} --component tests @@ -298,7 +298,7 @@ jobs: - name: Build WWB Wheel run: python -m pip wheel -v --no-deps --wheel-dir ${{ env.WHEELS_DIR }} ${{ env.SRC_DIR }}/tools/who_what_benchmark working-directory: ${{ env.OV_INSTALL_DIR }} - + - name: Build GenAI Wheel run: | for py_version in "3.10" "3.11" "3.12" "3.13" @@ -310,7 +310,7 @@ jobs: ${{ env.SRC_DIR }} done working-directory: ${{ env.OV_INSTALL_DIR }} - + - name: Upload Wheels if: ${{ always() }} uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 @@ -554,7 +554,7 @@ jobs: defaults: run: shell: bash - runs-on: aks-linux-8-cores-64gb + runs-on: aks-linux-8-cores-32gb container: image: openvinogithubactions.azurecr.io/ov_test/ubuntu_22_04_x64:${{ needs.openvino_download.outputs.docker_tag }} volumes: @@ -628,7 +628,7 @@ jobs: marker: 'vlm' cmd: 'tests/python_tests/samples' run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).VLM_samples.test }} - runner: 'aks-linux-8-cores-64gb' + runner: 'aks-linux-8-cores-32gb' - name: 'Rag' marker: 'rag' cmd: 'tests/python_tests/samples' @@ -879,7 +879,7 @@ jobs: timeout-minutes: 45 defaults: run: - shell: bash + shell: bash runs-on: aks-linux-4-cores-16gb container: image: openvinogithubactions.azurecr.io/ov_build/ubuntu_22_04_x64:${{ needs.openvino_download.outputs.docker_tag }} diff --git a/.github/workflows/manylinux_2_28.yml b/.github/workflows/manylinux_2_28.yml index 5c80d7367e..381abe967d 100644 --- a/.github/workflows/manylinux_2_28.yml +++ b/.github/workflows/manylinux_2_28.yml @@ -176,7 +176,7 @@ jobs: for py_version in "3.10" "3.11" "3.12" "3.13" do rm -rf ${{ env.BUILD_DIR }}/CMakeCache.txt - + python_exec_path=$(python$py_version -c "import sys; print(sys.executable)") echo "Configuring cmake for python$py_version" @@ -187,12 +187,12 @@ jobs: -S ${{ env.SRC_DIR }} \ -B ${{ env.BUILD_DIR }} echo "Configuring cmake done for python$py_version" - + /usr/bin/cmake --build ${{ env.BUILD_DIR }} --config ${{ matrix.build-type }} --parallel $(nproc) --verbose /usr/bin/cmake --install ${{ env.BUILD_DIR }} --config ${{ matrix.build-type }} --prefix ${{ env.INSTALL_DIR }} done /usr/bin/cmake --install ${{ env.BUILD_DIR }} --config ${{ matrix.build-type }} --prefix ${{ env.INSTALL_TOOLS_DIR }} --component tools_bin - /usr/bin/cmake --install ${{ env.BUILD_DIR }} --config ${{ matrix.build-type }} --prefix ${{ env.INSTALL_TESTS_DIR }} --component tests + /usr/bin/cmake --install ${{ env.BUILD_DIR }} --config ${{ matrix.build-type }} --prefix ${{ env.INSTALL_TESTS_DIR }} --component tests env: CXXFLAGS: "-Wno-dangling-reference -fno-lto" # bug in gcc-14: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532, https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113485 CFLAGS: "-Wno-dangling-reference -fno-lto" # bug in gcc-14: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532, https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113485 @@ -209,7 +209,7 @@ jobs: name: genai_archive_${{ matrix.build-type }} path: ${{ env.BUILD_DIR }}/${{ env.GENAI_ARCHIVE_NAME }} if-no-files-found: 'error' - + - name: Upload Tools if: always() uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 @@ -360,7 +360,7 @@ jobs: CXXFLAGS: "-Wno-dangling-reference -fno-lto" # bug in gcc-14: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532, https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113485 CFLAGS: "-Wno-dangling-reference -fno-lto" # bug in gcc-14: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532, https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113485 LDFLAGS: "-fno-lto" # bug in gcc-14: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113485 - + - name: Build GenAI Node.js bindings run: /usr/bin/cmake --build ${{ env.BUILD_DIR }} --config ${{ matrix.build-type }} --parallel $(nproc) --verbose @@ -440,7 +440,7 @@ jobs: storage_dir: ${{ env.BASE_PRODUCT_TYPE }}_${{ matrix.build-type }} storage_root: ${{ env.ARTIFACTS_SHARE }} product_name: ${{ github.event.repository.name }} - + genai_tests_wheel: name: Python (${{ matrix.test.name}}) Tests (wheel) needs: [ smart_ci, openvino_download, genai_build_wheel ] @@ -495,7 +495,7 @@ jobs: defaults: run: shell: bash - runs-on: aks-linux-8-cores-64gb + runs-on: aks-linux-8-cores-32gb container: image: openvinogithubactions.azurecr.io/ov_test/ubuntu_22_04_x64:${{ needs.openvino_download.outputs.docker_tag }} volumes: