nvidia_bigvgan_v2_44khz_128band_512x
nvidia · View on Hugging Face ↗
Model card
The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.
license: mit license_link: https://huggingface.co/nvidia/BigVGAN/blob/main/LICENSE tags:
- neural-vocoder
- audio-generation library_name: PyTorch pipeline_tag: audio-to-audio
BigVGAN: A Universal Neural Vocoder with Large-Scale Training
Sang-gil Lee, Wei Ping, Boris Ginsburg, Bryan Catanzaro, Sungroh Yoon
[Paper] - [Code] - [Showcase] - [Project Page] - [Weights] - [Demo]
News
Jul 2024 (v2.3):
- General refactor and code improvements for improved readability.
- Fully fused CUDA kernel of anti-alised activation (upsampling + activation + downsampling) with inference speed benchmark.
Jul 2024 (v2.2): The repository now includes an interactive local demo using gradio.
Jul 2024 (v2.1): BigVGAN is now integrated with 🤗 Hugging Face Hub with easy access to inference using pretrained checkpoints. We also provide an interactive demo on Hugging Face Spaces.
Jul 2024 (v2): We release BigVGAN-v2 along with pretrained checkpoints. Below are the highlights:
- Custom CUDA kernel for inference: we provide a fused upsampling + activation kernel written in CUDA for accelerated inference speed. Our test shows 1.5 - 3x faster speed on a single A100 GPU.
- Improved discriminator and loss: BigVGAN-v2 is trained using a multi-scale sub-band CQT discriminator and a multi-scale mel spectrogram loss.
- Larger training data: BigVGAN-v2 is trained using datasets containing diverse audio types, including speech in multiple languages, environmental sounds, and instruments.
- We provide pretrained checkpoints of BigVGAN-v2 using diverse audio configurations, supporting up to 44 kHz sampling rate and 512x upsampling ratio.
Installation
This repository contains pretrained BigVGAN checkpoints with easy access to inference and additional huggingface_hub support.
If you are interested in training the model and additional functionalities, please visit the official GitHub repository for more information: https://github.com/NVIDIA/BigVGAN
git lfs install
git clone https://huggingface.co/nvidia/bigvgan_v2_44khz_128band_512x
Usage
Below example describes how you can use BigVGAN: load the pretrained BigVGAN generator from Hugging Face Hub, compute mel spectrogram from input waveform, and generate synthesized waveform using the mel spectrogram as the model's input.
device = 'cuda'
import torch
import bigvgan
import librosa
from meldataset import get_mel_spectrogram
# instantiate the model. You can optionally set use_cuda_kernel=True for faster inference.
model = bigvgan.BigVGAN.from_pretrained('nvidia/bigvgan_v2_44khz_128band_512x', use_cuda_kernel=False)
# remove weight norm in the model and set to eval mode
model.remove_weight_norm()
model = model.eval().to(device)
# load wav file and compute mel spectrogram
wav_path = '/path/to/your/audio.wav'
wav, sr = librosa.load(wav_path, sr=model.h.sampling_rate, mono=True) # wav is np.ndarray with shape [T_time] and values in [-1, 1]
wav = torch.FloatTensor(wav).unsqueeze(0) # wav is FloatTensor with shape [B(1), T_time]
# compute mel spectrogram from the ground truth audio
mel = get_mel_spectrogram(wav, model.h).to(device) # mel is FloatTensor with shape [B(1), C_mel, T_frame]
# generate waveform from mel
with torch.inference_mode():
wav_gen = model(mel) # wav_gen is FloatTensor with shape [B(1), 1, T_time] and values in [-1, 1]
wav_gen_float = wav_gen.squeeze(0).cpu() # wav_gen is FloatTensor with shape [1, T_time]
# you can convert the generated waveform to 16 bit linear PCM
wav_gen_int16 = (wav_gen_float * 32767.0).numpy().astype('int16') # wav_gen is now np.ndarray with shape [1, T_time] and int16 dtype
Using Custom CUDA Kernel for Synthesis
You can apply the fast CUDA inference kernel by using a parameter use_cuda_kernel when instantiating BigVGAN:
import bigvgan
model = bigvgan.BigVGAN.from_pretrained('nvidia/bigvgan_v2_44khz_128band_512x', use_cuda_kernel=True)
When applied for the first time, it builds the kernel using nvcc and ninja. If the build succeeds, the kernel is saved to alias_free_activation/cuda/build and the model automatically loads the kernel. The codebase has been tested using CUDA 12.1.
Please make sure that both are installed in your system and nvcc installed in your system matches the version your PyTorch build is using.
For detail, see the official GitHub repository: https://github.com/NVIDIA/BigVGAN?tab=readme-ov-file#using-custom-cuda-kernel-for-synthesis
Pretrained Models
We provide the pretrained models on Hugging Face Collections.
One can download the checkpoints of the generator weight (named bigvgan_generator.pt) and its discriminator/optimizer states (named bigvgan_discriminator_optimizer.pt) within the listed model repositories.
| Model Name | Sampling Rate | Mel band | fmax | Upsampling Ratio | Params | Dataset | Steps | Fine-Tuned |
|---|---|---|---|---|---|---|---|---|
| bigvgan_v2_44khz_128band_512x | 44 kHz | 128 | 22050 | 512 | 122M | Large-scale Compilation | 5M | No |
| bigvgan_v2_44khz_128band_256x | 44 kHz | 128 | 22050 | 256 | 112M | Large-scale Compilation | 5M | No |
| bigvgan_v2_24khz_100band_256x | 24 kHz | 100 | 12000 | 256 | 112M | Large-scale Compilation | 5M | No |
| bigvgan_v2_22khz_80band_256x | 22 kHz | 80 | 11025 | 256 | 112M | Large-scale Compilation | 5M | No |
| bigvgan_v2_22khz_80band_fmax8k_256x | 22 kHz | 80 | 8000 | 256 | 112M | Large-scale Compilation | 5M | No |
| bigvgan_24khz_100band | 24 kHz | 100 | 12000 | 256 | 112M | LibriTTS | 5M | No |
| bigvgan_base_24khz_100band | 24 kHz | 100 | 12000 | 256 | 14M | LibriTTS | 5M | No |
| bigvgan_22khz_80band | 22 kHz | 80 | 8000 | 256 | 112M | LibriTTS + VCTK + LJSpeech | 5M | No |
| bigvgan_base_22khz_80band | 22 kHz | 80 | 8000 | 256 | 14M | LibriTTS + VCTK + LJSpeech | 5M | No |
Magnet link
Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:
magnet:?xt=urn:btih:8761cde0bd0fb9a4a3920e06ea6cff39b1fc4d43&dn=nvidia_bigvgan_v2_44khz_128band_512xOpen magnet in torrent client · infohash 8761cde0bd0fb9a4a3920e06ea6cff39b1fc4d43
Files & hashes
| Path | Size | sha1 | sha256 |
|---|---|---|---|
| LICENSE | 1.1 KB (1,076 B) | 45b7741b4516c22d7314c5f856b17f713bac91af | 90459cd52fc41bd723df7c0c76fac1e4dd60e6bfd644a7e2a93f325bed4f6d95 |
| README.md | 7.9 KB (8,041 B) | cef3fee8d8cf5351a11e84b90e248e2358e996d1 | 209c68252dd23468b4f95991a1fb535b35f8fb603ac3937ed5d5eb2b1d993439 |
| activations.py | 4.4 KB (4,504 B) | 61f2808a5466b3cf4d041059700993af5527dd29 | 3ba94028aebabfc994bcd746bf9cbe92ecace528434c922c480be6ada182cad6 |
| alias_free_activation/cuda/__init__.py | 0 B (0 B) | e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 |
| alias_free_activation/cuda/activation1d.py | 2.5 KB (2,555 B) | fbc0fd8f28a37ad949fbdb9832f51b5b933c6ff2 | 54778a4308d359cac8348bc28f5407652982b22732c3c768a6721183c26f5b0e |
| alias_free_activation/cuda/anti_alias_activation.cpp | 977 B (977 B) | c5651f77143bd678169eb11564a7cf7a7969a59e | 222ce6cd687fdc1d541a4bedbf5f3578f321bc2649996b2747ebc60ddd2e1d8e |
| alias_free_activation/cuda/anti_alias_activation_cuda.cu | 10.1 KB (10,328 B) | 8c442334869fe72d639ec203fa4fac07f96a0ee1 | e3fa60fbf80fd95cad6f05dd605c85393b6539d6684502a56b64c348c655de7d |
| alias_free_activation/cuda/compat.h | 893 B (893 B) | 25818b2edf4cb0dc9130e62c7c4de8d16a01baa5 | 39e530d6d9cf5eda60c25b899cf0ba87c70cdca3424de7cb1716adad8f212388 |
| alias_free_activation/cuda/load.py | 2.5 KB (2,594 B) | ca5d01de398249e75e9e2298958764acb436edba | 6ee5cbfaedc6b73cf2bff9677f18bcc5a46c91a088523e853bca12805a909e8a |
| alias_free_activation/cuda/type_shim.h | 5.7 KB (5,838 B) | 5db7e8a397e982d4d30d16ab6060814b98b7ab83 | 3e32f2fec72b2b6749389acd64c336b2932a3764b686634c696af8151df0e38c |
| alias_free_activation/torch/__init__.py | 200 B (200 B) | 8f756ed83f87f9839e457b240f60469bc187707d | 2e3138e1052e377ba2e51ea59c7d5d255a519559001757af21dbec4cb9c22471 |
| alias_free_activation/torch/act.py | 852 B (852 B) | cc6e9f81d57782e6a87182abd795f68d8b8a22e7 | 651448005dd5ae0c193da60d1a50c0aa53550a4a3050e29ed7d35cf86410e212 |
| alias_free_activation/torch/filter.py | 3.3 KB (3,401 B) | 0fa35b0d5ddf8d6cb04cd9d47364ca033cebcd32 | acf2257276e617dd3161e53abc0a1582e586a3d2d618a43235c7f83818b4e179 |
| alias_free_activation/torch/resample.py | 1.8 KB (1,885 B) | f3211503423313232095887f3df849c710097dfb | 4d7e1bf4169d03f59360f34f33d029c04b99364150f6737563ebfbee0ab49d79 |
| bigvgan.py | 17.1 KB (17,483 B) | 4422ec6b84317d74973d2309f651b0d8fbc57026 | 2b2c5d7bdc818b90ffc2e1a65776823e46030f51a4e0d7a2d42e9b6d05cba101 |
| bigvgan_discriminator_optimizer.pt | 1.42 GB (1,525,718,216 B) | 844183379503b3fd7e312328a25ece8d16cf8f13 | 8e356f94202c588bc0ddac381be12ea822a68cb1cb26095de30831a59532de54 |
| bigvgan_discriminator_optimizer_3msteps.pt | 1.42 GB (1,525,718,216 B) | a4b5423eecf59350b5a5ad55f429332b22766bf9 | 25de6c7f1ed454ff992b7232df4942b67761892149050131cd6f63bca22e2058 |
| bigvgan_generator.pt | 466.4 MB (489,041,291 B) | b8e13822952cd4901521f01f00563192d720c8dd | d9fe7ec6bd0b44ed9d66973d5012d8181c1570b01e5c72df51973e241dccd357 |
| bigvgan_generator_3msteps.pt | 466.4 MB (489,041,291 B) | 4eab39e383cf823e9fc11cbc930e88f524a5769b | b42626076b2d905942150f55015455d0fc963e58794b6532b90b3e4bba34bc97 |
| config.json | 1.4 KB (1,403 B) | 624a661dcef98677775b0b16d36dc9adb02a74bd | 65b7f487bfaf15256056a75f6667ef5f640214c981922a111927873705ea4ddb |
| env.py | 510 B (510 B) | b8be238d4db710c8c9a338d336baea0138f18d1f | 54ae665797fbb20ed3fc9b856be688f6b8a903b0bed8ff7edabff81dd9cdcd33 |
| meldataset.py | 11.2 KB (11,420 B) | 5e89d7384755e725c946aff3884834e15e295a16 | 691e8413fb4c65ee3f603a43b19bdd69652a06a150ce82e72c43363cd268dfc6 |
| nv-modelcard++/bias.md | 664 B (664 B) | 4b388c28d09b8ca3aab5096304c52e1a5dac0e16 | 0b374821eb4a1a1a0c4f7e3d5d0474620eea573ec3cc4bd238cce78b6595b375 |
| nv-modelcard++/explainability.md | 4.1 KB (4,199 B) | 6f1a16676e438ba95f9d411a19e04a0f13409e54 | 58d21b235cca347db09b7e120199351840b456d7475d90006df0ff7c49239e35 |
| nv-modelcard++/overview.md | 7.0 KB (7,166 B) | a39cba0b49a4a32a37afa90f2baf4630dcd9cadc | 0c9016e379a90a4cbb8476e09845d3e197fa4bb12bd1912ccb01b96436849721 |
| nv-modelcard++/privacy.md | 2.6 KB (2,632 B) | 73554a998384ca1b1050239ebd51bda46aec1878 | 87f3de69d52bf16ea8bc5fe8671eee7fd2a4ba0ce9fd7ae1fe9fbe9c7771df0d |
| nv-modelcard++/safety.md | 1.5 KB (1,584 B) | ed30370dfedbbb49748706034a7153d54f1a668f | f244890262cd9074fad924fcadfc8bfa66e99ddeb2bf33b379ad04f325861386 |
| utils.py | 2.5 KB (2,563 B) | 888ea8948b3d3bce6296a2df4b198db8742cc381 | 04eee590ca04ca33a6b2b79802a6514bbe7d6867164c72d61f9404ea9b0101c4 |
Cite this release
- Canonical URL
- https://aiseedbank.org/models/nvidia_bigvgan_v2_44khz_128band_512x/
- Slug
- nvidia_bigvgan_v2_44khz_128band_512x
- Infohash
- 8761cde0bd0fb9a4a3920e06ea6cff39b1fc4d43
- License
- mit
- Signing key fingerprint
- 85a3b32c3712427b
Every file carries a locally computed sha256 — verify a download against the signed sums: nvidia_bigvgan_v2_44khz_128band_512x.SHA256SUMS (+ minisign signature).
Provenance
| Upstream repository | nvidia/bigvgan_v2_44khz_128band_512x |
|---|---|
| Revision (pinned) | 95a9d1dcb12906c03edd938d77b9333d6ded7dfb |
| Fetched at | 2026-09-04T04:23:03Z |
| License at fetch | mit |
| Snapshot tool | huggingface · seedbank 0.1.0 |
Trackers
- udp://announce.aitorrent.org:6969/announce
- http://announce.aitorrent.org:7070/announce
- udp://announce2.aitorrent.org:6970/announce
- http://announce2.aitorrent.org:7071/announce
- udp://tracker.opentrackr.org:1337/announce
- udp://open.demonii.com:1337/announce
- udp://open.stealth.si:80/announce
- udp://exodus.desync.com:6969/announce
- udp://tracker.torrent.eu.org:451/announce
✓ verified · rehash-vs-hf-metadata at 2026-09-04T04:23:42Z
mit3.75 GB (4,029,611,782 bytes)PyTorchneural-vocoderaudio-generationaudio-to-audiopaper: 2206.04658