You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Supporting Stable Diffusion XL LoRAs trained using the Kohya-trainer
360
+
361
+
With this [PR](https://github.com/huggingface/diffusers/pull/4287), there should now be better support for loading Kohya-style LoRAs trained on Stable Diffusion XL (SDXL).
prompt ="anime screencap, glint, drawing, best quality, light smile, shy, a full body of a girl wearing wedding dress in the middle of the forest beneath the trees, fireflies, big eyes, 2d, cute, anime girl, waifu, cel shading, magical girl, vivid colors, (outline:1.1), manga anime artstyle, masterpiece, offical wallpaper, glint <lora:kame_sdxl_v2:1>"
384
+
negative_prompt ="(deformed, bad quality, sketch, depth of field, blurry:1.1), grainy, bad anatomy, bad perspective, old, ugly, realistic, cartoon, disney, bad propotions"
`Kamepan.safetensors` comes from https://civitai.com/models/22279?modelVersionId=118556 .
397
+
398
+
If you notice carefully, the inference UX is exactly identical to what we presented in the sections above.
399
+
400
+
Thanks to [@isidentical](https://github.com/isidentical) for helping us on integrating this feature.
401
+
402
+
### Known limitations specific to the Kohya-styled LoRAs
403
+
404
+
* SDXL LoRAs that have both the text encoders are currently leading to weird results. We're actively investigating the issue.
405
+
* When images don't looks similar to other UIs such ComfyUI, it can be beacause of multiple reasons as explained [here](https://github.com/huggingface/diffusers/pull/4287/#issuecomment-1655110736).
0 commit comments