Spaces:
Running
Running
switch training to standard turbo (11s/epoch), auto-select standard GGUF for LoRA inference
Browse filesFiles changed (2)
- Dockerfile+5-1
- app.py+3-2
52 unmodified lines5354555657585960616252 unmodified lines# Download GGUF models at build time (NOT via Git LFS)# --fail ensures curl returns non-zero on HTTP errors (catches 404)# XL DiT turbo Q4_K_M (~2.8GB) - best quality/size for CPURUN curl -fL --retry 3 --retry-delay 5 -o /app/models/acestep-v15-xl-turbo-Q4_K_M.gguf \"https://huggingface.co/Serveurperso/ACE-Step-1.5-GGUF/resolve/main/acestep-v15-xl-turbo-Q4_K_M.gguf"# LM 1.7B Q8_0 (~1.7GB) - best speed/quality on CPURUN curl -fL --retry 3 --retry-delay 5 -o /app/models/acestep-5Hz-lm-1.7B-Q8_0.gguf \"https://huggingface.co/Serveurperso/ACE-Step-1.5-GGUF/resolve/main/acestep-5Hz-lm-1.7B-Q8_0.gguf"52 unmodified lines535455565758596061626364656652 unmodified lines# Download GGUF models at build time (NOT via Git LFS)# --fail ensures curl returns non-zero on HTTP errors (catches 404)# XL DiT turbo Q4_K_M (~2.8GB) - best quality for no-LoRA inferenceRUN curl -fL --retry 3 --retry-delay 5 -o /app/models/acestep-v15-xl-turbo-Q4_K_M.gguf \"https://huggingface.co/Serveurperso/ACE-Step-1.5-GGUF/resolve/main/acestep-v15-xl-turbo-Q4_K_M.gguf"# Standard DiT turbo Q4_K_M (~1.1GB) - used when LoRA adapter is selectedRUN curl -fL --retry 3 --retry-delay 5 -o /app/models/acestep-v15-turbo-Q4_K_M.gguf \"https://huggingface.co/Serveurperso/ACE-Step-1.5-GGUF/resolve/main/acestep-v15-turbo-Q4_K_M.gguf"# LM 1.7B Q8_0 (~1.7GB) - best speed/quality on CPURUN curl -fL --retry 3 --retry-delay 5 -o /app/models/acestep-5Hz-lm-1.7B-Q8_0.gguf \"https://huggingface.co/Serveurperso/ACE-Step-1.5-GGUF/resolve/main/acestep-5Hz-lm-1.7B-Q8_0.gguf"
147 unmodified lines148149150151152153360 unmodified lines51451551651751851952033 unmodified lines554555556557558559560147 unmodified linessynth_request["output_format"] = synth_fmtif adapter:synth_request["adapter"] = adapterif progress_cb:progress_cb("synth_submit", None)r = requests.post(f"{ACE_SERVER}/synth", json=synth_request, timeout=30)360 unmodified linesoutput_dir=preprocessed_dir,checkpoint_dir=ACE_CHECKPOINT_DIR,device="cpu",variant="xl-turbo",max_duration=float(MAX_AUDIO_DURATION),progress_callback=preprocess_progress,cancel_check=lambda: False,33 unmodified linesmax_grad_norm=1.0,save_every_n_epochs=max(1, epochs // 2),seed=42,variant="xl-turbo",device="cpu",log_every=5,):147 unmodified lines148149150151152153154360 unmodified lines51551651751851952052133 unmodified lines555556557558559560561147 unmodified linessynth_request["output_format"] = synth_fmtif adapter:synth_request["adapter"] = adaptersynth_request["synth_model"] = "acestep-v15-turbo-Q4_K_M.gguf"if progress_cb:progress_cb("synth_submit", None)r = requests.post(f"{ACE_SERVER}/synth", json=synth_request, timeout=30)360 unmodified linesoutput_dir=preprocessed_dir,checkpoint_dir=ACE_CHECKPOINT_DIR,device="cpu",variant="turbo",max_duration=float(MAX_AUDIO_DURATION),progress_callback=preprocess_progress,cancel_check=lambda: False,33 unmodified linesmax_grad_norm=1.0,save_every_n_epochs=max(1, epochs // 2),seed=42,variant="turbo",device="cpu",log_every=5,):
Dockerfile+5-1
app.py+3-2