13 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
Leonid PershinandClaude Opus 5 6e3273d049 deps: migrate the UI to Gradio 6
Gradio was unpinned, so a fresh install pulled Gradio 6, where
gr.Audio no longer accepts show_download_button — the UI crashed on
startup with TypeError. Move forward to Gradio 6 instead of pinning
back to 5:

- requirements: gradio>=6.0.0
- drop the removed show_download_button kwarg (4 call sites)
- requirements: transformers>=4.57.0 — Gradio 6 requires
  huggingface-hub>=1.0, which transformers==4.50.0 forbids. Only
  UMT5EncoderModel and AutoTokenizer are used, so the bump is safe.

Verified: pip check clean, UI renders and server callbacks work on
gradio 6.26.0 / transformers 5.16.1 / huggingface-hub 1.30.0.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-08 18:38:12 +03:00
Michael Hedman 12bcab346e revert unlocking dependencies 2025-05-19 16:55:01 +02:00
Michael Hedman 1176d3bf97 unlock dependencies for future versions 2025-05-19 13:54:42 +02:00
Michael Hedman 730340f14a bump diffusers>=0.33.0 to prevent diffusers==0.32.2 dtype casting issue 2025-05-19 13:52:22 +02:00
chuxij ce2caec957 fix train bugs and add train details 2025-05-12 18:50:54 +00:00
chuxij 92dc15663b add examples and fix bugs 2025-05-12 14:13:39 +00:00
chuxij 348cebc7f8 add lora interface 2025-05-12 08:09:26 +00:00
mrfakename a5746eaab6 work on pip package 2025-05-06 18:59:32 -07:00
chuxij 09560dd878 rename to ace step 2025-04-28 15:21:19 +00:00
chuxij 290d151662 add remix and data sample 2025-04-27 06:15:42 +00:00
chuxij db32300e75 refact project 2025-04-25 15:45:24 +00:00
sean d6f5a2d911 all inference code 2025-04-03 12:25:30 +08:00