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
d2ee599d
Commit
d2ee599d
authored
Apr 27, 2025
by
Devon Rifkin
Browse files
load arrays with up to 1024 elements when estimating
This mirrors the old behavior before #10382
parent
6ed88985
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
server/sched.go
server/sched.go
+1
-1
No files found.
server/sched.go
View file @
d2ee599d
...
...
@@ -201,7 +201,7 @@ func (s *Scheduler) processPending(ctx context.Context) {
}
// Load model for fitting
ggml
,
err
:=
llm
.
LoadModel
(
pending
.
model
.
ModelPath
,
0
)
ggml
,
err
:=
llm
.
LoadModel
(
pending
.
model
.
ModelPath
,
1024
)
if
err
!=
nil
{
pending
.
errCh
<-
err
break
...
...
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