From 5c65fd36c8a45dbe9e69055b5705c6a8fc569965 Mon Sep 17 00:00:00 2001 From: GreshAnt <138433612+GreshAnt@users.noreply.github.com> Date: Sun, 10 Mar 2024 00:54:56 +0800 Subject: [PATCH 1/3] Update README.md --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e3205c1b..7c8b413a 100644 --- a/README.md +++ b/README.md @@ -144,6 +144,7 @@ Underlined "TTS*" and "Judy*" are **internal** 🐸TTS models that are not relea You can also help us implement more models. ## Installation +# Linux 🐸TTS is tested on Ubuntu 18.04 with **python >= 3.9, < 3.12.**. If you are only interested in [synthesizing speech](https://tts.readthedocs.io/en/latest/inference.html) with the released 🐸TTS models, installing from PyPI is the easiest option. @@ -165,8 +166,16 @@ If you are on Ubuntu (Debian), you can also run following commands for installat $ make system-deps # intended to be used on Ubuntu (Debian). Let us know if you have a different OS. $ make install ``` +# Windows -If you are on Windows, 👑@GuyPaddock wrote installation instructions [here](https://stackoverflow.com/questions/66726331/how-can-i-run-mozilla-tts-coqui-tts-training-with-cuda-on-a-windows-system). +🐸TTS is on python 3.11.x +Download CUDA Toolkit 12.1 on https://developer.nvidia.com/cuda-12-1-0-download-archive +Download cuDNN 8.9.4 for cuda12.x https://developer.nvidia.com/rdp/cudnn-archive +Download the latest 64-bit version of eSpeak NG (no version constraints :-) ). +Download the latest 64-bit version of Git for Windows (no version constraints :-) ). +```powershell + +``` ## Docker Image From c8e2b745c49f9ee415b93e29236a66c59feb6767 Mon Sep 17 00:00:00 2001 From: GreshAnt <138433612+GreshAnt@users.noreply.github.com> Date: Sun, 10 Mar 2024 01:07:46 +0800 Subject: [PATCH 2/3] Update README.md --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7c8b413a..e3d741b1 100644 --- a/README.md +++ b/README.md @@ -169,11 +169,20 @@ $ make install # Windows 🐸TTS is on python 3.11.x -Download CUDA Toolkit 12.1 on https://developer.nvidia.com/cuda-12-1-0-download-archive -Download cuDNN 8.9.4 for cuda12.x https://developer.nvidia.com/rdp/cudnn-archive +Download CUDA Toolkit 12.1 on https://developer.nvidia.com/cuda-12-1-0-download-archive. + +Download cuDNN 8.9.4 for cuda12.x https://developer.nvidia.com/rdp/cudnn-archive. And extract to C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\cuda + Download the latest 64-bit version of eSpeak NG (no version constraints :-) ). + Download the latest 64-bit version of Git for Windows (no version constraints :-) ). + ```powershell +pip install virtualenv +virtualenv venv +./venv/Scripts/activate.bat +pip install -r requirements.txt +pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121 ``` From a79d2ce7bc4c281ecad1dfc228eb485b2b429cb6 Mon Sep 17 00:00:00 2001 From: GreshAnt <138433612+GreshAnt@users.noreply.github.com> Date: Sun, 10 Mar 2024 01:10:58 +0800 Subject: [PATCH 3/3] Update README.md --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e3d741b1..62671964 100644 --- a/README.md +++ b/README.md @@ -183,8 +183,27 @@ virtualenv venv ./venv/Scripts/activate.bat pip install -r requirements.txt pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121 - ``` +Then, create a file that named 'test.py' + +```test.py +import torch +x = torch.rand(5, 3) +print(x) +print(torch.cuda.is_available()) +``` +Run the script via and confirm the output looks like this (the first part should have just random numbers, but the last line must read ; if it does not, CUDA is not installed properly) + +```terminal +tensor([[0.2141, 0.7808, 0.9298], + [0.3107, 0.8569, 0.9562], + [0.2878, 0.7515, 0.5547], + [0.5007, 0.6904, 0.4136], + [0.2443, 0.4158, 0.4245]]) +True +``` + +If the last word is "True" that means you installed it successfully. ## Docker Image