Running on Windows using WSL - diskrotrepo/music GitHub Wiki

First Time (Set aside 30 minutes)

Should automatically install Ubuntu 24

wsl --install 

Upgrade your distro

sudo apt-get update && sudo apt-get upgrade -y

Install tooling required to run DiffRhythm

sudo apt install build-essential cmake espeak-ng -y

Install Conda ("yes" when prompted, otherwise enter to accept defaults)

sudo wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /opt/miniconda-installer.sh
bash /opt/miniconda-installer.sh
source ~/.bashrc

Clone DiffRhythm

git clone https://github.com/diskrotrepo/DiffRhythm.git
cd DiffRhythm

conda create -n diffrhythm python=3.10
conda activate diffrhythm
conda install -c conda-forge libstdcxx-ng
pip install -r requirements.txt

Running (First time will download all the required models)

You will want to copy the sample start file start.sample.sh and then update the values to fit your environment.

cp start.sample.sh start.sh
bash start.sh

Every other time

wsl --install
cd DiffRhythm/
bash start.sh

Find Output from Windows

explorer.exe .

This should open an explorer window to a path like this: \wsl.localhost\Ubuntu\home<username>\DiffRhythm

⚠️ **GitHub.com Fallback** ⚠️