From 98ead008717328110ea67417f9d5c0ea9f5e8b03 Mon Sep 17 00:00:00 2001 From: Christian M Date: Mon, 25 Dec 2023 11:51:49 +0100 Subject: [PATCH] :loud_sound: change print to debug --- src/llm/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/llm/mod.rs b/src/llm/mod.rs index 38450e6..1b07795 100644 --- a/src/llm/mod.rs +++ b/src/llm/mod.rs @@ -87,7 +87,7 @@ pub fn create_model( total_size_in_bytes += elem_count * tensor.ggml_dtype.type_size() / tensor.ggml_dtype.blck_size(); } - println!( + debug!( "loaded {:?} tensors ({}) in {:.2}s", model.tensor_infos.len(), &format_size(total_size_in_bytes), @@ -103,13 +103,13 @@ pub fn create_model( total_size_in_bytes += elem_count * tensor.dtype().type_size() / tensor.dtype().blck_size(); } - println!( + debug!( "loaded {:?} tensors ({}) in {:.2}s", content.tensors.len(), &format_size(total_size_in_bytes), start.elapsed().as_secs_f32(), ); - println!("params: {:?}", content.hparams); + debug!("params: {:?}", content.hparams); let default_gqa = match model { Models::L7b | Models::L13b