Skip to content

Commit c11726c

Browse files
committed
Require torch in requirements.txt
1 parent 7346e97 commit c11726c

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

requirements.txt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1-
# See install/README.md
2-
##torch
1+
# Most install sites will want to use an already installed torch or install a
2+
# specific version before installing mala, e.g. via
3+
#
4+
# pip install --extra-index-url https://download.pytorch.org/whl/cu<cuda_version> torch==<torch_version>
5+
#
6+
# The requirement below makes sure we have torch installed, even if that will
7+
# pull the latest GPU torch in case the user's environment may be misconfigured
8+
# such that a pre-installed torch is not found.
9+
torch
310

411
ase
512
mpmath

0 commit comments

Comments
 (0)