]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
Refactor gguf scripts to improve metadata handling (#11909) gguf-v0.16.0
authorSigbjørn Skjæret <redacted>
Wed, 26 Feb 2025 13:04:48 +0000 (14:04 +0100)
committerGitHub <redacted>
Wed, 26 Feb 2025 13:04:48 +0000 (08:04 -0500)
commit69050a11be0ae3e01329f11371ecb6850bdaded5
tree2a5a0667a228141c992c82ff76f12474ec819d87
parent3567ee3a94d57ba72b6d023ca507d11e75767edb
Refactor gguf scripts to improve metadata handling (#11909)

* Refactor gguf scripts to improve metadata handling

Added contents method to ReaderField class
Added endianess property to GGUFReader class

* update scripts

* fix import

* remove unused import

* attempt to work around flake and pyright errors

* second attempt

* give up, ignore type

* bump version

* apply newbyteorder fixes
gguf-py/examples/reader.py
gguf-py/gguf/gguf_reader.py
gguf-py/gguf/scripts/gguf_convert_endian.py
gguf-py/gguf/scripts/gguf_dump.py
gguf-py/gguf/scripts/gguf_new_metadata.py
gguf-py/pyproject.toml