feat: support for merging LoRA weights on model conversion (#2079)

Co-authored-by: leejet <leejet714@gmail.com>
This commit is contained in:
Wagner Brunaandleejet authored and GitHub committed 2026-10-06 17:50:16 +08:00
1 parent bbdcad48dd
commit f4b5326da7
7 files changed
+279 -23

No files matched your search

+3 -1
View File
@@ -601,7 +601,9 @@ SD_API bool convert_with_components(const char* model_path,
enum sd_type_t output_type,
const char* tensor_type_rules,
bool convert_name,
int n_threads);
int n_threads,
const sd_lora_t* loras,
int lora_count);
SD_API bool preprocess_canny(sd_image_t image,
float high_threshold,