pytorch
a50fb50c - [MPS] Fix exception regex not compared (#100367)

Commit
1 year ago
[MPS] Fix exception regex not compared (#100367) Previously when using `self.assertRaisesRegex` to test raised exception and its regex, the regex wasn't actually compared because mps was not in the `NATIVE_DEVICES`. This PR fixes that by enabling exception regex comparisons for mps device. Pull Request resolved: https://github.com/pytorch/pytorch/pull/100367 Approved by: https://github.com/albanD
Author
Committer
Parents
Loading