Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ytorch-lightning into tpu/fix-tests
  • Loading branch information
Borda committed Jul 27, 2020
2 parents 7fc67cf + 3e70063 commit 498cf3a
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 498cf3a

Please sign in to comment.