Comfyui_CXH_FluxLoraMerge

Comfyui_CXH_FluxLoraMerge
★ 28

LoRA合并自动保存自适应合并权重融合
将两个 LoRA 权重按多种策略合并并自动保存到 lora 目录,支持自适应、手动和加法合并,方便融合微调权重。
💡 把两个 LoRA 模型合并成一个并保存到 lora 文件夹。
🍴 6 Forks💻 Python🔄 2024-12-26
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/6862a2001521
📦 requirements.txt
tqdm
65ff0b9e18bad7d98f426bbb99c04f8
📄 README

Comfyui_CXH_FluxLoraMerge

flux lora merge

自动保存到lora目录:auto save to lora dir

Merge type:

1.自适应合并(使用张量范数和权重) adaptive Merge (uses tensor norms and weight)

2.手动合并(使用您指定的固定权重) manual Merge (uses fixed weights you specify)

3.加法合并(使用第一个的100%并加上第二个的一定百分比) additive Merge (uses 100% of the first and adds a percentage of the second)