Update gguf-py/gguf/gguf_writer.py

Co-authored-by: compilade <git@compilade.net>
This commit is contained in:
Christian Zhou-Zheng 2024-06-10 13:55:08 -04:00 committed by GitHub
parent b843445827
commit 854bd64a5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -362,8 +362,8 @@ class GGUFWriter:
self.write_padding(fout, fout.tell())
if self.temp_file is None:
bar = None
shard_bar = None
bar = None
if progress:
from tqdm import tqdm