From d4393bf39c8aeed88e12b8fd8d8f9fb8b5e58a20 Mon Sep 17 00:00:00 2001 From: leejet Date: Mon, 17 Nov 2025 22:49:26 +0800 Subject: [PATCH] fix: resolve issue with concat multiple LoRA output diffs in runtime mode --- lora.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lora.hpp b/lora.hpp index daabd4a01..b847f044c 100644 --- a/lora.hpp +++ b/lora.hpp @@ -633,7 +633,7 @@ struct LoraModel : public GGMLRunner { if (out_diff == nullptr) { out_diff = curr_out_diff; } 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++;