Skip to content

Commit

Permalink
added torch-specific requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
wolearyc committed Aug 22, 2024
1 parent 8d8af1b commit 9792cba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r torch_extra_requirements.txt
- name: Analyzing the code with pylint
run: |
pylint $(git ls-files '*.py')
Expand Down
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,3 @@ setuptools
spglib
tabulate
torch
torch-geometric
torch-sparse
4 changes: 4 additions & 0 deletions torch_extra_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# We include these in an extra file, as torch must be pre-installed to install
# torch-sparse
torch-geometric
torch-sparse

0 comments on commit 9792cba

Please sign in to comment.