Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
7de30085
Commit
7de30085
authored
Sep 05, 2023
by
Jeffrey Morgan
Browse files
use `osPath` in gpu check
parent
213ffdb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
llm/ggml_llama.go
llm/ggml_llama.go
+1
-1
No files found.
llm/ggml_llama.go
View file @
7de30085
...
@@ -69,7 +69,7 @@ func initGGML() {
...
@@ -69,7 +69,7 @@ func initGGML() {
case
"windows"
:
case
"windows"
:
files
=
[]
string
{
"server.exe"
}
files
=
[]
string
{
"server.exe"
}
case
"darwin"
:
case
"darwin"
:
if
llamaPath
==
ggmlGPU
{
if
llamaPath
==
osPath
(
ggmlGPU
)
{
files
=
append
(
files
,
"ggml-metal.metal"
)
files
=
append
(
files
,
"ggml-metal.metal"
)
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment