Skip to content

Commit fc3c75c

Browse files
authored
Merge pull request ACEsuit#283 from ACEsuit/develop
update installation with PyPI
2 parents e8dc16c + a279a14 commit fc3c75c

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,18 @@ Requirements:
4747

4848
(for openMM, use Python = 3.9)
4949

50+
### pip installation
51+
52+
To install via `pip`, follow the steps below:
53+
54+
```sh
55+
pip install --upgrade pip
56+
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
57+
pip install mace-torch
58+
```
59+
60+
For CPU or MPS (Apple Silicon) installation, use `pip install torch torchvision torchaudio` instead.
61+
5062
### conda installation
5163

5264
If you do not have CUDA pre-installed, it is **recommended** to follow the conda installation process:
@@ -67,7 +79,7 @@ git clone https://github.com/ACEsuit/mace.git
6779
pip install ./mace
6880
```
6981

70-
### pip installation
82+
### pip installation from source
7183

7284
To install via `pip`, follow the steps below:
7385

0 commit comments

Comments
 (0)