This is a DOCKER image for fine tuning xtts on a nvida graphics card
3.5K
This repository contains the athomasson2/fine_tune_xtts:v5 Docker image for fine-tuning XTTS models. This image is configured to work with CUDA for GPU acceleration.
First, pull the Docker image from Docker Hub:
docker pull athomasson2/fine_tune_xtts:v5
/Users/yourname/training).cd /Users/yourname
docker run --gpus all -it -v ${PWD}/training:/tmp/xtts_ft/ athomasson2/fine_tune_xtts:v5
C:\Users\yourname\Documents\FineTune-Xtts).cd C:\Users\yourname\Documents\FineTune-Xtts
docker run --gpus all -it -v ${PWD}\training:/tmp/xtts_ft/ athomasson2/fine_tune_xtts:v5
/home/yourname/training).cd /home/yourname
docker run --gpus all -it -v ${PWD}/training:/tmp/xtts_ft/ athomasson2/fine_tune_xtts:v5
docker run -it -v ${PWD}/training:/tmp/xtts_ft/run/training athomasson2/fine_tune_xtts:v4_cpu
Once the container is running, it will automatically start the XTTS fine-tuning process. The training data should be placed in the bound training directory, which will be accessible inside the container at /tmp/xtts_ft/run/training.
To access the logs and output of the container, simply use the terminal or PowerShell window where the container is running. All outputs and logs will be displayed there.
To stop the Docker container, you can use the CTRL+C command in the terminal or PowerShell window where the container is running.
For more details on how to use Docker, refer to the Docker documentation.
For more details on NVIDIA Container Toolkit for GPU support, refer to the NVIDIA Container Toolkit documentation.
This project is licensed under the MIT License. See the LICENSE file for more details.
When you're done with the fine-tuning process, you can safely close the Docker container:
Ctrl+C in the terminal where the container is running../training/Finished_model_files/This ensures all your work is preserved and easily accessible after the container stops.
This is a DOCKER image for fine tuning xtts on a nvida graphics card
docker run --gpus all -it -v ${PWD}\training:/tmp/xtts_ft/run/training athomasson2/fine_tune_xtts:v1
Is how the docker image is used on windows
That'll make it so that the training docker image folder points to your local folder on your computer named "training", then all the models generated in the program will be saved in that training folder on your computer.
if anything goes wrong the extra needed files you need to download outside of this image are on this huggingface repo
https://huggingface.co/drewThomasson/xtts_fine_tune_base_model_files
Content type
Image
Digest
sha256:0292192d8…
Size
9.7 GB
Last updated
almost 2 years ago
docker pull athomasson2/fine_tune_xtts:huggingface