From: Aleksei Nikiforov Date: Thu, 22 Jan 2026 00:16:21 +0000 (+0100) Subject: ggml-zdnn : mark zDNN buffers as non-host (llama/18967) X-Git-Tag: v0.9.6~45 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=b262a577ab54580bc145716eaafbe808d8fc871b;p=pkg%2Fggml%2Fsources%2Fggml ggml-zdnn : mark zDNN buffers as non-host (llama/18967) While buffers reside in host memory, additional transformation is needed to use buffers with zDNN. Fixes #18848 --- diff --git a/src/ggml-zdnn/ggml-zdnn.cpp b/src/ggml-zdnn/ggml-zdnn.cpp index 906d2541..9b6938ab 100644 --- a/src/ggml-zdnn/ggml-zdnn.cpp +++ b/src/ggml-zdnn/ggml-zdnn.cpp @@ -372,7 +372,8 @@ static size_t ggml_backend_zdnn_buffer_type_get_alignment(ggml_backend_buffer_ty } static bool ggml_backend_zdnn_buffer_type_is_host(ggml_backend_buffer_type_t buft) { - return true; + /* while it resides in host memory, additional transformation is needed */ + return false; GGML_UNUSED(buft); }