]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ggml : increase max tensor name + clean up compiler warnings in train-text (#1988)
authorDavid Yang <redacted>
Mon, 26 Jun 2023 19:45:32 +0000 (03:45 +0800)
committerGitHub <redacted>
Mon, 26 Jun 2023 19:45:32 +0000 (22:45 +0300)
commiteaa6ca5a61b8c9501df9ebe3d264f45b75a5f8aa
tree8850a005978b91d9393bfd60aed7f19d3d97ce6f
parentaa777abbb73655c4e1e9237b7c0ad66745e8e48c
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
examples/train-text-from-scratch/train-text-from-scratch.cpp
ggml.h