Skip to content

Commit

Permalink
Fix RRef to_here() docs
Browse files Browse the repository at this point in the history
ghstack-source-id: 1762fe3d8e1ebf6f819724bd5a8742006d008382
Pull Request resolved: #40300
  • Loading branch information
mrshenli committed Jun 19, 2020
1 parent 66d790e commit f51de77
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions torch/csrc/distributed/rpc/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,11 @@ PyObject* rpc_init(PyObject* /* unused */) {
owner, returns a reference to the local value.
Arguments:
timeout (float, optional): Timeout for ``to_here``. If
the call does not complete within this timeframe, an
exception indicating so will be raised. If this argument
is not provided, the default RPC timeout (60s) will be
used.
timeout (float, optional): Timeout for ``to_here``. If
the call does not complete within this timeframe, an
exception indicating so will be raised. If this
argument is not provided, the default RPC timeout
(60s) will be used.
)")
.def(
"local_value",
Expand Down

0 comments on commit f51de77

Please sign in to comment.