Skip to content

Commit 7ccdcdb

Browse files
ggerganovorca-zhang
authored andcommitted
llama : add log about loading model tensors (ggml-org#11699)
1 parent 2dde966 commit 7ccdcdb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/llama-model.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,6 +1275,8 @@ bool llama_model::load_tensors(llama_model_loader & ml) {
12751275

12761276
const bool use_mmap_buffer = true;
12771277

1278+
LLAMA_LOG_INFO("%s: loading model tensors, this can take a while... (mmap = %s)\n", __func__, use_mmap_buffer ? "true" : "false");
1279+
12781280
// build a list of buffer types for the CPU and GPU devices
12791281
pimpl->cpu_buft_list = make_cpu_buft_list(devices);
12801282
for (auto * dev : devices) {

0 commit comments

Comments
 (0)