Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gguf-py: enable reading non-native endian files (ggml-org#12081)
Currently self.byte_order is never used. Actually use it to byteswap read data to allow reading big endian files on little endian systems and vice versa. Now it's possible to convert little-endian model into a big-endian model and back on a little-endian system.
- Loading branch information