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
021dcf08
Unverified
Commit
021dcf08
authored
Mar 17, 2025
by
Michael Yang
Committed by
GitHub
Mar 17, 2025
Browse files
Merge pull request #9824 from ollama/mxyng/sched
conditionally enable parallel pipelines
parents
bf24498b
4561fff3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ml/backend/ggml/ggml.go
ml/backend/ggml/ggml.go
+1
-1
No files found.
ml/backend/ggml/ggml.go
View file @
021dcf08
...
...
@@ -373,7 +373,7 @@ func New(r *os.File, params ml.BackendParams) (ml.Backend, error) {
(
*
C
.
ggml_backend_buffer_type_t
)(
unsafe
.
Pointer
(
&
schedBufts
[
0
])),
C
.
int
(
len
(
schedBackends
)),
C
.
size_t
(
maxGraphNodes
),
true
,
C
.
_Bool
(
len
(
gpus
)
>
1
&&
slices
.
Contains
(
gpus
,
output
.
d
))
,
),
input
:
deviceBufferTypes
[
input
.
d
],
output
:
deviceBufferTypes
[
output
.
d
],
...
...
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