mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
clean up dead code
This commit is contained in:
@@ -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)])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user