Commit Graph

41 Commits

Author SHA1 Message Date
6ec3f12c6e Support SSD1B model and make it easier to support asymmetric unets. 2023-10-27 14:45:15 -04:00
d44a2de49f Make VAE code closer to sgm. 2023-10-17 15:18:51 -04:00
20d3852aa1 Pull some small changes from the other repo. 2023-10-11 20:38:48 -04:00
7c9a92f552 Don't depend on torchvision. 2023-09-19 13:12:47 -04:00
2b6b178173 Added support for lanczos scaling 2023-09-19 10:40:38 +02:00
a74c5dbf37 Move some functions to utils.py 2023-09-02 22:33:37 -04:00
77a176f9e0 Use common function to reshape batch to. 2023-09-02 03:42:49 -04:00
c77f02e1c6 Move controlnet code to comfy/controlnet.py 2023-08-25 17:33:04 -04:00
51dde87e97 Try to free enough vram for control lora inference. 2023-08-24 17:20:54 -04:00
58b2364f58 Properly support SDXL diffusers unet with UNETLoader node. 2023-07-21 14:38:56 -04:00
490771b7f4 Speed up lora loading a bit. 2023-07-15 13:25:22 -04:00
603f02d613 Fix loras not working when loading checkpoint with config. 2023-07-05 19:42:24 -04:00
af7a49916b Support loading unet files in diffusers format. 2023-07-05 17:38:59 -04:00
acf95191ff Properly support SDXL diffusers loras for unet. 2023-07-04 21:15:23 -04:00
9b93b920be Add CheckpointSave node to save checkpoints.
The created checkpoints contain workflow metadata that can be loaded by
dragging them on top of the UI or loading them with the "Load" button.

Checkpoints will be saved in fp16 or fp32 depending on the format ComfyUI
is using for inference on your hardware. To force fp32 use: --force-fp32

Anything that patches the model weights like merging or loras will be
saved.

The output directory is currently set to: output/checkpoints but that might
change in the future.
2023-06-26 12:22:27 -04:00
f87ec10a97 Support base SDXL and SDXL refiner models.
Large refactor of the model detection and loading code.
2023-06-22 13:03:50 -04:00
735ac4cf81 Remove pytorch_lightning dependency. 2023-06-13 10:11:33 -04:00
0e425603fb Small refactor. 2023-06-06 13:23:01 -04:00
a3a713b6c5 Refactor previews into one command line argument.
Clean up a few things.
2023-06-06 02:13:05 -04:00
d5a28fadaa Add latent2rgb preview 2023-06-05 18:39:56 -05:00
b4f434ee66 Preview sampled images with TAESD 2023-06-05 09:20:17 -05:00
b9818eb910 Add route to get safetensors metadata:
/view_metadata/loras?filename=lora.safetensors
2023-05-29 02:48:50 -04:00
eb4bd7711a Remove einops. 2023-05-25 18:42:56 -04:00
87ab25fac7 Do operations in same order as the one it replaces. 2023-05-25 18:31:27 -04:00
2b1fac9708 Merge branch 'master' of https://github.com/BlenderNeko/ComfyUI 2023-05-25 14:44:16 -04:00
e1278fa925 Support old pytorch versions that don't have weights_only. 2023-05-25 13:30:59 -04:00
8b4b0c3188 vecorized bislerp 2023-05-25 19:23:47 +02:00
b8ccbec6d8 Various improvements to bislerp. 2023-05-23 11:40:24 -04:00
34887b8885 Add experimental bislerp algorithm for latent upscaling.
It's like bilinear but with slerp.
2023-05-23 03:12:56 -04:00
fcf513e0b6 Refactor. 2023-05-03 17:48:35 -04:00
a74e176a24 Merge branch 'tiled-progress' of https://github.com/pythongosssss/ComfyUI 2023-05-03 16:24:56 -04:00
908dc1d5a8 Add a total_steps value to sampler callback. 2023-05-03 12:58:10 -04:00
fdf57325f4 Merge remote-tracking branch 'origin/master' into tiled-progress 2023-05-03 17:33:42 +01:00
27df74101e reduce duplication 2023-05-03 17:33:19 +01:00
93c64afaa9 Use sampler callback instead of tqdm hook for progress bar. 2023-05-02 23:00:49 -04:00
c8c9926eeb Add progress to vae decode tiled 2023-04-24 11:55:44 +01:00
5282f56434 Implement Linear hypernetworks.
Add a HypernetworkLoader node to use hypernetworks.
2023-04-23 12:35:25 -04:00
809bcc8ceb Add support for unCLIP SD2.x models.
See _for_testing/unclip in the UI for the new nodes.

unCLIPCheckpointLoader is used to load them.

unCLIPConditioning is used to add the image cond and takes as input a
CLIPVisionEncode output which has been moved to the conditioning section.
2023-04-01 23:19:15 -04:00
2b1fce2943 Make tiled_scale work for downscaling. 2023-03-11 14:58:55 -05:00
9db2e97b47 Tiled upscaling with the upscale models. 2023-03-11 14:04:13 -05:00
4efa67fa12 Add ControlNet support. 2023-02-16 10:38:08 -05:00