Downloads · 30 days
0
maolandaw/PC-NSF-HiFiGAN-burn
PC-NSF-HiFiGAN-burn is a machine learning model from maolandaw. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for burn. The card lists the license as agpl-3.0.
This repository contains Burn-format weights for the upstream model:
Downloads · 30 days
0
Access
Public
Updated Sep 18, 2026
Repo size
56.6 MB
Likes
0
Public
Click a slice to open those files.
.bpk56.6 MB · 100%
From the Hugging Face model README
This repository contains Burn-format weights for the upstream model:
pc-nsf-hifigan-44.1k-hop512-128bin-2025.02The published artifact is packaged as a Burn Pack (.bpk) archive. The repository also includes Rust tooling to regenerate the raw export manifest and Burn pack from the upstream checkpoint.
Published model asset at the repository root:
pc_nsf_hifigan.bpkConversion and packaging sources included in the repository:
convert.sh: one-step export-and-pack script that writes pc_nsf_hifigan.bpk at the repository rootsrc/bin/export_pc_nsf_hifigan_raw.rs: exports the upstream PyTorch checkpoint (model.ckpt) into .npy tensors plus a manifest filesrc/bin/check_pc_nsf_hifigan_bpk.rs: loads a Burn Pack archive and prints the tensor count and total tensor bytessrc/main.rs: packs exported tensors into Burn Pack archivesCargo.toml, Cargo.lock: Rust dependencies for the packermini_nsf source module (generator.source_conv)[8, 8, 2, 2, 2], kernel sizes [16, 16, 4, 4, 4], 512 initial upsampling channelsweight_v / weight_g), exactly as in the upstream checkpointThe current export manifest contains 293 tensors, all float32.
Current repository payload:
pc_nsf_hifigan.bpk: 56,613,632 bytesThe repository includes the script needed to regenerate the Burn artifact from the original upstream checkpoint.
CKPT_ROOT/
└── pc_nsf_hifigan_44.1k_hop512_128bin_2025.02/
├── model.ckpt
└── config.json
Download the release zip from the OpenVPI vocoders release (pc_nsf_hifigan_44.1k_hop512_128bin_2025.02.zip) and unzip it into CKPT_ROOT.
The exporter reads the PyTorch zip checkpoint (model.ckpt) directly using the pure-Rust reader in burn-store (PytorchReader, pytorch feature) — no Python, PyTorch, or pickle tooling is required.
./convert.sh CKPT_ROOT
This regenerates pc_nsf_hifigan.bpk at the repository root and removes the temporary artifact directory when finished.
If you want to run the steps manually instead of using ./convert.sh:
Example:
cargo run --release --bin export_pc_nsf_hifigan_raw -- \
--checkpoint-root CKPT_ROOT \
--pcnsf-subdir pc_nsf_hifigan_44.1k_hop512_128bin_2025.02 \
--output-root artifacts/pc-nsf-hifigan
This produces:
artifacts/pc-nsf-hifigan/pc_nsf_hifigan_raw_f32/The raw directory contains .npy tensor files and a manifest.json.
The Rust packer reads a manifest and writes a .bpk archive:
cargo run --release --bin pc-nsf-hifigan-burn -- \
--manifest artifacts/pc-nsf-hifigan/pc_nsf_hifigan_raw_f32/manifest.json \
--output artifacts/pc-nsf-hifigan/pc_nsf_hifigan.bpk
cargo run --release --bin check_pc_nsf_hifigan_bpk -- pc_nsf_hifigan.bpk
.gitattributes is part of the expected publishable layout.This conversion is a derived work of the upstream openvpi/vocoders checkpoint and is distributed under the GNU Affero General Public License v3.0 (AGPLv3), matching the upstream license. The converter source in this repository (the Rust crate under src/, Cargo.toml, convert.sh) serves as the corresponding source for the converted artifact. See LICENSE for the full license text.