aboutsummaryrefslogtreecommitdiff
path: root/ggml.h
diff options
context:
space:
mode:
authorDavid Yang <davidyang6us@gmail.com>2023-06-27 03:45:32 +0800
committerGitHub <noreply@github.com>2023-06-26 22:45:32 +0300
commiteaa6ca5a61b8c9501df9ebe3d264f45b75a5f8aa (patch)
tree8850a005978b91d9393bfd60aed7f19d3d97ce6f /ggml.h
parentaa777abbb73655c4e1e9237b7c0ad66745e8e48c (diff)
ggml : increase max tensor name + clean up compiler warnings in train-text (#1988)
* Clean up compiler warnings in train-text Some brackets to disambiguate order of operations * Increase GGML_MAX_NAME Avoiding strncpy danger in train-text-from-scratch and reducing potential future name length issues
Diffstat (limited to 'ggml.h')
-rw-r--r--ggml.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ggml.h b/ggml.h
index 6b106b1..08025e5 100644
--- a/ggml.h
+++ b/ggml.h
@@ -198,7 +198,7 @@
#define GGML_MAX_PARAMS 256
#define GGML_MAX_CONTEXTS 64
#define GGML_MAX_OPT 4
-#define GGML_MAX_NAME 32
+#define GGML_MAX_NAME 48
#define GGML_DEFAULT_N_THREADS 4
#define GGML_ASSERT(x) \