update format based on editor-config checker result
This commit is contained in:
parent
8640f3bb4e
commit
e4efbdb8c1
1 changed files with 0 additions and 3 deletions
|
@ -647,8 +647,6 @@ class GGUFWriter:
|
|||
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):
|
||||
|
@ -727,7 +725,6 @@ class GGUFWriter:
|
|||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue