Webux Lab - Blog
Webux Lab Logo

Webux Lab

By Studio Webux

Search

By Tommy Gingras

Last update 2023-08-11

AIWindows 10

My notes to install tortoise TTS on Windows 10

Materials

  • AMD Ryzen 9 5900x
  • 24GB RAM
  • NVME Drives
  • NVIDIA GeForce RTX 4070 Ti
    • Driver version: 31.0.15.3179
    • Driver date: 2023-04-25
    • DirectX version: 12 (FL 12.1)
      • Cuda: 11.7
  • Windows is a Virtual Machine (Using Virsh, the GPU is passthrough and CPU are pinned, I also use stable diffusion on this VM without problem.)

Setup

I followed the official documentation from the README.md (Master branch commit #3c4d9c51316cd2421cc2dea11ac3a7a2d3394acd)

But I had few issues in regards of dependencies.

So here are the steps that worked:

  1. Install conda : https://docs.conda.io/en/latest/miniconda.html (Latest version)

  2. Install Cuda Version 11.7

  3. Open the Anaconda Powershell Prompt (miniconda3) (Without this terminal, I wasn't able to install everything.)

Launch the following commands:

git clone https://github.com/neonbjb/tortoise-tts.git
cd tortoise-tts/

conda create --name tortoise-tts python=3.9
conda activate tortoise-tts

conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia
conda install -c conda-forge pysoundfile
conda install transformers=4.29.2
conda install numba inflect

python setup.py install
conda install -c conda-forge pysoundfile

To test you setup, you should follow the official documentation.


Happy Cloning !