mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Fix typos under torch/distributed directory (#98225)
This PR fixes typos in comments and messages of `.py` files under `torch/distributed` directory Pull Request resolved: https://github.com/pytorch/pytorch/pull/98225 Approved by: https://github.com/soulitzer, https://github.com/kit1980
This commit is contained in:
committed by
PyTorch MergeBot
parent
3af0228338
commit
6514d71add
@ -483,7 +483,7 @@ except TypeError:
|
||||
# This is for the fact that pybind11 generates the parameter
|
||||
# `self` as type `rpc.PyRRef`, so a `:inherited-members:`
|
||||
# under `.. autoclass:: RRef` does not work.
|
||||
# we have to do the following process to replacee `rpc.PyRRef` with `rpc.RRef`.
|
||||
# we have to do the following process to replace `rpc.PyRRef` with `rpc.RRef`.
|
||||
#
|
||||
def method_factory(method_name, docstring):
|
||||
def method(self, *args, **kwargs):
|
||||
|
Reference in New Issue
Block a user