File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,12 @@ python -m ipykernel install --user --name nff --display-name "Python [conda env:
1717```
1818
1919## Installation
20+ Install Pytorch separately.
21+ ``` bash
22+ # Torch 2.4.0 with CUDA 12.1
23+ pip install torch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 --index-url https://download.pytorch.org/whl/cu121
24+ ```
25+
2026If you would like to use NFF as a package (no development), you can do so by running the following command in the root directory of the repository:
2127``` bash
2228pip install .
@@ -25,6 +31,7 @@ pip install .
2531Use the ` -e ` flag if you want to develop NFF:
2632``` bash
2733pip install -e ' .[dev]'
34+ pip install mace-torch=0.3.7 # install mace-torch with the right version this is temporary work around due to the UMA compatibility
2835```
2936
3037## Usage
Original file line number Diff line number Diff line change @@ -12,14 +12,12 @@ readme = "README.md"
1212license = { text = " MIT" }
1313dependencies = [
1414 " ase>=3.23.0" ,
15- " numpy >=1.26.4, <2 " ,
15+ " numpy >=1.26.4" ,
1616 " pymatgen>=2023.3.10" ,
1717 " rdkit" ,
1818 " scikit-learn" ,
1919 " scipy" ,
20- " torch >= 2.2.0, < 2.6.0" ,
2120 " tqdm" ,
22- " mace-torch >=0.3.4, <=0.3.7" ,
2321 " chgnet==0.3.5" ,
2422 " e3fp" ,
2523 " nglview" ,
You can’t perform that action at this time.
0 commit comments