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
397cae79
Unverified
Commit
397cae79
authored
Aug 27, 2024
by
Sean Khatiri
Committed by
GitHub
Aug 27, 2024
Browse files
llm: fix typo in comment (#6530)
parent
1c70a00f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
llm/server.go
llm/server.go
+1
-1
No files found.
llm/server.go
View file @
397cae79
...
@@ -409,7 +409,7 @@ func NewLlamaServer(gpus gpu.GpuInfoList, model string, ggml *GGML, adapters, pr
...
@@ -409,7 +409,7 @@ func NewLlamaServer(gpus gpu.GpuInfoList, model string, ggml *GGML, adapters, pr
}
}
if
err
=
s
.
cmd
.
Start
();
err
!=
nil
{
if
err
=
s
.
cmd
.
Start
();
err
!=
nil
{
// Detect permission denied and augment the
m
essage about noexec
// Detect permission denied and augment the
m
essage about noexec
if
errors
.
Is
(
err
,
os
.
ErrPermission
)
{
if
errors
.
Is
(
err
,
os
.
ErrPermission
)
{
finalErr
=
fmt
.
Errorf
(
"unable to start server %w. %s may have noexec set. Set OLLAMA_TMPDIR for server to a writable executable directory"
,
err
,
dir
)
finalErr
=
fmt
.
Errorf
(
"unable to start server %w. %s may have noexec set. Set OLLAMA_TMPDIR for server to a writable executable directory"
,
err
,
dir
)
continue
continue
...
...
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