comfyanonymous
22f29d66ca
Try to fix memory issue with lora.
2 years ago
comfyanonymous
67be7eb81d
Nodes can now patch the unet function.
2 years ago
comfyanonymous
12a6e93171
Del the right object when applying lora.
2 years ago
comfyanonymous
78e7958d17
Support controlnet in diffusers format.
2 years ago
comfyanonymous
09386a3697
Fix issue with lora in some cases when combined with model merging.
2 years ago
comfyanonymous
58b2364f58
Properly support SDXL diffusers unet with UNETLoader node.
2 years ago
comfyanonymous
0115018695
Print errors and continue when lora weights are not compatible.
2 years ago
comfyanonymous
4760c29380
Merge branch 'fix-AttributeError-module-'torch'-has-no-attribute-'mps'' of https://github.com/KarryCharon/ComfyUI
2 years ago
comfyanonymous
0b284f650b
Fix typo.
2 years ago
comfyanonymous
e032ca6138
Fix ddim issue with older torch versions.
2 years ago
comfyanonymous
18885f803a
Add MX450 and MX550 to list of cards with broken fp16.
2 years ago
comfyanonymous
9ba440995a
It's actually possible to torch.compile the unet now.
2 years ago
comfyanonymous
51d5477579
Add key to indicate checkpoint is v_prediction when saving.
2 years ago
comfyanonymous
ff6b047a74
Fix device print on old torch version.
2 years ago
comfyanonymous
9871a15cf9
Enable --cuda-malloc by default on torch 2.0 and up.
...
Add --disable-cuda-malloc to disable it.
2 years ago
comfyanonymous
55d0fca9fa
--windows-standalone-build now enables --cuda-malloc
2 years ago
comfyanonymous
1679abd86d
Add a command line argument to enable backend:cudaMallocAsync
2 years ago
comfyanonymous
3a150bad15
Only calculate randn in some samplers when it's actually being used.
2 years ago
comfyanonymous
ee8f8ee07f
Fix regression with ddim and uni_pc when batch size > 1.
2 years ago
comfyanonymous
3ded1a3a04
Refactor of sampler code to deal more easily with different model types.
2 years ago
comfyanonymous
5f57362613
Lower lora ram usage when in normal vram mode.
2 years ago
comfyanonymous
490771b7f4
Speed up lora loading a bit.
2 years ago
comfyanonymous
50b1180dde
Fix CLIPSetLastLayer not reverting when removed.
2 years ago
comfyanonymous
6fb084f39d
Reduce floating point rounding errors in loras.
2 years ago
comfyanonymous
91ed2815d5
Add a node to merge CLIP models.
2 years ago
comfyanonymous
b2f03164c7
Prevent the clip_g position_ids key from being saved in the checkpoint.
...
This is to make it match the official checkpoint.
2 years ago
comfyanonymous
46dc050c9f
Fix potential tensors being on different devices issues.
2 years ago
KarryCharon
3e2309f149
fix mps miss import
2 years ago
comfyanonymous
606a537090
Support SDXL embedding format with 2 CLIP.
2 years ago
comfyanonymous
6ad0a6d7e2
Don't patch weights when multiplier is zero.
2 years ago
comfyanonymous
d5323d16e0
latent2rgb matrix for SDXL.
2 years ago
comfyanonymous
0ae81c03bb
Empty cache after model unloading for normal vram and lower.
2 years ago
comfyanonymous
d3f5998218
Support loading clip_g from diffusers in CLIP Loader nodes.
2 years ago
comfyanonymous
a9a4ba7574
Fix merging not working when model2 of model merge node was a merge.
2 years ago
comfyanonymous
bb5fbd29e9
Merge branch 'condmask-fix' of https://github.com/vmedea/ComfyUI
2 years ago
comfyanonymous
e7bee85df8
Add arguments to run the VAE in fp16 or bf16 for testing.
2 years ago
comfyanonymous
608fcc2591
Fix bug with weights when prompt is long.
2 years ago
comfyanonymous
ddc6f12ad5
Disable autocast in unet for increased speed.
2 years ago
comfyanonymous
603f02d613
Fix loras not working when loading checkpoint with config.
2 years ago
comfyanonymous
af7a49916b
Support loading unet files in diffusers format.
2 years ago
comfyanonymous
e57cba4c61
Add gpu variations of the sde samplers that are less deterministic
...
but faster.
2 years ago
comfyanonymous
f81b192944
Add logit scale parameter so it's present when saving the checkpoint.
2 years ago
comfyanonymous
acf95191ff
Properly support SDXL diffusers loras for unet.
2 years ago
mara
c61a95f9f7
Fix size check for conditioning mask
...
The wrong dimensions were being checked, [1] and [2] are the image size.
not [2] and [3]. This results in an out-of-bounds error if one of them
actually matches.
2 years ago
comfyanonymous
8d694cc450
Fix issue with OSX.
2 years ago
comfyanonymous
c3e96e637d
Pass device to CLIP model.
2 years ago
comfyanonymous
5e6bc824aa
Allow passing custom path to clip-g and clip-h.
2 years ago
comfyanonymous
dc9d1f31c8
Improvements for OSX.
2 years ago
comfyanonymous
103c487a89
Cleanup.
2 years ago
comfyanonymous
2c4e0b49b7
Switch to fp16 on some cards when the model is too big.
2 years ago