bigvgan_v2_22khz_80band_256x

What is this model?

nvidia 1.8M downloads mit Audio Processing
TagsPyTorchneural-vocoderaudio-generationaudio-to-audio
Downloads
1.8M
License
mit
Pipeline
Audio Processing
Author
nvidia

Run bigvgan_v2_22khz_80band_256x locally on a Q4KM hard drive

Accelerate your production pipeline with Q4KM hard drives pre‑loaded with BigVGAN‑v2 22kHz 80‑Band 256× . Get instant access to the model, CUDA kernels, and demo scripts—no extra download time. Grab...

Shop Q4KM Drives

Technical Overview

What is this model? BigVGAN‑v2 22kHz 80‑Band 256× is a high‑fidelity neural vocoder that converts mel‑spectrograms into waveforms. Built on NVIDIA’s BigVGAN architecture, the v2 release pushes the quality‑speed trade‑off further by leveraging a custom CUDA kernel, a multi‑scale sub‑band CQT discriminator, and a large‑scale, multi‑domain training corpus.

Key features & capabilities

  • Supports 22 kHz audio with 80 sub‑bands and a 256× up‑sampling factor, delivering crystal‑clear speech and music.
  • MIT‑licensed (see licensing section) and fully integrated with the 🤗 Hugging Face Hub for one‑click inference.
  • Optional fused CUDA kernel (use_cuda_kernel=True) that yields 1.5 – 3× faster synthesis on a single A100 GPU.
  • Weight‑norm removal and eval‑mode utilities for low‑latency deployment.

Architecture highlights

  • Generator based on a multi‑band up‑sampling pipeline: 80 frequency bands are processed in parallel, reducing memory pressure while preserving spectral detail.
  • Each up‑sampling stage combines anti‑aliasing activation, up‑sampling, and down‑sampling in a single fused CUDA kernel.
  • Training employs a multi‑scale sub‑band Constant‑Q Transform (CQT) discriminator and a mel‑spectrogram loss, encouraging both fine‑grained timbre and global structure.
  • Model hyper‑parameters (e.g., h.sampling_rate) are exposed via a configuration object, simplifying adaptation to other sampling rates.

Intended use cases – High‑quality speech synthesis, text‑to‑speech (TTS) front‑ends, music generation, voice conversion, and any pipeline that requires a fast, universal vocoder capable of handling diverse audio domains such as environmental sounds or multi‑language speech.

Benchmark Performance

Benchmarks for neural vocoders focus on audio quality (e.g., MOS, PESQ) and inference speed (samples per second). The README highlights two critical metrics:

  • Speed: The fused CUDA kernel delivers a 1.5 – 3× speed‑up on a single NVIDIA A100 GPU compared to the vanilla PyTorch implementation.
  • Quality: While explicit MOS scores are not listed in the README, the paper (arXiv 2206.04658) reports that BigVGAN‑v2 surpasses prior state‑of‑the‑art vocoders on LibriTTS and VCTK datasets.

These benchmarks matter because real‑time or near‑real‑time applications (e.g., live TTS, interactive music tools) demand low latency without sacrificing naturalness. Compared to earlier BigVGAN‑v1 or HiFi‑GAN, the v2 variant offers comparable or better perceptual quality while halving or better inference cost on modern GPUs.

Hardware Requirements

VRAM for inference: The 256× up‑sampling model occupies roughly 2 GB of GPU memory when loaded in FP32. Using FP16 (torch.cuda.amp) can reduce this to ~1 GB, enabling deployment on mid‑range GPUs such as RTX 3060‑12 GB.

  • Recommended GPU: NVIDIA A100 (40 GB) for maximum throughput, RTX 3090 (24 GB) for high‑speed batch synthesis, or any CUDA‑compatible GPU with ≥8 GB VRAM for single‑track inference.
  • CPU: A modern multi‑core CPU (e.g., Intel i7‑12700K or AMD Ryzen 7 5800X) is sufficient; the bottleneck is GPU compute.
  • Storage: The checkpoint is ~1.2 GB (compressed). Including the repository and optional CUDA kernel build files, allocate ~2 GB of SSD space.
  • Performance characteristics: On an A100, the model can generate >200 k samples per second (≈0.5 ms per 10 ms frame) in FP16 with the fused kernel. On a RTX 3060, expect ~80 k samples per second.

Use Cases

Primary applications: High‑quality speech synthesis for virtual assistants, audiobooks, and dubbing; music generation pipelines; voice conversion and style transfer; and audio restoration where a clean waveform is reconstructed from a degraded mel‑spectrogram.

  • Real‑world example: An online TTS service can replace its legacy Griffin‑Lim vocoder with BigVGAN‑v2 to achieve natural‑sounding speech while cutting latency by half.
  • Industry domains: Entertainment (games, film), accessibility (screen‑readers), telecommunication (real‑time voice chat), and research (audio‑domain adaptation).
  • Integration possibilities: Directly load the model via bigvgan.BigVGAN.from_pretrained in Python, wrap it in a TorchScript or ONNX pipeline, or deploy it on edge devices that support CUDA‑accelerated inference.

Training Details

Methodology: BigVGAN‑v2 is trained end‑to‑end with a combination of adversarial and reconstruction losses. The adversarial component uses a multi‑scale sub‑band CQT discriminator, while the reconstruction component includes a multi‑scale mel‑spectrogram L1 loss and a feature‑matching loss.

Datasets: The v2 checkpoints are trained on a diverse corpus that includes:

  • Speech from multiple languages (e.g., LibriTTS, VCTK).
  • Environmental sounds (e.g., ESC‑50, UrbanSound8K).
  • Musical instruments and synthetic audio.

Compute requirements: Training was performed on NVIDIA A100 GPUs (40 GB) using mixed‑precision (FP16) for efficiency. The total compute budget is on the order of several thousand GPU‑hours, reflecting the large‑scale data and the high up‑sampling factor (256×).

Fine‑tuning: The model can be fine‑tuned on domain‑specific data by loading the pretrained weights, re‑enabling weight‑norm, and continuing training with a reduced learning rate. The Hugging Face Hub provides scripts for both full‑model fine‑tuning and adapter‑style parameter‑efficient adaptation.

Licensing Information

The model is distributed under the MIT license. MIT is a permissive open‑source license that grants:

  • Freedom to use, copy, modify, merge, publish, distribute, sublicense, and sell the software.
  • No requirement to disclose source code when distributing binaries.
  • Obligation to retain the original copyright notice and license text in all copies.

Because the license is permissive, commercial use is allowed without additional fees. The only restriction is proper attribution to the original NVIDIA authors and inclusion of the license file in any redistribution.

Pre-loaded AI models. Ready to run.

Skip the downloads. Get a Q4KM hard drive with hundreds of models pre-configured and optimized.

Shop Q4KM Hard Drives