Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmeda14960 committed Nov 12, 2024
1 parent f433618 commit d694848
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 210 deletions.
205 changes: 0 additions & 205 deletions examples/sft/sft.py

This file was deleted.

5 changes: 0 additions & 5 deletions src/levanter/main/sft.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,6 @@ def train(config: SFTConfig):

loader = trainer.data_loader(train_dataset, trainer.TrainBatch)

if int(state.step) != 0:
logger.info(f"Resuming training from step {state.step}")
for i in range(state.step):
next(loader)

if config.hf_save_path is not None:
# bit gross to reach this far into the config, but it's fine
if config.trainer.checkpointer.append_run_id_to_base_path:
Expand Down

0 comments on commit d694848

Please sign in to comment.