Skip to content

v0.1.7

Choose a tag to compare

@ChuxiJ ChuxiJ released this 24 Apr 02:33
· 69 commits to main since this release
d5d958e

πŸŽ›οΈ 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 = True
  • dcw_mode = "double", dcw_scaler = 0.05, dcw_high_scaler = 0.02
  • dcw_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"):

  1. Gradio: new VAE dropdown next to the model-variant selector under Service Configuration.
  2. 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.
  3. 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_DIR env 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_steps now honoured on turbo / 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\n separator 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_audio now work (#1036)
  • Clear error when cover / repaint / extract lack source audio (#1035)
  • Duration auto-locked to src_audio for 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_preferences no longer crashes on empty values (#1030)
  • MP3 child control visibility syncs correctly on preference restore (#1026)
  • Dropdown values validated against choices; ffmpeg -abr flag removed (#1070)

πŸ› Fixes β€” other

  • GenerationParams no longer crashes when None passed 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_lyrics is 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