Skip to content

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

[CI] [GHA] Switch PyTorch models tests to self-hosted runners (#28972)

Andrei Kashchikhinb5e1d3a19137
diff --git a/.github/dockerfiles/docker_tag b/.github/dockerfiles/docker_tag
index 05e181643ab..ce4f85afe44 100644
--- a/.github/dockerfiles/docker_tag
+++ b/.github/dockerfiles/docker_tag
@@ -1 +1 @@
-pr-29066
+pr-28972
diff --git a/.github/dockerfiles/ov_test/ubuntu_22_04_x64/Dockerfile b/.github/dockerfiles/ov_test/ubuntu_22_04_x64/Dockerfile
index 2c68ea12d7b..e2671de629f 100644
--- a/.github/dockerfiles/ov_test/ubuntu_22_04_x64/Dockerfile
+++ b/.github/dockerfiles/ov_test/ubuntu_22_04_x64/Dockerfile
@@ -32,6 +32,13 @@ RUN apt-get update && \
libhdf5-dev \
# For TF Models tests
wget \
+ # libGL for PyTorch Models tests
+ ffmpeg \
+ libsm6 \
+ libxext6 \
+ libgl1 \
+ libgl1-mesa-glx \
+ libglib2.0-0 \
&& \
rm -rf /var/lib/apt/lists/*
diff --git a/.github/workflows/ubuntu_22.yml b/.github/workflows/ubuntu_22.yml
index 2ab77fff5db..78d3da9d41c 100644
--- a/.github/workflows/ubuntu_22.yml
+++ b/.github/workflows/ubuntu_22.yml
@@ -395,37 +395,35 @@ jobs:
model_scope: 'nightly_hf'
container: '{"image": "${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_22_04_x64 }}", "volumes": ["/mount:/mount"]}'
- # TODO: Switch back to self-hosted runners
- # container:
- # image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:22.04
- # volumes:
- # - /mount:/mount
PyTorch_Models_Tests:
name: PyTorch Models tests
if: ${{ github.event_name != 'schedule' && fromJSON(needs.smart_ci.outputs.affected_components).PyTorch_FE.test }}
- needs: [ Build, Smart_CI, Openvino_tokenizers ]
+ needs: [ Docker, Build, Smart_CI, Openvino_tokenizers ]
uses: ./.github/workflows/job_pytorch_models_tests.yml
with:
- runner: 'ubuntu-22.04-8-cores'
+ runner: 'aks-linux-8-cores-64gb'
model_scope: 'precommit'
+ container: '{"image": "${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_22_04_x64 }}", "volumes": ["/mount:/mount"]}'
PyTorch_Models_Tests_Nightly_Scope1:
name: PyTorch Models Nightly Scope1 tests
if: ${{ github.event_name == 'schedule' }}
- needs: [ Build, Smart_CI, Openvino_tokenizers ]
+ needs: [ Docker, Build, Smart_CI, Openvino_tokenizers ]
uses: ./.github/workflows/job_pytorch_models_tests.yml
with:
- runner: 'ubuntu-22.04-16-cores'
+ runner: 'aks-linux-16-cores-64gb'
model_scope: 'nightly_scope1'
+ container: '{"image": "${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_22_04_x64 }}", "volumes": ["/mount:/mount"]}'
PyTorch_Models_Tests_Nightly_Scope2:
name: PyTorch Models Nightly Scope2 tests
if: ${{ github.event_name == 'schedule' }}
- needs: [ Build, Smart_CI, Openvino_tokenizers ]
+ needs: [ Docker, Build, Smart_CI, Openvino_tokenizers ]
uses: ./.github/workflows/job_pytorch_models_tests.yml
with:
- runner: 'ubuntu-22.04-16-cores'
+ runner: 'aks-linux-16-cores-64gb'
model_scope: 'nightly_scope2'
+ container: '{"image": "${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_22_04_x64 }}", "volumes": ["/mount:/mount"]}'
JAX_Models_Tests_Precommit:
name: JAX/Flax Models tests