mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2025-12-12 21:38:58 +00:00
fix: resolve issue with concat multiple LoRA output diffs at runtime (#985)
This commit is contained in:
parent
b88cc32346
commit
28ffb6c13d
2
lora.hpp
2
lora.hpp
@ -633,7 +633,7 @@ struct LoraModel : public GGMLRunner {
|
|||||||
if (out_diff == nullptr) {
|
if (out_diff == nullptr) {
|
||||||
out_diff = curr_out_diff;
|
out_diff = curr_out_diff;
|
||||||
} else {
|
} else {
|
||||||
out_diff = ggml_concat(ctx, out_diff, curr_out_diff, ggml_n_dims(out_diff) - 1);
|
out_diff = ggml_concat(ctx, out_diff, curr_out_diff, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
index++;
|
index++;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user