Add a LoraLoader node to apply loras to models and clip. · code/app-python-comfyui@ef90e9c · GitHub
Skip to content

Commit ef90e9c

Browse files
Add a LoraLoader node to apply loras to models and clip.
The models are modified in place before being used and unpatched after. I think this is better than monkeypatching since it might make it easier to use faster non pytorch unet inference in the future.
1 parent 96664f5 commit ef90e9c

3 files changed

Lines changed: 236 additions & 36 deletions

File tree

‎comfy/sd.py‎

Lines changed: 178 additions & 8 deletions

‎models/loras/put_loras_here‎

Whitespace-only changes.

‎nodes.py‎

Lines changed: 58 additions & 28 deletions

0 commit comments

Comments
 (0)