Skip to content

Commit 8847114

Browse files
committed
fix: fix issue when applying lora
1 parent 5c561ea commit 8847114

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lora.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ struct LoraModel : public GGMLRunner {
8282

8383
zero_index = ggml_new_tensor_1d(compute_ctx, GGML_TYPE_I32, 1);
8484
set_backend_tensor_data(zero_index, zero_index_vec.data());
85+
ggml_build_forward_expand(gf, zero_index);
8586

8687
std::set<std::string> applied_lora_tensors;
8788
for (auto it : model_tensors) {

0 commit comments

Comments
 (0)