From b1ca8f36a9cdbcee5f5c425df717611a1040a897 Mon Sep 17 00:00:00 2001 From: Qingyou Meng Date: Sat, 1 Jul 2023 23:42:43 +0800 Subject: ggml : disable GGML_TASK_INIT and GGML_TASK_FINALIZE by default (#1995) Will not be scheduled unless explicitly enabled. --- ggml.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ggml.h') diff --git a/ggml.h b/ggml.h index 4599132..11b51f8 100644 --- a/ggml.h +++ b/ggml.h @@ -444,6 +444,9 @@ extern "C" { // compute types + + // NOTE: the INIT or FINALIZE pass is not scheduled unless explicitly enabled. + // This behavior was changed since https://github.com/ggerganov/llama.cpp/pull/1995. enum ggml_task_type { GGML_TASK_INIT = 0, GGML_TASK_COMPUTE, -- cgit v1.2.3