소스 검색

use `osPath` in gpu check

Jeffrey Morgan 1 년 전
부모
커밋
7de300856b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      llm/ggml_llama.go

+ 1 - 1
llm/ggml_llama.go

@@ -69,7 +69,7 @@ func initGGML() {
 		case "windows":
 			files = []string{"server.exe"}
 		case "darwin":
-			if llamaPath == ggmlGPU {
+			if llamaPath == osPath(ggmlGPU) {
 				files = append(files, "ggml-metal.metal")
 			}
 		}