pytorch/torch/testing
Joel Benjamin Schlosser d3dba3c42a Fix ModuleInfo skip logic (#80471)
Fixes #80247

This PR:
* Refactors the skip logic as done for OpInfo in #62713, fixing the logic error
* For tests that were wrongly skipped before and now fail:
    * Fix `TestModule.test_cpu_gpu_parity` to support Lazy modules - this was affecting `LazyConv*`
    * Adds `@expectedFailure` decorators and a follow-up message to address `Conv*` failures on `TestModule.test_memory_format`
Pull Request resolved: https://github.com/pytorch/pytorch/pull/80471
Approved by: https://github.com/mruberry
2022-07-08 19:52:15 +00:00
..
_internal Fix ModuleInfo skip logic (#80471) 2022-07-08 19:52:15 +00:00
__init__.py cleanup torch.testing namespace (#72708) 2022-02-25 06:30:31 +00:00
_comparison.py move MPS compat into common comparison machinery (#77836) 2022-06-08 08:09:18 +00:00
_creation.py [chalf] div, eq, masked_fill, index_put (#77479) 2022-05-18 17:01:08 +00:00
_deprecated.py promote torch.testing to stable (#73348) 2022-02-25 06:30:31 +00:00
_legacy.py [complex32] real and imag (also remove unused real and imag kernels) 2022-05-05 04:36:58 +00:00