Commit 47da14a0 authored by Michael Carilli's avatar Michael Carilli
Browse files

cosmetic

parent 8a32e428
...@@ -356,7 +356,6 @@ class DistributedDataParallel(Module): ...@@ -356,7 +356,6 @@ class DistributedDataParallel(Module):
grad_acc = param_tmp.grad_fn.next_functions[0][0] grad_acc = param_tmp.grad_fn.next_functions[0][0]
def allreduce_hook(*unused): def allreduce_hook(*unused):
if self.prof: if self.prof:
torch.cuda.nvtx.range_push("allreduce_hook") torch.cuda.nvtx.range_push("allreduce_hook")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment