]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
Correctly fetch q8_1 quantize pipeline in test as needed by 8a3519b (#19194)
authorSimon Redman <redacted>
Fri, 30 Jan 2026 16:27:16 +0000 (11:27 -0500)
committerGitHub <redacted>
Fri, 30 Jan 2026 16:27:16 +0000 (17:27 +0100)
ggml/src/ggml-vulkan/ggml-vulkan.cpp

index 3852867c29107f8fbd709d03a07382c8bc31b8e5..a99375c088508c1ff987ae6655d2d01a94825b35 100644 (file)
@@ -11956,7 +11956,8 @@ static void ggml_vk_test_dequant_matmul(ggml_backend_vk_context * ctx, size_t m,
         }
     }
     if (mmq) {
-        ggml_pipeline_request_descriptor_sets(ctx, ctx->device->pipeline_quantize_q8_1, num_it);
+        vk_pipeline pipeline_quantize_q8_1 = ggml_vk_get_quantize_pipeline(ctx, GGML_TYPE_Q8_1);
+        ggml_pipeline_request_descriptor_sets(ctx, pipeline_quantize_q8_1, num_it);
     }
 
     ggml_pipeline_allocate_descriptor_sets(ctx);