IrisRainbowNeko / HCP-Diffusion

A universal Stable-Diffusion toolbox
Apache License 2.0
893 stars 75 forks source link

[Fea] Support sdxl convert #36

Closed unrealMJ closed 10 months ago

unrealMJ commented 10 months ago

Hi, I modified the lora_convert to support converting sdxl text encoder and embedding.

IrisRainbowNeko commented 10 months ago

Very useful contribution, but a few parts need to be refined.

  1. The conversion of embedding should be in a separate file.
  2. The convert_from_webui_xl_ would also be useful to implement.
unrealMJ commented 10 months ago
  1. i support convert_from_webui_xl_ function and embedding_convert.py, it's tested with a civitai lora
  2. i fix the bug that pair_dataset.py can't load the txt caption