Skip to content

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

[CI] [GHA] Fix a dependency conflict in the keras job by pinning of the recently updated dependencies (#33123)

Andrei Kashchikhin022ca9fc4169
diff --git a/.github/workflows/job_keras3_backend.yml b/.github/workflows/job_keras3_backend.yml
index 953b8f70e1b..e3d3471b932 100644
--- a/.github/workflows/job_keras3_backend.yml
+++ b/.github/workflows/job_keras3_backend.yml
@@ -91,7 +91,8 @@ jobs:
working-directory: ${{ env.KERAS_REPO }}
run: |
pip install --upgrade pip setuptools
- pip install -r requirements.txt --upgrade
+ # Specify grain's version to avoid problems described in the 177685 ticket
+ pip install -r requirements.txt grain==0.2.14 --upgrade
pip install --no-deps tf_keras==2.18.0
# make sure that no other keras is installed via pip
pip uninstall -y keras keras-nightly
diff --git a/.github/workflows/ubuntu_22.yml b/.github/workflows/ubuntu_22.yml
index 7ee27fe1875..d57ae8bea79 100644
--- a/.github/workflows/ubuntu_22.yml
+++ b/.github/workflows/ubuntu_22.yml
@@ -378,8 +378,7 @@ jobs:
Keras3_OpenVINO_Backend:
name: Keras 3 OpenVINO Backend Tests
- # if: fromJSON(needs.smart_ci.outputs.affected_components).Python_API.test
- if: ${{ 'false' }} # Ticket: 177685
+ if: fromJSON(needs.smart_ci.outputs.affected_components).Python_API.test
needs: [ Docker, Build, Smart_CI, Openvino_tokenizers ]
uses: ./.github/workflows/job_keras3_backend.yml
with: