Proposal: reproducible inference benchmark for v2/v2Pro/v2ProPlus on consumer GPUs
Hi maintainers,
I am a GPT-SoVITS user and have used the project extensively for Bang Dream voice dubbing experiments. The project has been very useful to me, and I would like to give back to the community by contributing something practical around inference benchmarking and optimization.
I would like to propose a reproducible inference benchmark for GPT-SoVITS.
Motivation
The README reports RTF numbers for v2 ProPlus, and the project has also been adding inference-speed improvements such as CUDA Graph support and frontend/G2PW optimizations.
However, I could not find a standard benchmark script in the repo that decomposes end-to-end inference latency into stages. I think such a benchmark could be useful for both users and contributors, especially for consumer GPU deployments.
Initial Scope
- Hardware: RTX 3060
- Versions: v2, v2Pro, v2ProPlus
- Mode: default non-streaming inference
- Batch size: 1
- Workload: Chinese short / medium / long text cases
- Metrics:
- End-to-end latency
- RTF
- Stage timing:
- text frontend
- BERT / G2PW where applicable
- T2S autoregressive decode
- SoVITS / VITS decode
- postprocess
- Peak CUDA memory
- Basic runtime correctness checks:
- non-empty audio
- expected sample rate
- reasonable duration
- no NaN / Inf values
Out of Scope for the First PR
To keep the first contribution small and reviewable, I would not include the following in the initial PR:
- Streaming benchmark
- API concurrency benchmark
- CPU-only benchmark
- Formal audio quality evaluation, such as MOS, speaker similarity, or ASR WER/CER
These could be added later if the first benchmark direction is useful.
Questions
- Are v2, v2Pro, and v2ProPlus the right first versions to benchmark?
- Are Chinese short / medium / long text cases a useful first workload?
- Would you prefer this as a script under
tools/, a documentation-only benchmark report, or both? - Is JSON/JSONL output acceptable for benchmark results?
- Are there any specific text cases, model settings, or hardware setups that maintainers would like this benchmark to support from the beginning?
If this direction looks useful, I would be happy to prepare a small PR with the benchmark harness first, before attempting any performance optimization.
Source: RVC-Boss/GPT-SoVITS