Skip to content

Commit e4195f8

Browse files
Revert "[logging][ez] Add timer logging for pickling and unpickle for object based collective (pytorch#139757)"
This reverts commit 41e4d88. Reverted pytorch#139757 on behalf of https://github.com/izaitsevfb due to reverted internally, see D65682470 ([comment](pytorch#139757 (comment)))
1 parent a3cff4b commit e4195f8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

torch/distributed/distributed_c10d.py

-2
Original file line numberDiff line numberDiff line change
@@ -2812,7 +2812,6 @@ def reduce(tensor, dst, op=ReduceOp.SUM, group=None, async_op=False):
28122812
work.wait()
28132813

28142814

2815-
@_time_logger
28162815
def _object_to_tensor(obj, device, group):
28172816
f = io.BytesIO()
28182817
_pickler(f).dump(obj)
@@ -2832,7 +2831,6 @@ def _object_to_tensor(obj, device, group):
28322831
return byte_tensor, local_size
28332832

28342833

2835-
@_time_logger
28362834
def _tensor_to_object(tensor, tensor_size, group):
28372835
if get_debug_level() == DebugLevel.DETAIL and is_nccl_available():
28382836
backend = get_backend(group)

0 commit comments

Comments
 (0)