mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Fix self assignment (#165816)
This PR removes assignments of the form `var=var`. Pull Request resolved: https://github.com/pytorch/pytorch/pull/165816 Approved by: https://github.com/jansel
This commit is contained in:
committed by
PyTorch MergeBot
parent
032bed95cd
commit
1f43d17ce6
@ -85,7 +85,7 @@ class RRefAPITest:
|
||||
):
|
||||
rref_local_value(rref)
|
||||
|
||||
ret = ret = rpc.rpc_sync(dst_worker_name, rref_local_value, (rref,))
|
||||
ret = rpc.rpc_sync(dst_worker_name, rref_local_value, (rref,))
|
||||
self.assertEqual(ret, torch.add(torch.ones(2, 2), 1))
|
||||
|
||||
@dist_init
|
||||
|
Reference in New Issue
Block a user