ShiftHackZ / Stable-Diffusion-Android

Stable Diffusion AI client app for Android
https://sdai.moroz.cc
GNU Affero General Public License v3.0
740 stars 73 forks source link

Tiled diffusion for models (link to node used in comfyui included) #309

Open DuckersMcQuack opened 2 months ago

DuckersMcQuack commented 2 months ago

Is your feature request related to a problem? Please describe. Problem is ram limitation with android devices.

Describe the solution you'd like Being able to use higher resolution. https://github.com/shiimizu/ComfyUI-TiledDiffusion As this one greatly reduced memory usage for higher res generations for 4-8k res generations on a 3090, and if we can tile the model to do 128x128/256x256, we might be able to at least memory wise, be able to generate 512x512 on a s21 with only 8GB ram.

Describe alternatives you've considered Lowering resolution

Additional context

Adding LCM/turbo/lightning models can also speed up generations for quick gens.