Skip to content

Commit

Permalink
update libbmrt
Browse files Browse the repository at this point in the history
  • Loading branch information
HarmonyHu committed Dec 16, 2024
1 parent 2f76a05 commit 0d2d3d5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/Qwen2/lora_demo/chat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -590,12 +590,12 @@ void Qwen::empty_bmodel_weight(
p_bmrt, model_path.c_str(), net_idx.c_str(), mem_idx.c_str(),
const_cast<const char**>(weight_idx_char), (int)weight_idx.size(), decrypt_func_
);
ASSERT(true == ret, "load lora binary weight error");

for (size_t i = 0; i < weight_idx.size(); ++i) {
delete[] weight_idx_char[i];
}
delete[] weight_idx_char;
ASSERT(true == ret, "load lora binary weight error");
}

void Qwen::free_in_tensors() {
Expand Down
Binary file modified models/Qwen2/support/lib_soc/libbmrt.so.1.0
Binary file not shown.
Binary file modified support/lib_soc/libbmrt.so.1.0
Binary file not shown.

0 comments on commit 0d2d3d5

Please sign in to comment.