diff options
author | David Yang <davidyang6us@gmail.com> | 2023-06-27 03:45:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-26 22:45:32 +0300 |
commit | eaa6ca5a61b8c9501df9ebe3d264f45b75a5f8aa (patch) | |
tree | 8850a005978b91d9393bfd60aed7f19d3d97ce6f /ggml.h | |
parent | aa777abbb73655c4e1e9237b7c0ad66745e8e48c (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) \ |