Practical overview
When it fits
Use Wavegrad when a speech pipeline already produces acoustic features and needs a vocoder to synthesize waveforms, or when experimenting with vocoder training and iterative inference.
Who it is for
- Speech-synthesis developers adding waveform generation after acoustic-feature generation.
- Researchers and practitioners training or evaluating neural vocoders on speech data.
Documented uses
- Generate audio waveforms from mel-spectrograms through command-line or notebook inference.
- Train a vocoder using custom audio filelists and a model configuration.
- Compare inference iteration counts and tune noise schedules for a chosen speed and output-quality trade-off.
- Run training with mixed precision or multiple GPUs.
Requirements & limits
The implementation is available in a public GitHub repository under the BSD-3-Clause license.
- Inference requires a configuration, checkpoint, noise schedule and mel-spectrogram filelist.
- Noise-schedule selection materially affects generated audio quality; the repository includes notebook-based search guidance.
- The documented speed measurements are hardware-specific and should not be treated as performance guarantees for other devices.
- Custom training requires matched STFT hop length and total upsampling factor when changing the default hop length.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Run documented command-line inference
Convert a filelist of mel-spectrograms into audio using a configured Wavegrad checkpoint and noise schedule.
Before you start
- Clone the Wavegrad repository and install its listed Python requirements.
- Prepare mel-spectrogram files and a filelist.
- Provide a model configuration, checkpoint and noise schedule.
Steps
Place the mel-spectrograms in a folder and create a filelist.
Run the inference script with the configuration, checkpoint, noise schedule and mel-filelist arguments.
Expected outcome
The repository's CLI inference workflow processes the listed mel-spectrograms into generated audio.
Guide limitations
- Generated quality depends strongly on the selected noise schedule, which may need tuning.
- The documentation provides the command pattern but does not specify a universal configuration, checkpoint or schedule for arbitrary input data.
Prepare and launch custom-data training
Configure Wavegrad to train on audio data using its documented single- or multi-GPU workflow.
Before you start
- Clone the repository and install requirements.
- Prepare train and test filelists for the audio data.
- Create a configuration file in the configs folder and select GPU devices.
Steps
Create the train and test filelists using the repository's examples as a format reference.
Create a model configuration in the configs folder.
Set visible GPU devices and the configuration path in runs/train.sh.
Run sh runs/train.sh; specifying multiple GPUs selects distributed training.
Expected outcome
The documented training script starts Wavegrad training and stores logs and checkpoints in the configured log directory.
Guide limitations
- When changing the STFT hop length, the product of the upsampling factors must equal the new hop length.
- The repository notes that training loss may explode on some data and suggests adjusting the learning-rate scheduler gamma.
Compare options for Model inference and serving
These projects document a common task and share a project role. This is a source-based comparison, not an execution benchmark or a guarantee of interchangeability.
| Project | Documented purpose | Platform | Access and requirements |
|---|---|---|---|
| Wavegrad | Generate audio waveforms from mel-spectrograms through command-line or notebook inference. | Linux, Windows, macOS, Self-hosted | The implementation is available in a public GitHub repository under the BSD-3-Clause license. |
| Wavegrad — lmnt-com | Convert a Mel spectrogram into synthesized waveform audio. | Linux, macOS, Windows, CLI, Server, Self-hosted | The repository is public and lists an Apache-2.0 license. It documents installation through pip or from GitHub; the pretrained model is provided as a 24 kHz download. |
| Diffgan Tts | Generate a speech utterance from a text string using a pretrained checkpoint. | Linux, Server, Self-hosted |
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 15 November 2026
- Original website title
- ivanvovk/WaveGrad · Official homepage title · retained in its source language

