Update gguf-py/gguf/gguf_writer.py
Co-authored-by: compilade <git@compilade.net>
This commit is contained in:
parent
0417104397
commit
70a6bc91cc
1 changed files with 1 additions and 1 deletions
|
@ -398,7 +398,7 @@ class GGUFWriter:
|
||||||
if self.fout is not None:
|
if self.fout is not None:
|
||||||
for fout in self.fout:
|
for fout in self.fout:
|
||||||
fout.close()
|
fout.close()
|
||||||
self.fout = []
|
self.fout = None
|
||||||
|
|
||||||
def add_architecture(self) -> None:
|
def add_architecture(self) -> None:
|
||||||
self.add_string(Keys.General.ARCHITECTURE, self.arch)
|
self.add_string(Keys.General.ARCHITECTURE, self.arch)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue