feat: support more LoRA models (Kroma-v0.1 support) (#1842)

This commit is contained in:
stduhpf
2026-08-02 10:08:47 +02:00
committed by GitHub
parent 10378f42db
commit 8457624101
2 changed files with 22 additions and 7 deletions

View File

@@ -1384,6 +1384,8 @@ std::string convert_tensor_name(std::string name, SDVersion version) {
{".lora_B.weight", ".weight.lora_up"},
{".lora_A.default.weight", ".weight.lora_down"},
{".lora_B.default.weight", ".weight.lora_up"},
{".lora_A", ".weight.lora_down"},
{".lora_B", ".weight.lora_up"},
{".lora_linear", ".weight.alpha"},
{".alpha", ".weight.alpha"},
{".scale", ".weight.scale"},