]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
ggml : remove redundant n_copies check when setting input/output (llama/17612)
authorDaniel Bevenius <redacted>
Tue, 2 Dec 2025 11:52:45 +0000 (12:52 +0100)
committerGeorgi Gerganov <redacted>
Thu, 11 Dec 2025 13:32:52 +0000 (15:32 +0200)
commitd4ec5a7582e8460a917295bdeaaca5fc0f02abce
treec8df47f857e1ff6143220c3891c26ddb46f36553
parentd5a47cad981785526d0e70837243e34d2b6ee263
ggml : remove redundant n_copies check when setting input/output (llama/17612)

This commit removes a redundant check for sched->n_copies > 1 when
setting input and output flags on tensor copies in
ggml_backend_sched_split_graph.

The motivation for this change is to clarify the code as the outer if
statement already performs this check.
src/ggml-backend.cpp