pytorch/torch/testing/_internal
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
..
codegen
data
distributed Revert "Added serialization to postlocal_SGD. (#80435)" 2022-06-30 01:34:10 +00:00
generated
test_module
__init__.py
autocast_test_lists.py Add logsumexp to AMP autocast (#76330) 2022-05-27 17:26:20 +00:00
check_kernel_launches.py
common_cuda.py [TF32] Fix typo in tf32 wrapper function (#78438) 2022-06-03 01:03:43 +00:00
common_device_type.py functionalization <> LTC integration (take 3) (#80251) 2022-06-26 23:10:21 +00:00
common_distributed.py Add testing workaround for EFA and TensorPipe (#77363) 2022-05-18 22:54:15 +00:00
common_dtype.py [complex32] real and imag (also remove unused real and imag kernels) 2022-05-05 04:36:58 +00:00
common_fsdp.py [FSDP] Add forward prefetching option in FSDP API (#78841) 2022-06-15 20:59:08 +00:00
common_jit.py
common_methods_invocations.py [Array API] Add linalg.vecdot (#70542) 2022-07-08 15:37:58 +00:00
common_modules.py Fix ModuleInfo skip logic (#80471) 2022-07-08 19:52:15 +00:00
common_nn.py Revert "Make kl_div a composite function. (#80334)" 2022-07-06 17:51:06 +00:00
common_quantization.py [Quant][fx][bc-breaking] Replace is_reference with convert_to_reference (#80091) 2022-06-29 23:01:27 +00:00
common_quantized.py
common_subclass.py Support for tensor subclasses as parameters 2022-04-27 19:28:55 +00:00
common_utils.py Switch on TorchDynamo for PyTorch tests (#81083) 2022-07-08 16:08:11 +00:00
composite_compliance.py [composite compliance] preserve stride correctly for non-contiguous tensor with requires_grad=True (#81035) 2022-07-07 14:32:47 +00:00
dist_utils.py
hypothesis_utils.py
jit_metaprogramming_utils.py [JIT] fix opinfo utils to handle tensor kwargs 2022-05-10 03:30:07 +00:00
jit_utils.py Disable TracerWarnings on NNC opinfo tests 2022-06-03 18:11:12 +00:00
logging_tensor.py Fake Tensor Part 1 2022-05-31 16:20:35 +00:00
opinfo_helper.py
quantization_torch_package_models.py
schema_check_mode.py [JIT] Refactor SchemaCheckMode to check for mutated metadata (#79991) 2022-06-30 21:25:30 +00:00