Skip to content

Commit

Permalink
added Accelerator
Browse files Browse the repository at this point in the history
  • Loading branch information
jshuadvd committed Jun 14, 2024
1 parent 0cacf84 commit bce3a03
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@

reload(src.main)

# Initialize the accelerator
accelerator = Accelerator()


# %%
class CustomDataset(Dataset):
Expand Down

0 comments on commit bce3a03

Please sign in to comment.