Skip to content

Commit

Permalink
change trainer strategy to "auto" (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioMirarchi authored Nov 14, 2023
1 parent a67ac80 commit c3b46f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchmdnet/scripts/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def main():
)

trainer = pl.Trainer(
strategy=DDPStrategy(find_unused_parameters=False),
strategy="auto",
max_epochs=args.num_epochs,
accelerator="auto",
devices=args.ngpus,
Expand Down

0 comments on commit c3b46f6

Please sign in to comment.