diff --git a/llm/llm.go b/llm/llm.go index 7b5ca106..29b39537 100644 --- a/llm/llm.go +++ b/llm/llm.go @@ -65,14 +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 %d/%d", int(progress), tensorCount), - Type: "quantize", + 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 %d/%d", tensorCount, tensorCount), - Type: "quantize", + Status: fmt.Sprintf("quantizing model %d/%d", tensorCount, tensorCount), + Type: "quantize", }) return }