Repository navigation
v0.1.7
ποΈ DCW (Differential Correction in Wavelet domain)
The headline of this release: we ship DCW, a training-free, sampler-side correction from Elucidating the SNR-t Bias of Diffusion Probabilistic Models (CVPR 2026, arXiv:2604.16044, reference: AMAP-ML/DCW).
DCW decomposes each DiT sampler step's latent and its x0-reconstruction via a 1-D DWT along the time axis, then pushes the low / high frequency bands away from the reconstruction per-band. It compensates for the drift between training and inference SNR with negligible compute and no retraining.
Defaults (tuned via grid search on the pure-DiT path):
dcw_enabled = Truedcw_mode = "double",dcw_scaler = 0.05,dcw_high_scaler = 0.02dcw_wavelet = "haar"
Coverage: wired into every sampler path β base, sft, turbo, xl_base, xl_sft, xl_turbo, and the MLX Apple Silicon path (native Haar + pytorch_wavelets bridge for non-Haar bases). Full Gradio UI controls under Advanced DiT β π§ͺ DCW.
Quick API usage:
params = GenerationParams(
caption="mellow lo-fi hiphop with jazzy piano",
dcw_enabled=True, dcw_mode="double",
dcw_scaler=0.05, dcw_high_scaler=0.02,
)See docs/en/DCW.md for details, mode reference, and tuning guidance.
ποΈ Swap-in support for community VAEs (ScragVAE)
This release also adds first-class support for community-finetuned VAEs, with the first registered variant being ScragVAE (MIT, by @scragnog) β a fine-tune of ACE-Step/ace-step-v1.5-1d-vae-stable-audio-format.
Three ways to pick which VAE to load (precedence: explicit param > env var > default "official"):
- Gradio: new VAE dropdown next to the model-variant selector under Service Configuration.
- Environment:
export ACESTEP_VAE_CHECKPOINT=scragvae(or an absolute path to a local Oobleck VAE directory). In Gradio, the env var seeds the dropdown's initial value on first launch. - API:
dit_handler.initialize_service(..., vae_checkpoint="scragvae").
Weights are not vendored β they're auto-downloaded into <checkpoints>/scragvae/ on first use via the existing HuggingFace β ModelScope smart-download path (~640 MB). The MLX (Apple Silicon) path picks up the alternate VAE for free, since MLXAutoEncoderOobleck.from_pytorch_config(self.vae) rebuilds itself from whichever PyTorch VAE just loaded.
See docs/en/ALT_VAE.md for the full table, env-var contract, and how to register a new community VAE.
β¨ Features
- DCW sampler hook, with full Gradio UI, MLX support, and default-on (#1120)
- Swap-in support for community VAEs (ScragVAE registered) β env var, Gradio dropdown, API kwarg (#1138, #1139)
- User preferences persisted across sessions via localStorage (#1013)
ACESTEP_CHECKPOINTS_DIRenv var for shared model storage across installations (#1056, #1057)- MLX VAE decode chunk size configurable with auto-tuning, lower peak memory on Apple Silicon (#1042, #1059)
- Portuguese (pt-BR) i18n translation (#1087)
- Gradio A/B toggle for legacy LM CFG uncond prompt format
π Fixes β sampling / models
infer_stepsnow honoured onturbo/xl_turboβ previously silently clamped to 8 steps- Handler kwargs no longer silently swallowed on
base/turbo/xl_turbo - LM CFG unconditional prompt aligned with training dropout format (#1127), including the missing
\n\nseparator after</think>in CFG codes prompt (#1128) and correct"<think>\n</think>"rendering of empty reasoning for 1.5
π Fixes β cover / remix / repaint flows
- Cover / repaint tasks with audio codes but no
src_audionow work (#1036) - Clear error when cover / repaint / extract lack source audio (#1035)
- Duration auto-locked to
src_audiofor cover / repaint / lego / extract (#1031, #1033) - AAC / M4A source audio supported in remix / extract (#1028)
π Fixes β Gradio / UI
- LM Codes Hints textbox stays editable so load-JSON can import codes
restore_preferencesno longer crashes on empty values (#1030)- MP3 child control visibility syncs correctly on preference restore (#1026)
- Dropdown values validated against choices; ffmpeg
-abrflag removed (#1070)
π Fixes β other
GenerationParamsno longer crashes whenNonepassed for numeric fields (#1027)- Auto-calculation allowed for metadata params in API (duration / bpm) (#1023)
- macOS compatibility: Bash 4.0+ uppercase syntax replaced in update scripts (#1061)
- Triton-without-torch now produces a clearer error (#1110)
- Loguru printf specifiers fixed (#1043)
- MLX VAE stride-safety env clamp raised to 192
π Docs / community
- Clarified
use_cot_lyricsis a CLI-layer gate (#1106) - DCW docs under
docs/en/DCW.md - Alt-VAE docs under
docs/en/ALT_VAE.md - Added Majik's Music Studio to Partners (#1040)
Full changelog: v0.1.6...v0.1.7