cuda rpc backward sparse tensor fix (#59609)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/59609
quick fix for https://github.com/pytorch/pytorch/issues/58755
Test Plan: Imported from OSS
Reviewed By: VitalyFedyunin
Differential Revision: D29335722
Pulled By: gcramer23
fbshipit-source-id: 0de7e0399b30f0934320f1e9abb1b92a45bcf929