Skip to content

Commit 25789ae

Browse files
committed
ggml-qnn: rebase to upstream
1 parent 95b60b4 commit 25789ae

File tree

9 files changed

+1522
-1875
lines changed

9 files changed

+1522
-1875
lines changed

common/console.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,7 @@ namespace console {
241241
(void)codepoint;
242242
return 1;
243243
#else
244-
//return wcwidth(codepoint);
245-
(void)codepoint;
246-
return 1;
244+
return wcwidth(codepoint);
247245
#endif
248246
}
249247

examples/export-lora/export-lora.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ struct lora_merge_ctx {
148148

149149
ctx_out = gguf_init_empty();
150150
struct ggml_init_params params = {
151-
/*.mem_size =*/ static_cast<size_t>(gguf_get_n_tensors(base_model.ctx_gguf)*ggml_tensor_overhead()),
151+
/*.mem_size =*/ gguf_get_n_tensors(base_model.ctx_gguf)*ggml_tensor_overhead(),
152152
/*.mem_buffer =*/ NULL,
153153
/*.no_alloc =*/ true,
154154
};

0 commit comments

Comments
 (0)