open-mmlab/Amphion
A recipe-driven PyTorch toolkit for reproducible audio generation research
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Amphion is a recipe-driven Python research toolkit, not a single model or serving daemon. Task recipes in egs/ and the separate config/ directory organize experiments; models/ and modules/ hold model implementations and shared components. The tree also separates preprocessors/, processors/, and text/ from optimizer/ and schedulers/, with evaluation/ and visualization/ for inspecting results.
The practical workflow is to pick a task recipe, prepare its data, run the chosen training or inference path, and evaluate the outputs. Where a recipe uses a separate vocoder, the acoustic representation and vocoder inputs must match. The Dockerfile targets PyTorch 2.0.0 with cu118 on a CUDA 11.8/cuDNN 8 development image. The demonstrated extension surface is Python code, configuration, and recipes; no common plugin protocol or serving API is established.
Key Capabilities & Differentiators
Supported tasks include text-to-speech, singing voice synthesis, voice conversion, accent conversion, singing voice conversion, and text-to-audio. Text-to-music is still in development. DualCodec-VALLE is trained on 12.5 Hz DualCodec tokens, while Vevo provides a recipe for voice and accent conversion. Vocoders cover several model families, including GAN-based HiFi-GAN and BigVGAN, flow-based WaveGlow, diffusion-based DiffWave, and autoregressive WaveNet and WaveRNN.
Amphion standardizes preprocessing for datasets such as LibriTTS, AudioCaps, and M4Singer, and includes Emilia-Pipe for in-the-wild speech. Evaluation covers pitch and voicing, energy, Whisper-based CER/WER, audio distances such as FAD and MCD, and speaker-embedding cosine similarity. That breadth makes evaluation choices explicit: intelligibility, acoustic distortion, and speaker similarity measure different properties. Interactive visualizations complement those metrics by exposing model internals for inspection.
Trade-offs & Limitations
Compared with a standalone VITS or HiFi-GAN implementation, Amphion is a stronger fit when the work spans several model families or requires consistent preprocessing and evaluation. For a single fixed TTS or vocoder path, the narrower alternative is usually simpler to integrate. Compared with a managed speech API, local execution gives you control over checkpoints and evaluation, but leaves GPU provisioning, dependency pinning, and serving to your team.
Neither the GPU container nor the 12.5 Hz token rate establishes streaming behavior or a real-time latency target. Size deployments by measuring the selected checkpoint on representative audio lengths, batch sizes, and concurrency; profile training separately from inference. The repository's MIT license permits commercial use of its code, but it does not settle the terms for checkpoints, training data, third-party assets, or voice rights.
Hardware & Deployment Guide
The local setup uses Conda with Python 3.9.15 and installs dependencies via env.sh. The documented container path uses Docker, an NVIDIA driver, and NVIDIA Container Toolkit; it pulls realamphion/amphion and launches it with --runtime=nvidia --gpus all, mounting the checkout at /app. Mount dataset directories at paths the selected recipe can access, and stage any required weights separately.
The Dockerfile uses an Ubuntu 18.04-based CUDA 11.8/cuDNN 8 development image. Before adopting it, validate host driver compatibility and run a small end-to-end job with the chosen recipe. Pin the source revision and image digest for reproducibility. The v0.1.1-alpha release dated 2024-02-23 includes a fix for an unbound download_root and adds demo badges for SVC, TTA, and TTS. The later v0.2 paper citation is not evidence of a matching GitHub release; check that the features you need are present in the revision you deploy.
Research and applied ML teams that need to reproduce audio generation experiments, compare vocoders or conversion models, and evaluate results on consistently prepared data.
You need a turnkey real-time voice endpoint with measured latency, established streaming and serving interfaces, or no appetite for maintaining a GPU environment.
Quick Start & Installation
git clone https://github.com/open-mmlab/Amphion.git cd Amphion docker pull realamphion/amphion docker run --runtime=nvidia --gpus all -it -v .:/app realamphion/amphion
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/open-mmlab/Amphion.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about Amphion
Where should I start if I want to integrate one model rather than adopt the whole toolkit?
How much GPU memory should I budget?
Can I self-host Amphion in a commercial product?
When is Amphion preferable to a standalone HiFi-GAN setup?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy