Focus

Testing local voice cloning models with repeatable Docker and PowerShell workflows.

Notes

Includes first-run setup problems, speed checks, model setup, and practical RTX 5070 test observations.

Testing Stack

Docker, PowerShell, CUDA, voice samples, model notes, and a local GPU workflow designed for quick comparison.

I built TTS-testers-local-cuda as a repeatable testing bench for text to speech and voice cloning models on a CUDA GPU. A PowerShell menu selects the model, starts its Docker container, generates audio locally, and unloads the model when the session ends.

The bench compares model load time, synthesis speed, output quality, container isolation, and voice cloning behavior on the same machine. Its focus is local evaluation with a consistent workflow across models.

Why I Built It

Local TTS models bring different Python packages, CUDA stacks, cache folders, codec requirements, and runtime defaults. I split the runners into separate Docker containers to isolate those dependencies and keep failures in one model from interrupting the others.

The PowerShell launcher is the frontend. I run .\run.ps1, choose a model, wait for the ready prompt, type text, and get WAV and JSON output under the local output folder.

Included Models

The current public version includes XTTS-v2, Qwen3-TTS 12Hz 0.6B Base, MioTTS 0.1B, and LuxTTS 100M.

The launcher runs one model at a time. That keeps GPU memory easier to reason about and makes it clearer which model caused a problem during testing.

RTX 5070 Target

The main test target was an NVIDIA RTX 5070. The default build targets RTX 50 series and Blackwell GPUs with PyTorch CUDA 13 wheels.

The default stack uses torch==2.11.0, torchaudio==2.11.0, and the CUDA 13 PyTorch wheel index. There is also a CUDA 12.8 option for cases where that stack is needed.

The launcher checks for the RTX 5070 with nvidia-smi, sets the Docker GPU mask, and exposes only the selected GPU to the active container.

First Run Notes

The first run downloads models and prepares caches. Wait for the model-specific ready line before typing synthesis text.

The ready prompt names are xttsv2, qwen0.6btts, miotts0.1b, and luxtts100m. Typing early can make it look like the runner is stuck when it is still downloading or loading.

Voice references stay local. The normal filenames are reference.wav and reference.txt. The WAV is the voice sample and the TXT is the exact transcript. Those files are ignored by git along with generated audio, model caches, Docker exports, and local environment files.

Informal Test Notes

These local measurements record short-prompt runs on the RTX 5070. They document inference behavior for these prompts and settings, rather than a standardized benchmark across workloads.

LuxTTS 100M used 87 characters. Load and voice prompt prep took about 18.2 seconds. It generated 7.55 seconds of audio in 3.94 seconds with a 0.52x realtime factor. It was fast after load, but I slowed it down to reduce skipped words.

MioTTS 0.1B used 84 characters. Load, codec setup, and voice embedding took about 10.9 seconds. It generated 5.28 seconds of audio in 12.54 seconds with a 2.37x realtime factor. A token cap helped reduce drawn out vowel loops.

Qwen3-TTS 0.6B Base used 64 characters. Load and voice prompt prep took about 35.6 seconds. It generated 4.88 seconds of audio in 19.61 seconds with a 4.02x realtime factor. It runs on SDPA by default because flash_attention_3 failed on the RTX 5070 target with a CUDA kernel image error.

For realtime factor, below 1.0x is faster than realtime. Above 1.0x is slower than realtime.

What Needed Tuning

LuxTTS initially spoke too fast and skipped words. Slowing it down and letting it use the full reference prompt helped.

MioTTS initially stretched vowels and syllables. I added a dynamic token cap plus repetition controls to keep short generations from running away.

Qwen3-TTS loaded and ran on the GPU. Its measured synthesis speed makes it a poor fit for low-latency voice loops on this machine, while retaining its role in output-quality evaluation.

Public Repo Hygiene

Before making the repo public, I kept it to source and build instructions only. No voice samples, transcripts, generated WAV files, model weights, Docker image exports, API keys, private machine defaults, or local clone settings are included.

The source-available release includes the launcher, model runners, and build instructions for local testing and evaluation. Model weights and caches are obtained separately through each model's setup process.

GitHub Repo

TTS-testers-local-cuda on GitHub