Open LizardKing777 opened 7 months ago
Found a solution. Add the changes from this file to the equivalent code in scripts/lora_masks_lora_compvis.py
If you're like me, change lora_module.lora_down.weight.data.cuda to lora_module.lora_down.weight.data.cpu to make it work without a GPU.
https://github.com/siliconflow/sd-webui-onediff-LoRA/commit/a8414b1a0c98fe1914880c9254a471f94b894a67
For some reason it stopped working when I did an update. It gets all the way to the progress bar and then gives me a wall of code that ends with this: "/stable-diffusion-webui/extensions/sd-webui-lora-masks/scripts/lora_masksloracompvis.py", line 111, in forward mask = self.mask_dic[area]