DiffSynth-Studio icon indicating copy to clipboard operation
DiffSynth-Studio copied to clipboard

如何加载并使用LORA模型,作者可以出个DEMO.PY么

Open tommybell0 opened this issue 1 year ago • 2 comments

如何加载并使用LORA模型,作者可以出个DEMO.PY么

tommybell0 avatar Aug 06 '24 15:08 tommybell0

这里有:https://github.com/modelscope/DiffSynth-Studio/tree/main/examples/train

用 model_manager 加载模型之后,调用 model_manager.load_lora 即可加载 lora,由于开源 lora 模型结构比较混乱,我们写了脚本做自动匹配,例如,你可以在 kolors 模型上加载 sdxl 的 lora。如果遇到部分 lora 暂未支持,请给我们提 issue

Artiprocher avatar Aug 14 '24 03:08 Artiprocher

这里有:https://github.com/modelscope/DiffSynth-Studio/tree/main/examples/train

用 model_manager 加载模型之后,调用 model_manager.load_lora 即可加载 lora,由于开源 lora 模型结构比较混乱,我们写了脚本做自动匹配,例如,你可以在 kolors 模型上加载 sdxl 的 lora。如果遇到部分 lora 暂未支持,请给我们提 issue

您好,请问有尝试怎么去视频sdxl hyper的这个lora模型加载吗?那个2步,4步和8步的lora模型。

lmpeng12 avatar Aug 27 '24 10:08 lmpeng12