fix: resolve issue with concat multiple LoRA output diffs at runtime (#985)

This commit is contained in:
leejet authored and GitHub committed 2025-11-17 22:56:07 +08:00
1 parent b88cc32346
commit 28ffb6c13d
1 file changed
+1 -1
+1 -1
View File
@@ -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++;