llama : add log about loading model tensors

This commit is contained in:
Georgi Gerganov 2025-02-06 09:24:07 +02:00
parent 2c6c8df56d
commit 3b6a0a817a
No known key found for this signature in database
GPG key ID: 449E073F9DC10735

View file

@ -1275,6 +1275,8 @@ bool llama_model::load_tensors(llama_model_loader & ml) {
const bool use_mmap_buffer = true;
LLAMA_LOG_INFO("%s: loading model tensors, this can take a while... (mmap = %s)\n", __func__, use_mmap_buffer ? "true" : "false");
// build a list of buffer types for the CPU and GPU devices
pimpl->cpu_buft_list = make_cpu_buft_list(devices);
for (auto * dev : devices) {