Skip to content

feat: add native YingMusic-SVC inference - #1770

Merged
helloyongyang merged 1 commit into
mainfrom
feat/yingmusic-svc
Nov 30, 2026
Merged

helloyongyang merged 1 commit into
mainfrom
feat/yingmusic-svc

Conversation

@Chernobyllight

Copy link
Copy Markdown
Contributor

Adds native YingMusic-SVC singing voice conversion through model_cls=yingmusic and task=a2a, taking a source lead vocal and a target reference and producing a 44.1 kHz mono vocal.

  • Native DiT, length regulation, style-residual conditioning and Euler sampling, with strict full-checkpoint loading and the Whisper/RMVPE/CAMPPlus frontend and BigVGAN vocoder.
  • CLI and HTTP inference, single GPU and TP2, CPU block offload, and compilation with startup warmup.
  • Three shared examples, English/Chinese usage documentation and explicit Whisper asset filenames. Launchers use fixed FP16 compute and FP32 sensitive operations without requiring precision exports in the invoking shell.
  • Data-only presets are kept in the example repository; inference defaults stay in deployment JSON. The shared sample helper applies the third example's +2-semitone control.

Example data: ModelTC/lightx2v_examples#4. Place the lightx2v_examples checkout beside LightX2V and set the two path variables at the top of the launch script, following the YuE2 convention.

Validation:

  • Final PR code and example data: a 100-step single-GPU run with Python 3.11, Torch 2.8.0+cu128 and transformers 5.15.0, with no external precision or thread-count exports; finite 31.997-second output at 44.1 kHz.
  • Single-GPU/TP2 100-step inference and HTTP submit/poll/download tested in the same runtime; HTTP decoded samples exactly match single-GPU CLI output.
  • CPU offload and compile/warmup tested with Torch 2.10.0+cu128 and transformers 4.57.6, including consecutive requests and per-mode PCM regression comparisons.
  • All shell scripts pass bash -n; full pre-commit run --all-files passes.

This change leaves the repository-root READMEs, dependency configuration, ignore rules and common launcher unchanged. Model weights, generated outputs and local validation artifacts are not included.

@helloyongyang
helloyongyang merged commit 4106a8a into main Nov 30, 2026
1 check passed
@helloyongyang
helloyongyang deleted the feat/yingmusic-svc branch November 30, 2026 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants