We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc473ca commit a11ad65Copy full SHA for a11ad65
examples/export-lora/export-lora.cpp
@@ -148,7 +148,7 @@ struct lora_merge_ctx {
148
149
ctx_out = gguf_init_empty();
150
struct ggml_init_params params = {
151
- /*.mem_size =*/ gguf_get_n_tensors(base_model.ctx_gguf)*ggml_tensor_overhead(),
+ /*.mem_size =*/ static_cast<size_t>(gguf_get_n_tensors(base_model.ctx_gguf)*ggml_tensor_overhead()),
152
/*.mem_buffer =*/ NULL,
153
/*.no_alloc =*/ true,
154
};
0 commit comments