From 8850157f33e3bc99ce43d6fd624303046cdf6287 Mon Sep 17 00:00:00 2001 From: leejet Date: Wed, 12 Nov 2025 23:54:22 +0800 Subject: [PATCH] remove the redundant lx --- lora.hpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lora.hpp b/lora.hpp index 59ced18..daabd4a 100644 --- a/lora.hpp +++ b/lora.hpp @@ -614,18 +614,18 @@ struct LoraModel : public GGMLRunner { forward_params.conv2d.direct, forward_params.conv2d.scale); } - lx = lx = ggml_ext_conv_2d(ctx, - lx, - lora_up, - nullptr, - 1, - 1, - 0, - 0, - 1, - 1, - forward_params.conv2d.direct, - forward_params.conv2d.scale); + lx = ggml_ext_conv_2d(ctx, + lx, + lora_up, + nullptr, + 1, + 1, + 0, + 0, + 1, + 1, + forward_params.conv2d.direct, + forward_params.conv2d.scale); } auto curr_out_diff = ggml_scale_inplace(ctx, lx, scale_value);