rvion / CushyStudio

🛋 The AI and Generative Art platform for everyone
https://docs.cushystudio.com/
GNU Affero General Public License v3.0
645 stars 45 forks source link

Model Modifiers - Perturbed Attention and Kohya Deep Shrink #212

Closed GitWilburn closed 3 months ago

GitWilburn commented 4 months ago
  1. Added perturbed attention guidance Can improve attention at the cost of performance. Support for both base pass and hires pass (there is a breaking change for any existing app using run_model that SAG won't be included anymore, refer to CushyDiffusion for new method)
  2. Added Kohya Deep Shrink Can adapt models to higher resolution than training, and helps with coherence for non-tiled hires fix. Example use: SD1.5 generate 2048x2048 using kohya scale of 4. Or upscale 512x512 4x on hires fix with less artifacts.
  3. Added selection to SAG to choose if it applies to base or hires pass
rvion commented 3 months ago

Thanks 🙏 ! 🔥