Ryan Dick
|
3aef717ef4
|
Fix typing of timesteps and init_timestep.
|
2024-06-18 15:35:52 -04:00 |
|
Ryan Dick
|
cb389063b2
|
Remove unused num_inference_steps.
|
2024-06-18 15:35:52 -04:00 |
|
Ryan Dick
|
7ee5db87ad
|
Tidy DenoiseLatentsInvocation.prep_control_data(...) and fix some type errors.
|
2024-06-18 15:34:30 -04:00 |
|
Ryan Dick
|
66cf2c59bd
|
Make DenoiseLatentsInvocation.prep_control_data(...) a staticmethod so that it can be called externally.
|
2024-06-18 15:34:30 -04:00 |
|
Ryan Dick
|
65fa4664c9
|
Fix return type of prepare_noise_and_latents(...).
|
2024-06-18 15:31:21 -04:00 |
|
Ryan Dick
|
297570ded3
|
Make init_scheduler() a staticmethod on DenoiseLatentsInvocation so that it can be called externally.
|
2024-06-18 15:31:21 -04:00 |
|
Ryan Dick
|
69aa7057e7
|
Convert several methods in DenoiseLatentsInvocation to staticmethods so that they can be called externally.
|
2024-06-18 15:25:08 -04:00 |
|
Ryan Dick
|
d3932f40de
|
Simplify the logic in prepare_noise_and_latents(...).
|
2024-06-18 15:25:08 -04:00 |
|
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 |
|