Skip to content

feat: add native Seed-VC audio conversion - #1758

Open
Chernobyllight wants to merge 1 commit into
mainfrom
feat/seedvc-inference
Open

Chernobyllight wants to merge 1 commit into
mainfrom
feat/seedvc-inference

Conversation

@Chernobyllight

Copy link
Copy Markdown
Contributor

Add Seed-VC V1 audio conversion through the standard LightX2V CLI and HTTP server. Prepared source and reference features produce complete playable WAV/FLAC audio using a native length regulator, DiT, CFM sampler and the included BigVGAN decoder.

Changes

  • Support 44.1 kHz F0-conditioned singing conversion, 22.05 kHz speech conversion and fixed adapters in the local seed-vc-lora-v1 format.
  • Implement block CPU offload, two-GPU tensor parallel inference, DiT compilation and startup warmup. Inference uses FP32 and PyTorch SDPA.
  • Include BigVGAN's PyTorch inference component so decoding does not depend on a locally installed package or a neighboring application checkout.
  • Provide six numbered examples, shared source/reference assets, CLI and HTTP scripts, four deployment configurations and English/Chinese documentation. LoRA and ordinary singing examples reuse the same source data.
  • Keep editable repository/weight paths at the top of the scripts using generic placeholders. This branch is independent of the YuE2 integration.

Validation

  • pre-commit run --all-files, Bash syntax, general CLI help and Seed-VC task-specific help passed.
  • All six CLI examples produced finite, non-silent audio on H100 with PyTorch 2.8.0+cu128. Outputs are sample-for-sample identical to the pre-publication implementation while imports of the external BigVGAN package are explicitly blocked.
  • Two consecutive HTTP requests matched the CLI output exactly. CPU-offload outputs also matched the eager baseline exactly.
  • Two-device SVC, VC and LoRA runs exercised both ranks; waveform RMSE against single-device inference was at most 2.20e-5.
  • Two consecutive compile/warmup requests were deterministic. Startup warmed once and the requests reused the compiled graphs without increasing the graph count.

Core and vocoder weights and the private LoRA adapter are not included. Feature extraction remains in the application layer. Combined offload/parallel/compile modes are outside the supplied configurations' validation scope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant