Skip to content

Commit

Permalink
Pin torch==2.2.2 in CI to avoid a known error with 2.2.3 (#796)
Browse files Browse the repository at this point in the history
(cherry picked from commit f98a89c)
  • Loading branch information
edoaltamura authored and mergify[bot] committed May 13, 2024
1 parent 5b341e8 commit 9b06add
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/install-machine-learning/action.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit 9b06add

Please sign in to comment.