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
fddb303f
Commit
fddb303f
authored
Oct 16, 2023
by
Michael Yang
Browse files
fix: format string wrong type
parent
9ef2fce3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
llm/llama.go
llm/llama.go
+1
-1
No files found.
llm/llama.go
View file @
fddb303f
...
@@ -70,7 +70,7 @@ func chooseRunners(workDir, runnerType string) []ModelRunner {
...
@@ -70,7 +70,7 @@ func chooseRunners(workDir, runnerType string) []ModelRunner {
files
,
err
:=
fs
.
Glob
(
llamaCppEmbed
,
path
.
Join
(
path
.
Dir
(
r
.
Path
),
"*"
))
files
,
err
:=
fs
.
Glob
(
llamaCppEmbed
,
path
.
Join
(
path
.
Dir
(
r
.
Path
),
"*"
))
if
err
!=
nil
{
if
err
!=
nil
{
// this is expected, ollama may be compiled without all runners packed in
// this is expected, ollama may be compiled without all runners packed in
log
.
Printf
(
"%s runner not found: %v"
,
r
,
err
)
log
.
Printf
(
"%s runner not found: %v"
,
r
.
Path
,
err
)
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