swivid/f5-tts

Official code for "F5-TTS: A Fairytaler that Fakes Fluent and Faithful Speech with Flow Matching"

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 23 minutes ago
Added to GitGenius on September 3rd, 2026
Created on October 8th, 2024
Open Issues & Pull Requests: 62 (+0)
GitHub issues: Enabled
Number of forks: 2,209
Total Stargazers: 15,210 (+0)
Total Subscribers: 133 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 1.1 hours
Mean response time: 2.3 days
90th percentile: 34.8 hours
Tracked items: 876

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 98% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 6% of issues opened in the past year have been closed. Three people close 76% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 48
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 353 days
Stale 30+ days: 44
Stale 90+ days: 40

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 1

Top labels

  • question (251)
  • help wanted (193)
  • bug (119)
  • enhancement (74)
  • documentation (22)
  • duplicate (3)
  • invalid (1)

Detailed Description

F5-TTS is a text-to-speech synthesis tool that generates natural-sounding speech from text using flow matching and diffusion transformers.

The tool addresses the challenge of producing fluent and faithful speech synthesis by employing a Diffusion Transformer architecture with ConvNeXt V2, designed for faster training and inference compared to earlier approaches. The repository includes F5-TTS as the primary model and E2 TTS as an alternative implementation based on a flat-UNet transformer architecture. A key inference-time feature called Sway Sampling improves output quality by optimizing the flow step sampling strategy during generation.

Developers should choose this tool if they need a modern text-to-speech system with reasonable inference speed and quality. The project suits applications requiring speech synthesis from text, particularly those where training efficiency matters. The tool supports multiple hardware platforms including NVIDIA GPUs, AMD GPUs with ROCm, Intel GPUs via XPU, and Apple Silicon, making it accessible across different development environments. Installation is straightforward through pip for inference-only use cases, or via local editable installation for those planning to train or finetune models. Pre-trained base models are available through Hugging Face, Model Scope, and Wisemodel.

The project shows active development with model improvements and updates to the base implementations. The codebase includes comprehensive GPU support documentation with specific guidance for different hardware architectures and their compatibility requirements. The repository provides deployment solutions through Triton and TensorRT-LLM for production use cases. Docker support is available for simplified environment setup. The project maintains clear documentation of installation paths for different use cases and includes benchmark results from inference testing.