]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
llama2c : fix segfault and alloc-dealloc-mismatch (#2913)
authorCebtenzzre <redacted>
Fri, 1 Sep 2023 09:03:49 +0000 (05:03 -0400)
committerGitHub <redacted>
Fri, 1 Sep 2023 09:03:49 +0000 (12:03 +0300)
commit18705a30ef3d6a89e1d7c6cb8cfe8633f760cb53
tree893eaf386754763cb6a6f9e11b3b7ea4217b130a
parente8d91589258f9204397a7ac5f9b3c857835c98f8
llama2c : fix segfault and alloc-dealloc-mismatch (#2913)

* llama2c : fix segfault if vocab is not found

* llama2c : fix mismatch between new[] and delete

* llama2c : fix basename on Windows

* llama2c : use a destructor to prevent memory leaks
examples/convert-llama2c-to-ggml/convert-llama2c-to-ggml.cpp