pytorch
a79e034d - [MPS] Do not dispatch empty job in `bitwise_not` (#87286)

Commit
2 years ago
[MPS] Do not dispatch empty job in `bitwise_not` (#87286) Follows the pattern from https://github.com/pytorch/pytorch/pull/85285 and returns before computing dispatching an empty metal kernel for bitwise not operation. Fixes crash when invoked with empty MPS tensor on AMD GPU Pull Request resolved: https://github.com/pytorch/pytorch/pull/87286 Approved by: https://github.com/kulinseth
Author
Committer
Parents
Loading