-
Notifications
You must be signed in to change notification settings - Fork 528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows support #24
Comments
I've started working on a Rust version that I hope will make supporting Windows easier. If you have any C++ experience on Windows, any tips would be appreciated. |
Well I need this as a library in my C++ program, so I certainly like this being C++ more than Rust ;) Windows support should be easy, should be just a matter of using cmake to generate Visual Studio project files. |
The only two dependencies are espeak-ng and the onnxruntime, so the Visual Studio Project could probably be created by hand pretty easily. It's been so many years that I wouldn't know where to start anymore 😄 |
You could try WSL or Docker. |
Windows support is still a work in progress |
so ive got this working in WSL for windows at least.
i have a RTX 4060 laptop GPU 8GB VRAM CPU will train 1 x epoch in approximately 51 secs you'll see in other posts people having issues on RTX 40 Series cards, namely: it can work (one fix was mentioned in #295) im still tweaking some things to streamline an install on windows, as there were many moving parts so to speak, |
INSTALL WSL
should return a WSL version thats 2.0 or higher (WSL 1.0 wont work for this)
. INSTALL PYTHON 3.10
. IF YOU HAVE AN NVIDIA GPU - INSTALL CUDA TOOLKIT
. INSTALL PIPER TTS & PIPER-TRAIN
if you have a NON-40 series nvidia GPU, you can get away with cuda 11.7, and any torch version between 1.13 up to 2.0.0
if you have a AMD GPU, im not sure,
which outputs this
ALTERNATIVELY
and
. PIPER PRE-TRAINING PRE-REQUISITES
in WSL this folder will be:
. RUNNING PIPER PRE-PROCESSING
Now, the output-dir will contain:
for example, English UK models are:
whatever model you pick, you need to download the "checkpoint" file (.ckpt)
RUNNING PIPER TRAINING
it should read your dataset it'll resume from the checkpoint hopefully starts CUDA successfully. and eventually, if all is working, it will start running through
.
so you should now have
this is everything you need to run in piperTTS!
for example, lets say we
the sensible filenames would be
TROUBLESHOOTING Error - CUFFT_INTERNAL_ERROR with torch Error - ValueError: n must be at least one Error: The number of training batches (X) is smaller than the logging interval Trainer(log_every_n_steps=X)Errorhttps:// Error - Skipped Utterances Error - Trainer.fit stopped: No training batches. #413 Error - The dataloader, train_dataloader, does not have many workers which may be a bottleneck. Consider increasing the value of the num_workers argument` Error How to properly utilize Tensor Cores - torch.set_float32_matmul_precision Error - AssertionError: Not enough columns Problem - Seems to Get Stuck / Take Ages |
last but not least, which is how you can amend some of the pytorch files to get timestamps in your training output |
EDIT: Thankfully, easy. Needed the Python 3.11 (or .10 in the guide) development libraries. Source for this |
Would be nice if this would officially support Windows. So far, there's only a release for "desktop Linux" and "Raspberry Pi 4", not for Windows.
The text was updated successfully, but these errors were encountered: