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, the original Wavehax, and Shiba HarmonicRaw decoder configurations.
  • ContentVec 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 extraction, independent input/output normalization, reference-style strength, and optional target-content retrieval. Input normalization defaults to the checkpoint's training-compatible setting (post_peak for current and legacy checkpoints). 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

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.1.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.1.0-py3-none-any.whl (2.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shiba_svc-1.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 5c9648386029eeff1bb7fcc811dd1984af498702bbec6004ad9ab8870924d10c
MD5 e983d0f55326ded28ee70fa07d688729
BLAKE2b-256 c0af23633a53e5bc758c6bb0c487aa39b353870b855300bd7cca3f6642a93315

See more details on using hashes here.

Provenance

The following attestation bundles were made for shiba_svc-1.1.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.1.0-py3-none-any.whl.

File metadata

  • Download URL: shiba_svc-1.1.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 abd6dcafe236ae4a3ef40e41db1195425fa80b1073ecb42863412e1acdf571d6
MD5 4ba3758080af02ea3a081c8fd3510809
BLAKE2b-256 2668d5cb02e23b84b207cec38ec80d9ae3f4d131b320cea36141482c77cdebeb

See more details on using hashes here.

Provenance

The following attestation bundles were made for shiba_svc-1.1.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

This release

1.1.0 This release

2 files

1.0.0

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