diff --git a/gguf.py b/gguf.py index dfd5ba5bf8490..991bbe2f32efc 100644 --- a/gguf.py +++ b/gguf.py @@ -71,63 +71,56 @@ def open(cls, path: str) -> "GGUFWriter": f = open(path, "wb") return cls(f) - def write_key(self, key: str, value_type: GGUFValueType): - encoded_key = key.encode("utf8") - self.buffered_writer.write(struct.pack("