bigvgan_v2_44khz_128band_512x

What is this model?

nvidia 784K downloads mit Audio Processing
TagsPyTorchneural-vocoderaudio-generationaudio-to-audio
Downloads
784K
License
mit
Pipeline
Audio Processing
Author
nvidia

Run bigvgan_v2_44khz_128band_512x locally on a Q4KM hard drive

Get instant, plug‑and‑play performance with a Q4KM hard drive pre‑loaded with nvidia/bigvgan_v2_44khz_128band_512x . No download, no setup—just mount the drive and start generating high‑fidelity...

Shop Q4KM Drives

Technical Overview

What is this model? nvidia/bigvgan_v2_44khz_128band_512x is a high‑fidelity universal neural vocoder that converts mel‑spectrograms into waveform audio at a 44 kHz sampling rate. It belongs to the BigVGAN‑v2 family, an evolution of the original BigVGAN architecture that focuses on large‑scale training, sub‑band processing, and ultra‑fast inference via a custom fused CUDA kernel.

Key features and capabilities

  • Supports 44 kHz audio with a 512× up‑sampling factor, delivering crystal‑clear speech, music, and environmental sounds.
  • 128 sub‑bands are processed in parallel, enabling fine‑grained spectral control and reducing aliasing artifacts.
  • Integrated multi‑scale sub‑band CQT discriminator and mel‑spectrogram loss improve perceptual quality across diverse domains.
  • Optional use_cuda_kernel=True activates a fused up‑sampling + activation CUDA kernel that yields 1.5–3× faster inference on a single NVIDIA A100.
  • Fully PyTorch‑compatible, with a simple BigVGAN.from_pretrained API for rapid prototyping.

Architecture highlights

  • Generator: A stack of residual blocks with anti‑aliasing up‑sampling, weight‑norm removed at inference, and 128 parallel sub‑band streams that are recombined via inverse CQT.
  • Discriminator: Multi‑scale sub‑band CQT discriminator that evaluates both time‑domain and frequency‑domain fidelity.
  • Losses: Combined multi‑scale mel‑spectrogram L1 loss, sub‑band CQT loss, and adversarial loss for stable training.

Intended use cases The model is designed for any scenario that requires high‑quality waveform synthesis from mel‑spectrograms, including speech synthesis (TTS), voice conversion, music generation, and audio‑to‑audio restoration pipelines.

Benchmark Performance

Benchmarks for neural vocoders typically focus on perceptual quality (e.g., MOS, PESQ) and real‑time factor (RTF) on GPU hardware. The README highlights inference speed gains: the fused CUDA kernel delivers 1.5–3× faster synthesis on a single A100 compared with the vanilla PyTorch implementation. While exact MOS scores are not listed in the README, the original BigVGAN paper reports MOS > 4.5 on LibriTTS, and the v2 improvements (larger training data, sub‑band CQT discriminator) further close the gap to ground‑truth audio.

These benchmarks matter because they directly translate to user experience in real‑time applications (e.g., voice assistants) and production cost (GPU time). Compared to other state‑of‑the‑art vocoders such as HiFi‑GAN, WaveGlow, and DiffWave, BigVGAN‑v2’s higher up‑sampling ratio (512×) and 44 kHz support give it a clear advantage in audio fidelity while maintaining competitive inference latency thanks to the custom kernel.

Hardware Requirements

VRAM for inference The 44 kHz, 128‑band checkpoint occupies roughly 1.2 GB of GPU memory when loaded in FP32. Using torch.float16 reduces this to ~0.6 GB, leaving ample headroom for batch processing.

Recommended GPU For optimal speed, an NVIDIA A100 (40 GB) or RTX 4090 (24 GB) is recommended, especially when enabling the fused CUDA kernel. A mid‑range RTX 3060 (12 GB) can run the model at real‑time speed for single‑channel inference, though the speed boost will be modest.

CPU & storage A modern multi‑core CPU (e.g., Intel i7‑12700K or AMD Ryzen 7 5800X) is sufficient for audio loading and mel‑spectrogram extraction. The model files total ~1.5 GB (including weights and auxiliary scripts), so at least 5 GB of free SSD space is advisable to accommodate the repository and temporary inference buffers.

Use Cases

Primary applications BigVGAN‑v2 excels at:

  • High‑fidelity text‑to‑speech (TTS) engines where naturalness and low latency are critical.
  • Voice conversion and cloning pipelines that need a robust vocoder across languages and speaker styles.
  • Music and sound‑effect generation from mel‑spectrogram representations (e.g., neural audio synthesis).
  • Audio restoration tasks such as bandwidth extension or denoising where a neural vocoder reconstructs the waveform from a cleaned spectrogram.

Real‑world examples Companies building virtual assistants can replace legacy WaveNet vocoders with BigVGAN‑v2 to halve latency while improving MOS. Game developers can generate dynamic environmental sounds on‑the‑fly, and podcast platforms can offer high‑quality voice‑over generation without large cloud costs.

Training Details

Methodology BigVGAN‑v2 was trained using a multi‑scale adversarial framework. The generator receives mel‑spectrograms (computed with the same meldataset pipeline as in the inference example) and outputs a 44 kHz waveform. The discriminator evaluates both the full‑band waveform and 128 sub‑band CQT representations, providing gradient signals that penalize aliasing and spectral distortion.

Datasets The training corpus aggregates diverse audio sources: multilingual speech (LibriTTS, CommonVoice), environmental sounds (ESC‑50), and musical instrument recordings. This breadth ensures the model generalizes across domains, a claim highlighted in the README’s “larger training data” bullet.

Compute Training was performed on NVIDIA A100 GPUs (40 GB) with mixed‑precision (FP16) to accelerate convergence. The original paper reports several days of training on a cluster of 8‑16 A100s. Exact FLOP counts are not disclosed, but the large dataset and 512× up‑sampling imply a substantial compute budget.

Fine‑tuning The model can be fine‑tuned on domain‑specific mel‑spectrograms by loading the pretrained checkpoint, re‑enabling weight‑norm, and continuing adversarial training on a smaller dataset. The Hugging Face Hub provides utilities for from_pretrained loading, making fine‑tuning straightforward for researchers.

Licensing Information

The repository’s license: mit entry points to the MIT license (see LICENSE). The “unknown” tag in the Hugging Face metadata is a placeholder; the underlying code and weights are released under MIT, which is permissive and allows commercial use, modification, and distribution.

Commercial use You may embed the model in commercial products (e.g., TTS services, audio plugins) without paying royalties. The only requirement is to retain the original copyright notice and license text in any redistributed binaries or source.

Restrictions The MIT license imposes no warranty or liability clauses; you are responsible for compliance with any third‑party data (e.g., training datasets) that may have their own licenses. No explicit attribution beyond the license text is required, though citing the original paper (see Section 6) is encouraged.

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