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
2870a9bf
Unverified
Commit
2870a9bf
authored
Oct 17, 2023
by
Michael Yang
Committed by
GitHub
Oct 17, 2023
Browse files
Merge pull request #812 from jmorganca/mxyng/fix-format-string
fix: wrong format string type
parents
c031c211
fddb303f
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 @
2870a9bf
...
@@ -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