Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Rohit Gupta <[email protected]>
  • Loading branch information
Borda and rohitgr7 authored Jul 27, 2020
1 parent 4032446 commit 3e70063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_lightning/accelerator_backends/tpu_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def __save_end_of_training_weights(self, model: LightningModule, trainer):

def __setup_tpu_training(self, model: LightningModule, trainer):
# use the default device from the process
tpu_device = xm.xla_device()
# tpu_device = xm.xla_device()

# if given an ordinal device, use this as the device
if trainer.tpu_id is not None:
Expand Down

0 comments on commit 3e70063

Please sign in to comment.