InvokeAI/ldm
Jonathan 093174942b
Add thresholding for all diffusers types (#2479)
`generator` now asks `InvokeAIDiffuserComponent` to do postprocessing work on latents after every step. Thresholding - now implemented as replacing latents outside of the threshold with random noise - is called at this point. This postprocessing step is also where we can hook up symmetry and other image latent manipulations in the future.

Note: code at this layer doesn't need to worry about MPS as relevant torch functions are wrapped and made MPS-safe by `generator.py`.
2023-02-14 18:00:34 -06:00
..
data Textual Inversion for M1 2022-09-27 01:39:17 +02:00
invoke Add thresholding for all diffusers types (#2479) 2023-02-14 18:00:34 -06:00
models Add thresholding for all diffusers types (#2479) 2023-02-14 18:00:34 -06:00
modules Merge branch 'main' into lstein-improve-ti-frontend 2023-01-24 11:53:03 -05:00
__init__.py Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00
generate.py Strategize slicing based on free [V]RAM (#2572) 2023-02-12 18:24:15 +00:00
lr_scheduler.py prettified all the code using "blue" at the urging of @tildebyte 2022-08-26 03:15:42 -04:00
simplet2i.py Squashed commit of the following: 2022-09-12 14:31:48 -04:00
util.py Allow multiple models to be imported by passing a directory. 2023-02-05 08:11:02 -08:00