Skip to content

Commit

Permalink
update code, P2POp add iherit parent class
Browse files Browse the repository at this point in the history
  • Loading branch information
koukairui committed Dec 18, 2024
1 parent 3479faa commit cf78f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch/distributed/distributed_c10d.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def get_device_backend_map(self) -> Dict[str, Backend]:
return self.device_backend_map


class P2POp:
class P2POp(mindspore.mint.distributed.P2POp):
"""
A class to build point-to-point operations for ``batch_isend_irecv``.
Expand Down

0 comments on commit cf78f50

Please sign in to comment.