clean up dead code
This commit is contained in:
parent
23137ea08a
commit
8630df5880
|
@ -29,9 +29,6 @@ def reduce_distributed_output(output, nb_gpus):
|
|||
output[k] = reduced
|
||||
return output
|
||||
|
||||
def dummy(gpu, a):
|
||||
print(a)
|
||||
|
||||
class Trainer(TrainerIO):
|
||||
|
||||
def __init__(self,
|
||||
|
|
|
@ -28,7 +28,6 @@ class LightningDataParallel(DataParallel):
|
|||
"""
|
||||
|
||||
def parallel_apply(self, replicas, inputs, kwargs):
|
||||
print('parallel_apply called')
|
||||
return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue