mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-11 12:31:23 +08:00
testing slurm ddp
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user