llama.cpp icon indicating copy to clipboard operation
llama.cpp copied to clipboard

Refactor gguf scripts to improve metadata handling

Open CISC opened this issue 6 days ago • 2 comments

I've had these changes locally for quite a while and more or less forgotten about them, it's high time to make a PR as it fixes a few issues (endianess check) as well as improving and deduplicating metadata handling/rendering across all scripts.

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

Supercedes #11905

CISC avatar Feb 16 '25 12:02 CISC