sd: sync to master-358-347710f

Also adapt Koboldcpp LoRA loading function, and add
backend support for lora_apply_mode.
This commit is contained in:
Wagner Bruna
2025-11-13 22:15:56 -03:00
committed by Wagner Bruna
parent 3318b73c94
commit 3a7dd1a97f
24 changed files with 1035 additions and 216 deletions
+1
View File
@@ -303,6 +303,7 @@ class sd_load_model_inputs(ctypes.Structure):
("vae_filename", ctypes.c_char_p),
("lora_filename", ctypes.c_char_p),
("lora_multiplier", ctypes.c_float),
("lora_apply_mode", ctypes.c_int),
("photomaker_filename", ctypes.c_char_p),
("img_hard_limit", ctypes.c_int),
("img_soft_limit", ctypes.c_int),