OpenViSTAI · Agents · Blockchain · Crypto
Menu
Audio & Voice AI

Wavegrad

Wavegrad is a PyTorch implementation of a conditional WaveGrad vocoder that generates audio waveforms from acoustic features. Its repository documents inference, custom-data training, mixed-precision and distributed training, and noise-schedule tuning.

Independent OpenViST project profile, based on linked sources.

Wavegrad — PyTorch-based speech-vocoder experiments with documented CLI and notebook workflows
OpenViST project illustration. See the linked sources for product details.
Understand the project

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.
Before you choose

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.

Source-based practical guide

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

  1. Place the mel-spectrograms in a folder and create a filelist.

  2. 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.
Source-based practical guide

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

  1. Create the train and test filelists using the repository's examples as a format reference.

  2. Create a model configuration in the configs folder.

  3. Set visible GPU devices and the configuration path in runs/train.sh.

  4. 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

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.

ProjectDocumented purposePlatformAccess and requirements
WavegradGenerate audio waveforms from mel-spectrograms through command-line or notebook inference.Linux, Windows, macOS, Self-hostedThe implementation is available in a public GitHub repository under the BSD-3-Clause license.
Wavegrad — lmnt-comConvert a Mel spectrogram into synthesized waveform audio.Linux, macOS, Windows, CLI, Server, Self-hostedThe 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 TtsGenerate a speech utterance from a text string using a pretrained checkpoint.Linux, Server, Self-hosted
Evidence and transparency

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