set dp as default backend
This commit is contained in:
parent
c253f96c53
commit
2096a0aa84
|
@ -271,6 +271,7 @@ class Trainer(TrainerIO):
|
|||
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))
|
||||
|
||||
|
|
Loading…
Reference in New Issue