cont : fix mmap flag print (#11699)

This commit is contained in:
Georgi Gerganov 2025-02-08 16:49:38 +02:00
parent 4d3465c5ae
commit bdcf8b6a56
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
2 changed files with 1 additions and 2 deletions

View file

@ -1275,7 +1275,7 @@ 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");
LLAMA_LOG_INFO("%s: loading model tensors, this can take a while... (mmap = %s)\n", __func__, ml.use_mmap ? "true" : "false");
// build a list of buffer types for the CPU and GPU devices
pimpl->cpu_buft_list = make_cpu_buft_list(devices);