diff --git a/gguf.py b/gguf.py index 7e15e5a77..3bcc15f8b 100644 --- a/gguf.py +++ b/gguf.py @@ -149,7 +149,7 @@ class GGUFWriter: elif vtype == GGUFValueType.ARRAY: ltype = set([GGUFValueType.get_type(item) for item in val]) assert len(ltype) == 1, "All items in a GGUF array should be of the same type" - self.fout.write(struct.pack("