From c29bfdf55749372df7d5f9404aac352809dab180 Mon Sep 17 00:00:00 2001 From: Edoardo Altamura <38359901+edoaltamura@users.noreply.github.com> Date: Thu, 2 May 2024 12:26:01 +0100 Subject: [PATCH] Pin torch==2.2.2 in CI to avoid a known error with 2.2.3 --- .github/actions/install-machine-learning/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/install-machine-learning/action.yml b/.github/actions/install-machine-learning/action.yml index 494988b69..17dbee841 100644 --- a/.github/actions/install-machine-learning/action.yml +++ b/.github/actions/install-machine-learning/action.yml @@ -1,6 +1,6 @@ # This code is part of a Qiskit project. # -# (C) Copyright IBM 2021, 2023. +# (C) Copyright IBM 2021, 2024. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory @@ -17,6 +17,7 @@ runs: using: "composite" steps: - run : | + pip install torch==2.2.2 pip install -e .[torch,sparse] pip install -U -c constraints.txt -r requirements-dev.txt shell: bash