aboutsummaryrefslogtreecommitdiff
path: root/ggml.h
diff options
context:
space:
mode:
authorQingyou Meng <meng.qingyou@gmail.com>2023-07-01 23:42:43 +0800
committerGitHub <noreply@github.com>2023-07-01 18:42:43 +0300
commitb1ca8f36a9cdbcee5f5c425df717611a1040a897 (patch)
treeaad1f6dd7f14d954e8eb4f725d6954e8842cbcd3 /ggml.h
parentb8c8dda75fdf5fdea49c80af36818e7c30fe0ddf (diff)
ggml : disable GGML_TASK_INIT and GGML_TASK_FINALIZE by default (#1995)
Will not be scheduled unless explicitly enabled.
Diffstat (limited to 'ggml.h')
-rw-r--r--ggml.h3
1 files changed, 3 insertions, 0 deletions
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,