comfyanonymous
fbdb14d4c4
Cleaner CLIP text encoder implementation.
...
Use a simple CLIP model implementation instead of the one from
transformers.
This will allow some interesting things that would too hackish to implement
using the transformers implementation.
12 months ago
comfyanonymous
656c0b5d90
CLIP code refactor and improvements.
...
More generic clip model class that can be used on more types of text
encoders.
Don't apply weighting algorithm when weight is 1.0
Don't compute an empty token output when it's not needed.
1 year ago
comfyanonymous
e60ca6929a
SD1 and SD2 clip and tokenizer code is now more similar to the SDXL one.
1 year ago
comfyanonymous
ec96f6d03a
Move text_projection to base clip model.
1 year ago
comfyanonymous
00c0b2c507
Initialize text encoder to target dtype.
1 year ago
comfyanonymous
50b1180dde
Fix CLIPSetLastLayer not reverting when removed.
1 year ago
comfyanonymous
606a537090
Support SDXL embedding format with 2 CLIP.
1 year ago
comfyanonymous
d3f5998218
Support loading clip_g from diffusers in CLIP Loader nodes.
1 year ago
comfyanonymous
f81b192944
Add logit scale parameter so it's present when saving the checkpoint.
1 year ago
comfyanonymous
5e6bc824aa
Allow passing custom path to clip-g and clip-h.
1 year ago
comfyanonymous
20f579d91d
Add DualClipLoader to load clip models for SDXL.
...
Update LoadClip to load clip models for SDXL refiner.
1 year ago
comfyanonymous
f87ec10a97
Support base SDXL and SDXL refiner models.
...
Large refactor of the model detection and loading code.
1 year ago