Skip to content

Commit 87cdb31

Browse files
Implement a progress bar to track evaluation progress
1 parent c219dfe commit 87cdb31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/thunder/tasks/train_eval_probe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ def train_eval(
538538
tot_loss = []
539539
all_out = []
540540
all_label = []
541-
for batch_id, batch in enumerate(dataloader):
541+
for batch_id, batch in tqdm(enumerate(dataloader), total=len(dataloader)):
542542
# Batch data
543543
if "emb" in batch.keys():
544544
emb = batch["emb"].to(device)

0 commit comments

Comments
 (0)