From: Matt Corallo Date: Fri, 29 May 2026 03:30:24 +0000 (+0000) Subject: meta : Add missing `buffer` set in allreduce fallback !COMPUTE clear (#23480) X-Git-Tag: upstream/0.0.10438~1035 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=33c718db1fbfe834f30eef28cf206f98736fe612;p=pkg%2Fggml%2Fsources%2Fllama.cpp meta : Add missing `buffer` set in allreduce fallback !COMPUTE clear (#23480) Without this at least the vulkan backend will skip the `* 0` for !COMPUTE tensors, causing corrupt output. --- diff --git a/ggml/src/ggml-backend-meta.cpp b/ggml/src/ggml-backend-meta.cpp index d0d64523b..48b2027fa 100644 --- a/ggml/src/ggml-backend-meta.cpp +++ b/ggml/src/ggml-backend-meta.cpp @@ -2076,6 +2076,7 @@ static enum ggml_status ggml_backend_meta_graph_compute(ggml_backend_t backend, node_zero->src[0] = node; ggml_set_op_params_f32(node_zero, 0, 0.0f); node_zero->data = node->data; + node_zero->buffer = node->buffer; node_zero->flags |= GGML_TENSOR_FLAG_COMPUTE; step_cgraphs[j] = get_cgraph_aux();