Skip to main content

huggingface-hub-rvc

huggingface-hub-rvc provides a small Hugging Face style API for RVC voice conversion artifacts:

  • RVCPipeline.from_pretrained(...)
  • RVCPipeline.save_pretrained(...)
  • RVCPipeline.push_to_hub(...)
  • RVCPipeline.train(...)
  • RVCPipeline.convert_file(...)
  • RVCPipeline.convert_directory(...)

The package uses the working RVC v2 F0 48 kHz architecture and stores new model weights as safetensors.

Artifact Layout

config.json
voice_transform/
  manifest.json
  model.safetensors
  features.safetensors
  index.index

model.safetensors contains the RVC generator weights plus string metadata for the RVC config and training summary. features.safetensors contains retrieval vectors as tensor payload. index.index is the FAISS index and remains a separate binary file.

Legacy model.pth and features.npy artifacts can still be loaded.

Load

from huggingface_hub_rvc import RVCPipeline

pipe = RVCPipeline.from_pretrained("org/rvc-model")
pipe.convert_directory("input_audio", "converted_audio")

Use local_files_only=True to avoid network lookup:

pipe = RVCPipeline.from_pretrained("./my-rvc-model", local_files_only=True)

Train

from huggingface_hub_rvc import RVCPipeline

pipe = RVCPipeline.train(
    identity_dir="identity_audio",
    output_dir="rvc_artifact",
    training_steps=1000,
    identity_audio_mode="separate",
)
pipe.convert_directory("source_audio", "converted_audio")

Save And Push

pipe.save_pretrained("rvc_artifact")
pipe.push_to_hub("org/rvc-model", folder_path="rvc_artifact")

or:

pipe.save_pretrained("rvc_artifact", push_to_hub=True, repo_id="org/rvc-model")

Download files

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

Source Distribution

huggingface_hub_rvc-0.1.0.tar.gz (39.3 kB view details)

Uploaded Source

Built Distribution

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

huggingface_hub_rvc-0.1.0-py3-none-any.whl (42.8 kB view details)

Uploaded Python 3

File details

Details for the file huggingface_hub_rvc-0.1.0.tar.gz.

File metadata

  • Download URL: huggingface_hub_rvc-0.1.0.tar.gz
  • Upload date:
  • Size: 39.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for huggingface_hub_rvc-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9e7f95346a45d1fd3b314818e0432162e5fb10446e755e0fbdf581556c6a0beb
MD5 5a2e14486c1957a14bfc843a0c2819a9
BLAKE2b-256 52d3d5cc9a98ea9c5a49a93985e5043353d2da8a7faf3e63738b764704eb0555

See more details on using hashes here.

File details

Details for the file huggingface_hub_rvc-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for huggingface_hub_rvc-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b323ec6adf15632727cb9eecad8a5ea4e40985c02b9043f30010610f9449917
MD5 7240067793c775fd1624c5cb5dbe07dd
BLAKE2b-256 6d90f72ef8e22b58dd9c9e87e0c27e0855cfbe263514ff301ce0f01b3eca1da0

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page