RPC couldn't match torch.ones with requires_grad=True #28786
Labels
better-engineering
Relatively self-contained tasks for better engineering contributors
high priority
module: internals
Related to internal abstractions in c10 and ATen
module: rpc
Related to RPC, distributed autograd, RRef, and distributed optimizer
oncall: distributed
Add this issue/PR to distributed oncall triage queue
triage review
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
馃悰 Bug
I was trying to use
rpc.remote
to create a tensor withrequires_grad=True
, but hit the following error:To Reproduce
Work Around
Wrap
torch.ones
into a user function can pass that user function to remote, e.g.,cc @ezyang @gchanan @zou3519 @bdhirsh @bhosmer @smessmer @ljk53 @ailzhang @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @rohan-varma @jjlilley @osalpekar @jiayisuse @agolynski @SciPioneer @H-Huang @mrzzd @xush6528
The text was updated successfully, but these errors were encountered: