pytorch/test/nn
Nikita Shulga 9c88b08ac9 [BE] Replace skipIfMPS with expectedFailureMPS (#139940)
Functionally two decorators are very similar, but one should rely on expectedFailure as much as possible to get signal when something is fixed.
- Move `product_version` variable from `test_mps` to common_utils, but call it `MACOS_VERSION`
- Introduce `skipIfMPSOnMacOS13`  to decorate the hard crashes that happens only on MacOS13 (which at this point will not get any fixes and will be deprecated soon)
- Add `device_type='mps'` to all `skipIfMPS` per https://github.com/pytorch/pytorch/issues/140560
Pull Request resolved: https://github.com/pytorch/pytorch/pull/139940
Approved by: https://github.com/janeyx99, https://github.com/huydhn
2024-11-15 03:48:37 +00:00
..
test_convolution.py [BE] Replace skipIfMPS with expectedFailureMPS (#139940) 2024-11-15 03:48:37 +00:00
test_dropout.py
test_embedding.py Replace clone.detach with detach.clone (#140264) 2024-11-13 07:01:02 +00:00
test_init.py
test_lazy_modules.py
test_load_state_dict.py
test_module_hooks.py
test_multihead_attention.py
test_packed_sequence.py
test_parametrization.py Replace clone.detach with detach.clone (#140264) 2024-11-13 07:01:02 +00:00
test_pooling.py Replace clone.detach with detach.clone (#140264) 2024-11-13 07:01:02 +00:00
test_pruning.py