mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-11 11:26:34 +00:00
feat: support for merging LoRA weights on model conversion (#2079)
Co-authored-by: leejet <leejet714@gmail.com>
This commit is contained in:
1 parent
bbdcad48dd
commit
f4b5326da7
7 files changed
+279
-23
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user