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
4561fff3
"...git@developer.sourcefind.cn:OpenDAS/lmdeploy.git" did not exist on "8efb921068ef426759453da670289b8564989029"
Commit
4561fff3
authored
Mar 14, 2025
by
Michael Yang
Browse files
conditionally enable parallel pipelines
parent
50b59620
Changes
1
Hide 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 @
4561fff3
...
@@ -371,7 +371,7 @@ func New(r *os.File, params ml.BackendParams) (ml.Backend, error) {
...
@@ -371,7 +371,7 @@ func New(r *os.File, params ml.BackendParams) (ml.Backend, error) {
(
*
C
.
ggml_backend_buffer_type_t
)(
unsafe
.
Pointer
(
&
schedBufts
[
0
])),
(
*
C
.
ggml_backend_buffer_type_t
)(
unsafe
.
Pointer
(
&
schedBufts
[
0
])),
C
.
int
(
len
(
schedBackends
)),
C
.
int
(
len
(
schedBackends
)),
C
.
size_t
(
maxGraphNodes
),
C
.
size_t
(
maxGraphNodes
),
true
,
C
.
_Bool
(
len
(
gpus
)
>
1
&&
slices
.
Contains
(
gpus
,
output
.
d
))
,
),
),
input
:
deviceBufferTypes
[
input
.
d
],
input
:
deviceBufferTypes
[
input
.
d
],
output
:
deviceBufferTypes
[
output
.
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