pytorch
a97d0596 - Get TestTorch.test_empty_meta working again (#48113)

Commit
3 years ago
Get TestTorch.test_empty_meta working again (#48113) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/48113 Fix is simple: just treat Meta as a backend covered by AutogradOther. This semantically makes sense, since meta kernels are just like regular CPU/CUDA kernels, they just don't do any compute. Signed-off-by: Edward Z. Yang <ezyang@fb.com> Test Plan: Imported from OSS Reviewed By: zhangguanheng66 Differential Revision: D25056641 Pulled By: ezyang fbshipit-source-id: 7b68911982352b3e0ee8616b38cd9c70bd58a740
Author
Parents
Loading