Ryan Dick
|
ee74cd7fab
|
Split out the prepare_noise_and_latents(...) logic in DenoiseLatentsInvocation so that it can be called from other invocations.
|
2024-06-18 15:25:08 -04:00 |
|
Ryan Dick
|
bda25b40c9
|
(minor) Add a TODO note to get_scheduler(...).
|
2024-06-18 15:25:08 -04:00 |
|
Ryan Dick
|
79ceac2f82
|
(minor) Use SilenceWarnings as a decorator rather than a context manager to save an indentation level.
|
2024-06-18 15:06:22 -04:00 |
|
Ryan Dick
|
d13aafb514
|
Tidy denoise_latents.py imports to all use absolute import paths.
|
2024-06-18 15:06:22 -04:00 |
|
Ryan Dick
|
785bb1d9e4
|
Fix all comparisons against the DEFAULT_PRECISION constant. DEFAULT_PRECISION is a torch.dtype. Previously, it was compared to a str in a number of places where it would always resolve to False. This is a bugfix that results in a change to the default behavior. In practice, this will not change the behavior for many users, because it only causes a change in behavior if a users has configured float32 as their default precision.
|
2024-06-14 11:26:10 -07:00 |
|
Ryan Dick
|
52c0c4a32f
|
Rename latent.py -> denoise_latents.py.
|
2024-06-07 09:28:42 -04:00 |
|