Skip to content

Commit

Permalink
Merge pull request #306 from ACEsuit/develop
Browse files Browse the repository at this point in the history
Warning on float64 training with PyTorch 2.1
  • Loading branch information
ilyes319 authored Jan 24, 2024
2 parents 6df8827 + 480f511 commit 88d49f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ A partial documentation is available at: https://mace-docs.readthedocs.io
Requirements:

- Python >= 3.7
- [PyTorch](https://pytorch.org/) >= 1.12
- [PyTorch](https://pytorch.org/) >= 1.12 **(training with float64 is not supported with PyTorch 2.1)**.

(for openMM, use Python = 3.9)

Expand All @@ -55,7 +55,7 @@ To install via `pip`, follow the steps below:

```sh
pip install --upgrade pip
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 --index-url https://download.pytorch.org/whl/cu118
pip install mace-torch
```

Expand Down Expand Up @@ -91,7 +91,7 @@ python -m venv mace-venv
source mace-venv/bin/activate

# Install PyTorch (for example, for CUDA 11.6 [cu116])
pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116
pip3 install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 --index-url https://download.pytorch.org/whl/cu118

# Clone and install MACE (and all required packages)
git clone https://github.com/ACEsuit/mace.git
Expand Down

0 comments on commit 88d49f9

Please sign in to comment.