Model Environments

July 10, 2026 ยท View on GitHub

RVCBench integrates many third-party voice cloning and TTS models. These projects often pin incompatible versions of PyTorch, Transformers, ONNX Runtime, tokenizers, or model-specific helper packages, so one global Python environment is not expected to run every model.

During internal development, the model environment files were maintained under:

/tealab-data/rjin02/AudioWatermarkBench/envs

For the public release, the same environment specs are included in this repository under envs/. Use the environment that matches the model you are launching.

Creating an Environment

The environment YAML files reference the repository-level requirements.txt. Run the commands from the envs/ directory so relative requirement paths resolve correctly:

cd envs
conda env create -f qwen3-tts.yml
conda activate qwen3
cd ..

Then run the corresponding benchmark command, for example:

python run_vc.py --config-name ots_vc/clean/libritts/qwen3_tts_ots

To update an existing environment:

cd envs
conda env update -f qwen3-tts.yml --prune
cd ..

Model-to-Environment Map

Model familyEnvironment fileConda environment name
General benchmark / fallbackenvs/audiobench.ymlaudiobench
BertVITS2 / SafeSpeech surrogateenvs/bertvits2.ymlbertvits2
CosyVoiceenvs/cosyvoice.ymlcosyvoice
F5-TTSenvs/f5-tts.ymlaudiobench
FishSpeechenvs/fishspeech.ymlfishspeech
Fish Audio S2envs/fishspeech.ymlfishspeech
GLM-TTSenvs/glm-tts.ymlaudiobench
GlowTTSenvs/glowtts.ymlglowtts
Higgs Audioenvs/higgs-audio.ymlhiggs-audio
IndexTTSenvs/indextts.ymlindextts
Kimi Audioenvs/kimi-audio.ymlkimi-audio
MaskGCTenvs/maskgct.ymlmaskgct
MGM-Omnienvs/mgm-omni.ymlmgm-omni
MOSS-TTSDenvs/moss.ymlmoss
OpenVoiceenvs/openvoice.ymlaudiobench
OZSpeechenvs/ozspeech.ymlaudiobench
PlayDiffusionenvs/playdiffusion.ymlplaydiffusion
Qwen3-Omnienvs/qwen3-omni.ymlqwen3-omni
Qwen3-TTSenvs/qwen3-tts.ymlqwen3
Spark-TTSenvs/sparktts.ymlsparktts
StyleTTS2envs/styletts2.ymlstyletts2
VALL-Eenvs/vall-e.ymlvall-e
VibeVoiceenvs/vibevoice.ymlvibevoice
XTTS-v2envs/xtts-v2.ymlaudiobench
ZipVoiceenvs/zipvoice.ymlaudiobench

Reproducibility Options

The checked-in Conda YAML files are the lowest-friction public interface. They make model-specific dependencies visible and let users install only the environment they need.

For stronger reproducibility, generate platform-specific lock files from these YAML files with conda-lock, or publish prebuilt Docker/Apptainer images per model family. Containers are usually the most reliable option for CUDA-heavy third-party inference stacks, while Conda or Micromamba specs are easier for users who need to adapt paths, CUDA versions, or local checkpoint locations.