Skip to content

Commit

Permalink
fix(reqs): bump to cuda 11.8
Browse files Browse the repository at this point in the history
  • Loading branch information
roedoejet committed Nov 11, 2023
1 parent e828331 commit a035dbb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
sudo apt-get install -y libsndfile1
- name: Install dependencies and package
run: |
CUDA_TAG=cu117 pip install -r requirements.torch.txt --find-links https://download.pytorch.org/whl/torch_stable.html
CUDA_TAG=cu118 pip install -r requirements.torch.txt --find-links https://download.pytorch.org/whl/torch_stable.html
pip install cython
pip install -e .
- name: Install documentation dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
sudo apt-get install -y libsndfile1
- name: Install dependencies and package
run: |
CUDA_TAG=cu117 pip install -r requirements.torch.txt --find-links https://download.pytorch.org/whl/torch_stable.html
CUDA_TAG=cu118 pip install -r requirements.torch.txt --find-links https://download.pytorch.org/whl/torch_stable.html
pip install -r requirements.test.txt
pip install cython
pip install -e .
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ It is largely based off the FastSpeech2/Fastpitch models.

### Environment
We recommend using Conda and Python 3.9. To do that, create a new environment,
replacing cu117 (for CUDA 11.7) by your actual CUDA version's tag:
replacing cu118 (for CUDA 11.8) by your actual CUDA version's tag (118 or higher):

```sh
conda create --name EveryVoice python=3.9
conda activate EveryVoice
CUDA_TAG=cu117 pip install -r requirements.torch.txt --find-links https://download.pytorch.org/whl/torch_stable.html
CUDA_TAG=cu118 pip install -r requirements.torch.txt --find-links https://download.pytorch.org/whl/torch_stable.html
pip install cython
```

Expand Down
2 changes: 1 addition & 1 deletion requirements.torch.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# these requirements have to be installed ahead of time in your environment and from a different URL:
# CUDA_TAG=cu117 pip install -r requirements.torch.txt --find-links https://download.pytorch.org/whl/torch_stable.html
# CUDA_TAG=cu118 pip install -r requirements.torch.txt --find-links https://download.pytorch.org/whl/torch_stable.html
torch==2.1.0+${CUDA_TAG}
torchaudio==2.1.0+${CUDA_TAG}

0 comments on commit a035dbb

Please sign in to comment.