Use pip instead of conda for pytorch

This commit is contained in:
oobabooga 2023-03-18 11:56:04 -03:00 committed by GitHub
parent a0b1a30fd5
commit d2a7fac8ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,9 +63,9 @@ conda activate textgen
| System | GPU | Command |
|--------|---------|---------|
| Linux/WSL | NVIDIA | `conda install torchvision=0.14.1 torchaudio=0.13.1 pytorch-cuda=11.7 -c pytorch -c nvidia` |
| Linux/WSL | NVIDIA | `pip3 install torch torchvision torchaudio` |
| Linux | AMD | `pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.4.2` |
| MacOS + MPS (untested) | Any | `conda install pytorch torchvision torchaudio -c pytorch` |
| MacOS + MPS (untested) | Any | `pip3 install torch torchvision torchaudio` |
The up to date commands can be found here: https://pytorch.org/get-started/locally/.