Skip to content

Commit

Permalink
Merge pull request #173 from RaulPPelaez/torch2
Browse files Browse the repository at this point in the history
Updating dependencies
  • Loading branch information
stefdoerr committed May 22, 2023
2 parents 664a4d2 + 0637b1a commit 03d7881
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 19 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,13 @@ jobs:
- name: Check out
uses: actions/checkout@v2

- name: Cache conda packages
uses: actions/cache@v1
with:
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }}
env:
# Increase this value to reset cache if environment.yml has not changed
CACHE_NUMBER: 2

- name: Create a conda environment
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: torchmd-net
channels: conda-forge,defaults # Need for Mamba
environment-file: environment.yml
uses-mamba: true
miniforge-variant: Mambaforge
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
use-mamba: true

- name: Install the package
run: pip install .
Expand Down
14 changes: 7 additions & 7 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ channels:
dependencies:
- h5py
- matplotlib
- nnpops==0.2
- nnpops==0.5
- pip
- pytorch==1.11.0
- pytorch_cluster==1.5.9
- pytorch==2.0.*
- pytorch_cluster==1.6.1
- pytorch_geometric==2.0.3
- pytorch_scatter==2.0.8
- pytorch_sparse==0.6.10
- pytorch_scatter==2.1.1
- pytorch_sparse==0.6.17
- pytorch-lightning==1.6.3
- torchmetrics==0.8.2
- torchmetrics==0.11.4
- tqdm
# Dev tools
- flake8
- pytest
- psutil
- psutil

0 comments on commit 03d7881

Please sign in to comment.