Skip to content

Commit

Permalink
Log accelerator device
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed Jan 18, 2024
1 parent 9fbff99 commit 34d5260
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/train_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -3906,6 +3906,7 @@ def prepare_accelerator(args: argparse.Namespace):
kwargs_handlers=kwargs_handlers,
dynamo_backend=dynamo_backend,
)
print("accelerator device:", accelerator.device)
return accelerator


Expand Down

0 comments on commit 34d5260

Please sign in to comment.