AUTOMATIC1111 / stable-diffusion-webui-tensorrt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What is meaning "Loras are baked in into the converted model. "?

edisonchan opened this issue · comments

Does it mean if want LORA works we need to merge the LORA into checkpoint model before convert to onnx ?

commented

You need to go into settings>extra networks and find the textbox for loras to add all the loras you want to be added into the TRT model when you convert.

You need to go into settings>extra networks and find the textbox for loras to add all the loras you want to be added into the TRT model when you convert.

I did what you said to convert to a onnx file and then convert to a .trt file, but the trigger word of lora still not work when create image via text to image.

commented

hmm... okay. I'm not sure then. I've got very limited knowledge of TensorRT. I've been trying to get answers about how they calculated the size of the shape on the NVIDIA repo but have yet to get a response. I would say that at this point in time you might just go with merging the LORA into the checkpoint then converting it over since it isn't working with the Extra Networks.