Repository navigation
🚨 Expose ACE-Step performance controls and cuda_perf preset - #1073
Merged
Merged
Conversation
Owner
Author
|
@mirek190 deep cleanup of acestep. |
Contributor
look good ;) Do not worry I am alive. and working on improvements |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ace_step.perf_mode=off|cuda_perf.false. Weight precision is unchanged.ace_step.prefix)cuda_perfdit_attentionauto: flash on supported GPUs, eager on CPUplanner_prefix_bucketingtrueplanner_fused_projectionsfalsetrueplanner_f16_decodefalsetrueplanner_independent_cfg_prefillfalsetruevae_tile_frames1024vae_tile_overlap_frames64The three opt-in planner controls are CUDA-only. The preset's VAE tiling also applies on other backends. Default attention and prefix bucketing can change numerical results versus main; neither default nor preset output is claimed byte-identical to main.
Performance
Frozen main
dd92e32bversus this branch, RTX 5090, Debug build, 12 CPU threads, Turbo Q8 with its native planner and VAE weights. No dtype overrides;mem_saver=false, eight DiT steps, diffusion guidance 1. Planner CFG off/on means LM guidance 1/2.Each configuration runs sequentially in one fresh session: a 15-second warmup, input 1, input 1 with a different seed, input 2, and input 3. All four measured songs are 300 seconds. RTF uses total measured
session.wall_msdivided by generated duration; it includes first-long-request graph preparation. Peak VRAM includes loading and warmup, sampled every 20 ms.RTF (peak VRAM in MiB):
cuda_perfCUDA default reduces RTF by approximately 45-55% versus main.
cuda_perfreduces it by approximately 59-62%, at the cost of 2,952-4,178 MiB more peak VRAM than main. Vulkan default reduces RTF by approximately 19-24%; the larger preset tiles use substantially more VRAM. Preset settings may change generated codes and waveforms; these are throughput comparisons, not strict output-parity claims.Validation