Skip to main content

ShibaSVC

ShibaSVC logo

ShibaSVC is a local singing-voice conversion toolkit focused on practical HiFiSinger training and inference. It provides a Gradio GUI and command-line tools for dataset preparation, compact feature extraction, training, and conversion.

Highlights

  • HiFiSinger with HiFiGAN, RefineGAN, MS-Wavehax, and Shiba HarmonicRaw decoder configurations.
  • ContentVec and optional R-SPIN content features, plus RMVPE and other pitch extractors.
  • Local-first model assets; opening the GUI never starts a download.
  • Physical batch 8 profiles designed for an 8 GB GPU, including branchwise HarmonicRaw discriminator training.
  • Tensor-only Safetensors exports with embedded resolved configuration.
  • Explicit safe checkpoint loading with PyTorch's tensor-oriented weights_only policy.
  • Rich terminal progress and structured log/progress events in the GUI.

Quick start

Python 3.12 is required. Installing from source is recommended for GPU users because the provided installer selects the PyTorch wheel index explicitly. On Linux:

./install.sh
./run.sh

On Windows, run install.bat and then run.bat. Native Windows uses eager CUDA for maximum compatibility; use WSL2 when torch.compile fusion is required. For CPU-only PyTorch, use ./install.sh --cpu or install.bat --cpu.

After the first PyPI release, the packaged GUI can instead be installed with python -m pip install shiba-svc and launched with shiba-svc. Install the desired CPU/CUDA build of PyTorch first. See the installation guide for the complete PyPI, GitHub source archive, CUDA, and Windows instructions.

The GUI contains Conversion, Dataset preparation, Feature extraction, and Training tabs. It discovers datasets below assets/datasets/ and checkpoints in the local model directories. Pretrained checkpoints can be placed in pretrained/ or selected by path in the Training tab.

Documentation

Inference

Safetensors inference exports contain their model and preprocessing configuration:

shiba-svc-infer \
  --checkpoint logs/my_voice/epoch=59-step=13520-valid_loss=0.92.inference.safetensors \
  --input input.wav \
  --output output.wav

Pass --config for a legacy or full checkpoint without embedded metadata. Inference supports pitch adjustment, ContentVec/R-SPIN selection, output normalization, reference-style strength, and optional target-content retrieval. CUDA resources are released after each GUI conversion.

Repository layout

shiba_svc/                 # Python package
  configs/                 # packaged model/training configurations
  gui/                     # Gradio application and visual assets
  cli/                     # installed command-line implementations
assets/datasets/           # source datasets used by the GUI
logs/                      # prepared data, TensorBoard, and checkpoints
pretrained/                # explicitly downloaded/cached model assets
examples/                  # manual workflows requiring local assets
docs/                      # task-oriented documentation
tools/                     # compatibility wrappers for older commands

Tests

python -m pytest -q

Manual model and visualization workflows that require external checkpoints or audio live under examples/ and are not collected by pytest.

Attribution and responsible use

ShibaSVC is based on the Fish Diffusion codebase. Shiba HarmonicRaw is an independent decoder influenced by the alias-control ideas described in Aliasing-Free Neural Audio Synthesis; it is not the official Pupu-Vocoder implementation. See Third-party notices for the exact relationship and upstream licenses.

Use only audio for which you have the necessary rights and permissions. Voice conversion can be misused for impersonation; disclose generated or converted audio where appropriate and follow applicable laws and platform rules.

Download files

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

Source Distribution

shiba_svc-1.0.0.tar.gz (2.3 MB view details)

Uploaded Source

Built Distribution

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

shiba_svc-1.0.0-py3-none-any.whl (2.3 MB view details)

Uploaded Python 3

File details

Details for the file shiba_svc-1.0.0.tar.gz.

File metadata

  • Download URL: shiba_svc-1.0.0.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for shiba_svc-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d5eeed95a11f425bc19e532ef34b18ea2fd05b94f535f4fafde279e4d6912ffc
MD5 a47089ec80c2b321602d19fa8767b3cb
BLAKE2b-256 285818c2052fc418a2d9888b879f2a254eafab467945cf770a83ec442d97c4c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for shiba_svc-1.0.0.tar.gz:

Publisher: source-release.yml on ShiromiyaG/ShibaSVC

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

File details

Details for the file shiba_svc-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: shiba_svc-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for shiba_svc-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bdd24b7dd2a49f2dce31592ee37dda349b427229c43abc90b20261d143138395
MD5 88490df13714efe709a0572eca4ee085
BLAKE2b-256 acbcff35e44e269b31466bd745c893259653fb4695a97d3792d7616917b11069

See more details on using hashes here.

Provenance

The following attestation bundles were made for shiba_svc-1.0.0-py3-none-any.whl:

Publisher: source-release.yml on ShiromiyaG/ShibaSVC

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

Release history Release notifications | RSS feed

1.1.0

2 files

This release

1.0.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