Skip to content
Prev Previous commit
Next Next commit
update format based on editor-config checker result
  • Loading branch information
chenqiny committed Oct 9, 2023
commit e4efbdb8c181cce356e3d03ef7adea608729b17e
3 changes: 0 additions & 3 deletions gguf-py/gguf/gguf.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,8 +647,6 @@ def __init__(self, path: os.PathLike[str] | str, arch: str, use_temp_file = True
self.add_architecture()
self.use_temp_file = use_temp_file
self.tensors = []


print(f"This gguf file is for {self.endianess} only")

def write_header_to_file(self):
Expand Down Expand Up @@ -727,7 +725,6 @@ def add_array(self, key: str, val: Sequence[Any]):
self.add_key(key)
self.add_val(val, GGUFValueType.ARRAY)


def add_val(self, val: Any, vtype: GGUFValueType | None = None, add_vtype: bool = True):
if vtype is None:
vtype = GGUFValueType.get_type(val)
Expand Down