Update gguf-py/gguf/gguf_writer.py
Co-authored-by: compilade <git@compilade.net>
This commit is contained in:
parent
ad02c9409a
commit
c1b1a29266
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@ class GGUFWriter:
|
|||
|
||||
bar = tqdm(desc="Writing", total=total_bytes, unit="byte", unit_scale=True)
|
||||
if len(self.fout) > 1:
|
||||
shard_bar = tqdm(desc=f"Shard (1/{len(self.fout)})", total=total_bytes, unit="byte", unit_scale=True)
|
||||
shard_bar = tqdm(desc=f"Shard (0/{len(self.fout)})", total=None, unit="byte", unit_scale=True)
|
||||
|
||||
for i, (fout, tensors) in enumerate(zip(self.fout, self.tensors)):
|
||||
if shard_bar is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue