chengzeyi / stable-fast

Best inference performance optimization framework for HuggingFace Diffusers on NVIDIA GPUs.
MIT License
1.05k stars 59 forks source link

Switching ControlNet and LoRAs #152

Open haihp02 opened 2 weeks ago

haihp02 commented 2 weeks ago

Hi everyone, i am new to stable-fast, i have some questions that i hope i can get answers from you guys. Currently i have a project that run on a single diffusers 's StableDiffusionXLPipeline,i also have another Im2ImagePipeline share all the component (initialized from the above Text2Im pipeline with .from_pipe() method). On top of these 2 pipes, i have 2 controlnet (each have a pipe for it own) and 3 LoRA (switch between LoRAs with set_adapters() method). My question are:

Excuse me for my poor English. I very much appreciate any help. Thanks for advance.