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
f39daff4
Unverified
Commit
f39daff4
authored
Nov 03, 2023
by
Noah Gitsham
Committed by
GitHub
Nov 02, 2023
Browse files
Add missing "be" to GPU support warning message (#983)
parent
c50b01bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
server/routes.go
server/routes.go
+1
-1
No files found.
server/routes.go
View file @
f39daff4
...
...
@@ -697,7 +697,7 @@ func Serve(ln net.Listener, allowOrigins []string) error {
if
runtime
.
GOOS
==
"linux"
{
// check compatibility to log warnings
if
_
,
err
:=
llm
.
CheckVRAM
();
err
!=
nil
{
log
.
Printf
(
"Warning: GPU support may not enabled, check you have installed install GPU drivers: %v"
,
err
)
log
.
Printf
(
"Warning: GPU support may not
be
enabled, check you have installed install GPU drivers: %v"
,
err
)
}
}
...
...
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