Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt committed Oct 21, 2024
1 parent fc41c1c commit 8fcff69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions litgpt/finetune/full.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ def fit(
while state["step_count"] < max_steps:
state["iter_num"] += 1
iter_t0 = time.perf_counter()
batch = next(train_iterator)
if train_iterator.epoch >= train.epochs:
break
input_ids, targets = batch["input_ids"], batch["labels"]
Expand Down

0 comments on commit 8fcff69

Please sign in to comment.