This commit is contained in:
Sigbjørn Skjæret 2024-04-20 08:48:39 +02:00
parent 27caf19917
commit 8737ca16f3

View file

@ -25,6 +25,7 @@ class MetadataDetails:
value: Any
description: str = ''
def get_byteorder(reader: gguf.GGUFReader) -> gguf.GGUFEndian:
if np.uint32(1) == np.uint32(1).newbyteorder("<"):
# Host is little endian