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

This commit is contained in:
leejet 2025-11-17 22:56:07 +08:00 committed by GitHub
parent b88cc32346
commit 28ffb6c13d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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++;