From 34ca572e848f1db9fb332e31b6fdc6aac58b681b Mon Sep 17 00:00:00 2001 From: Howard Su Date: Sat, 10 Jun 2023 21:47:07 +0800 Subject: [PATCH] Show progress --- llama.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/llama.cpp b/llama.cpp index b8d630326..006620965 100644 --- a/llama.cpp +++ b/llama.cpp @@ -747,11 +747,6 @@ struct llama_model_loader { if (use_mmap) { mapping.reset(new llama_mmap(&file_loaders.at(0)->file, prefetch_size)); - if (!lmlock) { - // Don't call the callback since the actual loading will be lazy - // and we can't measure it. - progress_callback = NULL; - } if (lmlock) { lmlock->init(mapping->addr); }