mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-11 12:31:23 +08:00
set dp as default backend
This commit is contained in:
@@ -255,7 +255,6 @@ class Trainer(TrainerIO):
|
||||
# -----------------
|
||||
# RUN VALIDATION STEP
|
||||
# -----------------
|
||||
pdb.set_trace()
|
||||
if self.data_parallel:
|
||||
output = model(data_batch, batch_i)
|
||||
else:
|
||||
|
||||
@@ -130,6 +130,7 @@ def parallel_apply(modules, inputs, kwargs_tup=None, devices=None):
|
||||
|
||||
# ---------------
|
||||
# CHANGE
|
||||
pdb.set_trace()
|
||||
if module.training:
|
||||
output = module.training_step(*input, **kwargs)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user