Skip to main content

An unofficial minimal package for using BigVGAN at inference time

Project description

BigVGANInference

An unofficial minimal package for using BigVGAN at inference time

PyPI version License Python versions

Installation

pip install bigvganinference

or install from source:

git clone https://github.com/thunn/BigVGANInference.git
cd BigVGANInference
poetry install

Usage

Loading model is as simple as:

from bigvganinference import BigVGANInference, BigVGANHFModel

# model is loaded, set to eval and weight norm is removed
model = BigVGANInference.from_pretrained(
    BigVGANHFModel.V2_44KHZ_128BAND_512X, use_cuda_kernel=False
)


output_audio = model(input_mel)

See the example for full usage example.

Acknowledgements

This is an unofficial implementation based on original BigVGAN repository.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bigvganinference-0.0.2.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bigvganinference-0.0.2-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

Details for the file bigvganinference-0.0.2.tar.gz.

File metadata

  • Download URL: bigvganinference-0.0.2.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for bigvganinference-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7d9bfacd3b07703e11c9376c255d0eccc8c03cff76fb3c7585ff0e9d4f822693
MD5 e3b84e12cf285b038010967d71d79020
BLAKE2b-256 da8e9def10eed4cd9c500d43d48cb12aa6afb5986f489bac7fc485c4782021f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for bigvganinference-0.0.2.tar.gz:

Publisher: build-package.yaml on thunn/BigVGANInference

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bigvganinference-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for bigvganinference-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 df9ad8cc8157a26ccf05bc6aced19b8435aa0cbee2bfe50697c6e932cd1eef82
MD5 e264d9a57db882dce4b01f91f24ed8ca
BLAKE2b-256 0fe6dcaf77f77268d39b721a6b50ce84b09beef2798250bbb77b0fcbdb3a35d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for bigvganinference-0.0.2-py3-none-any.whl:

Publisher: build-package.yaml on thunn/BigVGANInference

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page