coqui-tts-trainer
General purpose model trainer for PyTorch that is more flexible than it should be, by 🐸Coqui.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries a permissive Apache-2.0 license, and solves a real problem—reducing boilerplate in PyTorch training loops while preserving flexibility. It is suitable for both simple supervised learning and advanced custom training scenarios. No known security vulnerabilities. Best for teams already committed to PyTorch who want a structured but not rigid training abstraction.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires PyTorch (not listed as explicit runtime dep but essential for the framework to function).
- Low install friction with a pure-Python wheel and five lightweight runtime dependencies.
- Actively maintained as of April 2026 with recent commits.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions.
last release 2026-04-10 (126 days) · last repo commit 2026-04-10 · 16 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 146,934 downloads/mo, #11,087 on PyPI
Alternatives
Verify before relying
pip install coqui-tts-trainer
from trainer import Trainer, TrainerModel
class MyModel(TrainerModel):
def forward(self, batch):
return self.model(batch)
trainer = Trainer(model=MyModel(), ...)
trainer.fit()- Whether PyTorch is an implicit dependency or must be installed separately.
- Performance characteristics and scalability limits for large-scale distributed training.
- Compatibility with recent PyTorch versions beyond what the classifiers indicate.
What it is and what it does
Coqui-tts-trainer is a PyTorch training framework that abstracts away boilerplate training loop code while preserving flexibility for custom optimization logic. It provides opinionated defaults for common tasks—auto-optimization, mixed precision, gradient accumulation, and distributed training via DDP or Hugging Face Accelerate—but allows you to override the optimization cycle entirely when needed. The framework integrates with multiple experiment loggers (TensorBoard, ClearML, MLflow, Aim, WandB) and includes utilities like batch size finder and profiling support.
You define your model by subclassing TrainerModel and overloading its methods, then pass it to a Trainer instance with configuration. The trainer handles the training loop, checkpointing, logging, and device management. It supports both simple auto-optimized training (useful for standard supervised learning) and fully custom optimization loops (useful for GANs and other adversarial setups), making it suitable for researchers and practitioners who want structure without sacrificing control.
Use it for
- Train standard supervised models with auto-optimization and minimal configuration overhead.
- Implement GAN or multi-network training with custom per-step optimization logic and gradient accumulation.
- Automatically find the largest batch size that fits on your hardware without manual tuning.
- Distribute training across multiple GPUs using DDP or Accelerate without rewriting your model code.
- Profile training performance and memory usage with integrated PyTorch profiler and TensorBoard visualization.
- Log metrics and checkpoints to multiple experiment tracking platforms simultaneously.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries a permissive Apache-2.0 license, and solves a real problem—reducing boilerplate in PyTorch training loops while preserving flexibility. It is suitable for both simple supervised learning and advanced custom training scenarios. No known security vulnerabilities. Best for teams already committed to PyTorch who want a structured but not rigid training abstraction.
Install
coqui-tts-trainer on PyPI
Before you install
Low install friction with a pure-Python wheel and five lightweight runtime dependencies. Actively maintained as of April 2026 with recent commits.
Requires PyTorch (not listed as explicit runtime dep but essential for the framework to function).
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions.
Quickstart
pip install coqui-tts-trainer
from trainer import Trainer, TrainerModel
class MyModel(TrainerModel):
def forward(self, batch):
return self.model(batch)
trainer = Trainer(model=MyModel(), ...)
trainer.fit()
Verify before relying
- Whether PyTorch is an implicit dependency or must be installed separately.
- Performance characteristics and scalability limits for large-scale distributed training.
- Compatibility with recent PyTorch versions beyond what the classifiers indicate.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <3.15,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagescoqpit-configfsspecpackagingpsutiltensorboard |
| Maintenance | Actively maintained 126 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 146,934 / month, #11,087 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Software DevelopmentTopic :: Software Development :: Libraries :: Python Modules |
Evidence: coqui_tts_trainer-0.4.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “pytorch model trainer framework”
- coqui-tts-trainerA PyTorch model trainer framework that handles training loops,…
- trainerTrainer is a PyTorch model training framework that handles the…
- pytorch-lightningPyTorch Lightning wraps PyTorch training code to separate research…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also trainer · pytorch-lightning · lightning · mmengine · trl · pytorch-ignite · accelerate · fairscale · torchtnt · setfit