Skip to content

Commit

Permalink
fix: fix issue when applying lora
Browse files Browse the repository at this point in the history
  • Loading branch information
leejet committed Aug 25, 2024
1 parent 5c561ea commit 8847114
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lora.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ struct LoraModel : public GGMLRunner {

zero_index = ggml_new_tensor_1d(compute_ctx, GGML_TYPE_I32, 1);
set_backend_tensor_data(zero_index, zero_index_vec.data());
ggml_build_forward_expand(gf, zero_index);

std::set<std::string> applied_lora_tensors;
for (auto it : model_tensors) {
Expand Down

0 comments on commit 8847114

Please sign in to comment.