pytorch
b9b24c31 - [MPS] Fix non-contig to contig tensor copy (#86056)

Commit
2 years ago
[MPS] Fix non-contig to contig tensor copy (#86056) This handles a rare case when MPS tensor is constructed from non-contiguous CPU tensor. Fixes https://github.com/pytorch/pytorch/issues/85967 Pull Request resolved: https://github.com/pytorch/pytorch/pull/86056 Approved by: https://github.com/janeyx99
Author
Committer
Parents
Loading