]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
gguf : enforce that tensor names are unique (#6905)
authorXuan Son Nguyen <redacted>
Sun, 28 Apr 2024 15:36:18 +0000 (17:36 +0200)
committerGitHub <redacted>
Sun, 28 Apr 2024 15:36:18 +0000 (17:36 +0200)
commit7bb36ccf91b8a2e92b182dd75624f1fd7cb205ac
treeab92b14895245a23730553dc06af68e75995c69c
parentce023f6f2ff34fbe840e32e65d443d2fed7393de
gguf : enforce that tensor names are unique (#6905)

* not allow adding duplicated tensor name

* no duplicated tensor while reading gguf

* typo

* throw exception inside llama_model_loader

Co-authored-by: slaren <redacted>
---------

Co-authored-by: slaren <redacted>
ggml.c
gguf-py/gguf/gguf_reader.py
gguf-py/gguf/gguf_writer.py
llama.cpp