From 4a7bfca902b24f9fc2f1b8fe9ffb5ac30c5f4d48 Mon Sep 17 00:00:00 2001 From: Josh Yan Date: Wed, 31 Jul 2024 10:57:25 -0700 Subject: [PATCH] change progress msg --- llm/llm.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llm/llm.go b/llm/llm.go index 69aff395..7b5ca106 100644 --- a/llm/llm.go +++ b/llm/llm.go @@ -65,13 +65,13 @@ func Quantize(infile, outfile string, ftype fileType, fn func(resp api.ProgressR progressInt := atomic.LoadInt32(store) progress := *(*float32)(unsafe.Pointer(&progressInt)) fn(api.ProgressResponse{ - Status: fmt.Sprintf("quantizing model tensors %d/%d", int(progress), tensorCount), + Status: fmt.Sprintf("quantizing model %d/%d", int(progress), tensorCount), Type: "quantize", }) fmt.Println("Progress: ", progress) case <-done: fn(api.ProgressResponse{ - Status: fmt.Sprintf("quantizing model tensors %d/%d", tensorCount, tensorCount), + Status: fmt.Sprintf("quantizing model %d/%d", tensorCount, tensorCount), Type: "quantize", }) return