logoalt Hacker News

gunalxtoday at 12:00 AM1 replyview on HN

Well that would not work as the metadata is also part of the sha, and if you have a sha predictably contain or hash to itself you have a bad hashing algorithm. (Unless of course you mean sha of the weigths and not the gguf itself)


Replies

nagaiaidatoday at 2:11 AM

you can just hash the metadata masking out the hash as all zeroes or anything similar to get around that, like header checksums that ostensibly include themselves