Ryan Dick
|
81991e072b
|
Merge branch 'main' into ryan/spandrel-upscale
|
2024-07-16 15:14:08 -04:00 |
|
psychedelicious
|
712cf00a82
|
fix(app): vae tile size field description
|
2024-07-12 06:30:27 -07:00 |
|
Ryan Dick
|
7b5d4935b4
|
Merge branch 'main' into ryan/spandrel-upscale
|
2024-07-09 13:47:11 -04:00 |
|
Ryan Dick
|
ecbff2aa44
|
Whoops... forgot to commit this file.
|
2024-07-05 14:57:05 -04:00 |
|
Ryan Dick
|
d09999736c
|
Rename spandrel models to 'Image-to-Image Model' throughout the UI.
|
2024-07-05 14:04:08 -04:00 |
|
Ryan Dick
|
35f8781ea2
|
Fix static type errors with SCHEDULER_NAME_VALUES. And, avoid bi-directional cross-directory imports, which contribute to circular import issues.
|
2024-07-05 07:38:35 -07:00 |
|
Ryan Dick
|
1d449097cc
|
Apply ruff rule to disallow all relative imports.
|
2024-07-04 09:35:37 -04:00 |
|
Ryan Dick
|
9da5925287
|
Add ruff rule to disallow relative parent imports.
|
2024-07-04 09:35:37 -04:00 |
|
Ryan Dick
|
6161aa73af
|
Move pil_to_tensor() and tensor_to_pil() utilities to the SpandrelImageToImage class.
|
2024-07-03 16:28:21 -04:00 |
|
Ryan Dick
|
504a42fe61
|
typo: fix UIType on Spandrel Upscaling node.
|
2024-07-03 16:28:21 -04:00 |
|
Ryan Dick
|
29c8ddfb88
|
WIP - A bunch of boilerplate to support Spandrel Image-to-Image models throughout the model manager and the frontend.
|
2024-07-03 16:28:21 -04:00 |
|
Ryan Dick
|
95079dc7d4
|
Use a ModelIdentifierField to identify the spandrel model in the UpscaleSpandrelInvocation.
|
2024-07-03 16:28:21 -04:00 |
|
Ryan Dick
|
c1afe35704
|
Add prototype invocation for running upscaling models with spandrel.
|
2024-07-03 16:28:21 -04:00 |
|
Ryan Dick
|
3752509066
|
Expose the VAE tile_size on the VAE encode and decode invocations.
|
2024-07-02 09:07:03 -04:00 |
|
Ryan Dick
|
79640ba14e
|
Add context manager for overriding VAE tiling params.
|
2024-07-02 09:07:03 -04:00 |
|
Ryan Dick
|
bd74b84cc5
|
Revert "Remove the redundant init_timestep parameter that was being passed around. It is simply the first element of the timesteps array."
This reverts commit fa40061eca .
|
2024-06-26 12:51:51 -04:00 |
|
Ryan Dick
|
b9946e50f9
|
Use image-space tile dimensions on the TiledMultiDiffusionDenoiseLatents invocation. This is more natural for many users.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
06f49a30f6
|
Mark TiledMultiDiffusionDenoiseLatents as a Beta node.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
e1af78c702
|
Make the tile_overlap input to MultiDiffusion *strictly* control the amount of overlap rather than being a lower bound.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
7c032ea604
|
(minor) Fix some documentation typos.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
c5ee415607
|
Add progress image callbacks to TiledMultiDiffusionDenoiseLatentsInvocation.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
fa40061eca
|
Remove the redundant init_timestep parameter that was being passed around. It is simply the first element of the timesteps array.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
7cafd78d6e
|
Revert "Expose vae_decode(...) as a staticmethod on LatentsToImageInvocation."
This reverts commit 753239b48d .
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
8a43656cf9
|
(minor) Address a few small TODOs.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
bd3b6ca11b
|
Remove TiledStableDiffusionRefineInvocation. It was a proof-of-concept that has been superseded by TiledMultiDiffusionDenoiseLatents.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
ceae5fe1db
|
(minor) typo
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
c22526b9d0
|
Fix handling of stateful schedulers in MultiDiffusionPipeline.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
c881882f73
|
Connect TiledMultiDiffusionDenoiseLatents to the MultiDiffusionPipeline backend.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
80a67572f1
|
Fix invocation name of tiled_multi_diffusion_denoise_latents.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
60ac937698
|
Improve clarity of comments regarded when 'noise' and 'latents' are expected to be set.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
196f3b721d
|
Stricter typing for the is_gradient_mask: bool.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
40ae174c41
|
Fix typing of timesteps and init_timestep.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
ffc28176fe
|
Remove unused num_inference_steps.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
230e205541
|
WIP TiledMultiDiffusionDenoiseLatents. Updated parameter list and first half of the logic.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
7e94350351
|
Tidy DenoiseLatentsInvocation.prep_control_data(...) and fix some type errors.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
c4e8549c73
|
Make DenoiseLatentsInvocation.prep_control_data(...) a staticmethod so that it can be called externally.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
350a210835
|
Copy TiledStableDiffusionRefineInvocation as a starting point for TiledMultiDiffusionDenoiseLatents.py
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
ed781dbb0c
|
Change tiling strategy to make TiledStableDiffusionRefineInvocation work with more tile shapes and overlaps.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
b41ea963e7
|
Expose a few more params from TiledStableDiffusionRefineInvocation.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
da5d105049
|
Add support for LoRA models in TiledStableDiffusionRefineInvocation.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
5301770525
|
Add naive ControlNet support to TiledStableDiffusionRefineInvocation
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
534640ccde
|
Rough prototype of TiledStableDiffusionRefineInvocation is working.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
d5ab8cab5c
|
WIP - TiledStableDiffusionRefine
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
4767301ad3
|
Minor improvements to LatentsToImageInvocation type hints.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
21d7ca45e6
|
Expose vae_decode(...) as a staticmethod on LatentsToImageInvocation.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
020e8eb413
|
Fix return type of prepare_noise_and_latents(...).
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
3d49541c09
|
Make init_scheduler() a staticmethod on DenoiseLatentsInvocation so that it can be called externally.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
1ef266845a
|
Only allow a single positive/negative prompt conditioning input for tiled refine.
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
a37589ca5f
|
WIP on TiledStableDiffusionRefine
|
2024-06-25 11:31:52 -07:00 |
|
Ryan Dick
|
171a505f5e
|
Convert several methods in DenoiseLatentsInvocation to staticmethods so that they can be called externally.
|
2024-06-25 11:31:52 -07:00 |
|