Skip to content

Commit

Permalink
pin torch to 2.5.1 in pip & cpu ci/cd config
Browse files Browse the repository at this point in the history
  • Loading branch information
leifdenby committed Jan 28, 2025
1 parent ca56005 commit 36a60e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci-pip-install-and-test-cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ jobs:

- name: Install torch (CPU)
run: |
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
# torch version pinned to 2.5.1 for now so that we avoid the
# downgrade (and then GPU version install) when actually installing
# neural-lam
python -m pip install "torch==2.5.1" --index-url https://download.pytorch.org/whl/cpu
- name: Install package (including dev dependencies)
run: |
Expand Down

0 comments on commit 36a60e6

Please sign in to comment.