cheald / sd-webui-loractl

An Automatic1111 extension for dynamically controlling the weights of LoRAs during image generation
MIT License
239 stars 10 forks source link

How to load lora diretly? #34

Closed jiaxiangc closed 4 months ago

jiaxiangc commented 4 months ago

I want to load lora from lora path directly in webui? do you know how to code it thanks

cheald commented 4 months ago

This question is out of scope for this project, but I suggest that you look at the Lora/networks.py file in A1111 for the lora loading routine.

jiaxiangc commented 4 months ago

@cheald I am looking forward to a help. I have a plugin about adapting diffusion model resolution. https://github.com/bytedance/res-adapter I have make ComfyUI Node, but I am new to webui. It is difficult for me to understand lora load in A1111 repo. Can you give me detailed advice or guidance about lora load function. (Just a minimal function to load lora for diffusion_model).

cheald commented 4 months ago

This is a question better asked on the A1111 repo. This extension doesn't deal with loading loras.

jiaxiangc commented 4 months ago

Thanks for your advice.