kuanhenglin
kuanhenglin
I just pushed a new version of the code that supports sequential CPU offloading (now with ~3.8GB of peak VRAM usage). I tested it with your exact settings (10 steps,...
Additionally, our implementation of Ctrl-X right now is not the most memory-efficient because we are batching all three branches (structure, appearance, and output) during generation, so the memory usage is...
That's strange, can you provide the command that you used to run this? Edit: I just downloaded my own code onto a new machine and executed the script (with the...
This is more of a HuggingFace-related problem than other schedules inherently not working for our method. Specifically, Ctrl-X uses self-recurrence, i.e., at certain timesteps we add noise to $\mathbf{x}_{t -...
$\mathbf{W}^Q_l$ and $\mathbf{W}^K_l$ are the query and key projection matrices (linear layers) of self-attention layer $l$ before the attention operation. These are from the diffusion model (e.g., SDXL) itself.
Self-recurrence is done _without_ structure and appearance control. After each inference step where self-recurrence is enabled (by default we do self-recurrence on timesteps `[0.1, 0.5]`, $n^\textrm{r} = 2$), we apply...
Our code has just been released! Thanks for your patience :D
For prompt-driven controllable generation, the model details are as follows: - Ctrl-X, FreeControl, and SDEdit: **SDXL v1.0** - ControlNet, T2I-Adapter: **SD v1.5**, because at the time us writing the paper...
We current don't have plans to support FLUX (and other DiTs such as SD3), but since Ctrl-X mainly operates on self-attention we believe that the method _can_ be applied to...