9 Commits
Author SHA1 Message Date
Leonid PershinandClaude Opus 5 e9ea6b9bab feat: generation options for infer.py, and split out training deps
infer.py could only render a random example from examples/input_params:
there was no way to pass your own prompt, lyrics, duration or seed, so
using it for anything specific meant writing a separate script. Add
--prompt, --lyrics/--lyrics_file, --duration, --steps, --guidance_scale,
--scheduler, --cfg_type, --omega_scale, --seed and --format alongside the
existing runtime flags. Without --prompt the old random-example behaviour
is kept, so existing invocations are unaffected.

Also move the training-only packages out of the default install.
datasets, pytorch_lightning, matplotlib, tensorboard and tensorboardX are
imported by trainer.py and convert2hf_dataset.py, never on the inference
path, but every user was installing them — and datasets==3.4.1 is a hard
pin that drags constraints onto huggingface-hub. They now live in
requirements-train.txt behind the existing (previously ineffective)
"train" extra: pip install -e ".[train]".

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-08 20:31:07 +03:00
sean 022a72881f fix bug caused by parameter postions in infer.py 2025-05-22 07:08:45 +00:00
xushengyuan f23b7b34e3 add vram optimization cmdline args 2025-05-09 22:47:41 +08:00
xushengyuan 56ae032172 overlapped dcae & vocoder 2025-05-09 22:26:12 +08:00
xushengyuan 054f599ebd int4 weight only quantized model using torchao 2025-05-09 20:27:25 +08:00
mrfakename 8f24ea16ab format w/ black 2025-05-06 21:38:25 -07:00
mrfakename c71dd8f75c click CLI 2025-05-06 19:23:00 -07:00
mrfakename a5746eaab6 work on pip package 2025-05-06 18:59:32 -07:00
sean 069c81ec6f add commandline inference infer.py 2025-05-06 13:01:28 +00:00