Skip to content

Commit

Permalink
training batch clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
williamFalcon committed Jun 8, 2020
1 parent cd9da57 commit 3676b6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_lightning/trainer/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ def fit(
mp.spawn(self.ddp_train, nprocs=self.num_processes, args=(model,))

elif self.distributed_backend == 'ddp_spawn':
model.share_memory()
# model.share_memory()

# spin up peers
mp.spawn(self.ddp_train, nprocs=self.num_processes, args=(model, ))
Expand Down

0 comments on commit 3676b6c

Please sign in to comment.