use osPath
in gpu check
This commit is contained in:
parent
213ffdb548
commit
7de300856b
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue