ComfyUI_ExtractLora

ComfyUI_ExtractLora
★ 1

LoRACheckpoint差异提取SVDrsvd快速
从两个 checkpoint 提取差异并生成 LoRA,将微调模型相对于基模型的改动以低秩权重保存;支持 svd 与 rsvd(rsvd 更快、精度略低),可设置 rank 与 oversampling。
💡 将微调模型与基模型的差异导出为 LoRA 节省存储
🍴 1 Forks💻 Python🔄 2025-12-06
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/79aaff81621b
📄 README

Creates lora from two checkpoints by extracting the difference.

model_a is the base model

model_b is the finetuned model

rank is the final rank of the model, higher = larger size

method is rsvd (fast, but marginally less precise) or svd

There are two ways to extract, rsvd which is faster and 99% as good as svd, you can choose oversampling for this one.