set dp as default backend

This commit is contained in:
William Falcon 2019-07-18 11:40:10 -04:00
parent c67c84b443
commit f650253cae
1 changed files with 0 additions and 2 deletions

View File

@ -271,11 +271,9 @@ class Trainer(TrainerIO):
# -----------------
# RUN VALIDATION STEP
# -----------------
pdb.set_trace()
if self.use_ddp:
output = model(data_batch, batch_i)
elif self.use_dp:
pdb.set_trace()
output = model(data_batch, batch_i)
output = reduce_distributed_output(output, len(self.data_parallel_device_ids))