Merge pull request #68 from Spencer-Dawson/patch-1

Added ROCm Install instructions to README
This commit is contained in:
oobabooga 2023-02-11 07:56:30 -03:00 committed by GitHub
commit 1e97cb9570
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,8 +42,13 @@ pip install -r requirements.txt
The third line assumes that you have an NVIDIA GPU. The third line assumes that you have an NVIDIA GPU.
* If you have an AMD GPU, you should install the ROCm version of pytorch instead. * If you have an AMD GPU, replace the third command with this one:
* If you are running in CPU mode, you just need the standard pytorch and should replace the third command with this one:
```
pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/rocm5.2
```
* If you are running in CPU mode, replace the third command with this one:
``` ```
conda install pytorch torchvision torchaudio git -c pytorch conda install pytorch torchvision torchaudio git -c pytorch