mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2025-12-13 05:48:56 +00:00
remove the redundant lx
This commit is contained in:
parent
ceb0fcfae6
commit
8850157f33
24
lora.hpp
24
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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user