mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-01-25 07:28:18 -05:00
Strategize slicing based on free [V]RAM when not using xformers. Free [V]RAM is evaluated at every generation. When there's enough memory, the entire generation occurs without slicing. If there is not enough free memory, we use diffusers' sliced attention.