Skip to content

Commit

Permalink
pin torch version until matgl release
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielYang59 committed Aug 2, 2024
1 parent e6cbf90 commit 215c888
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,10 @@ jobs:
- name: Install pymatgen and dependencies
run: |
micromamba activate pmg
# TODO remove temporary fix. added since uv install torch is flaky.
# TODO1: remove temporary fix. added since uv install torch is flaky.
# track https://github.com/astral-sh/uv/issues/1921 for resolution
pip install torch --upgrade
# TODO2: remove touch version pin upon new matgl release
pip install torch==2.2.1 --upgrade
uv pip install numpy cython
uv pip install --editable '.[${{ matrix.config.extras }}]' --resolution=${{ matrix.config.resolution }}
Expand Down

0 comments on commit 215c888

Please sign in to comment.