소스 검색

change progress msg

Josh Yan 9 달 전
부모
커밋
4a7bfca902
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      llm/llm.go

+ 2 - 2
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