testing slurm ddp

This commit is contained in:
William Falcon
2019-07-08 11:48:28 -04:00
parent 5f697cb22e
commit b563cfe598
+1 -1
View File
@@ -271,7 +271,7 @@ class Trainer(TrainerIO):
# -----------------------------
def fit(self, model):
# set local properties on the model
self.model.on_gpu = self.on_gpu
model.on_gpu = self.on_gpu
# transfer data loaders from model
self.__get_dataloaders(model)