pytorch/test
atalman ebca80ed08 Move test ops gradients and test ops jit to separate files
Fixes #72368

As per reference issue, the test_ops in single file takes around 3:30-4:00Hrs to execute on asan jobs:

Reference : pytorch_test_times.json

```
{
    "commit": "39535fec6c3ff5bf7c2d322d096c59571c3295ed",
    "JOB_BASE_NAME": "linux-xenial-py3.7-clang7-asan",
    "job_times": {
        "test_ops": 14928.355000000636, <- This test group is over 4hrs alone
```
----

Hence separating  test_ops into following parts:
1. TestGradients
2. TestJit
3.  TestCommon and TestMathBits

Pull Request resolved: https://github.com/pytorch/pytorch/pull/74297
Approved by: https://github.com/malfet
2022-03-17 02:07:50 +00:00
..
ao/sparsity Add onednn quant backend (#74137) 2022-03-15 01:28:21 +00:00
autograd Parametrize remaining tests in TestAutogradFunctional to use logging_tensor 2022-03-15 14:54:01 +00:00
benchmark_utils
bottleneck_test
cpp Create method to map JIT module to (source, constant) and back. (#74119) 2022-03-15 18:30:08 +00:00
cpp_api_parity
cpp_extensions [Reland] Add BUILD_LAZY_CUDA_LINALG option (#73447) 2022-03-01 21:33:07 +00:00
custom_backend
custom_operator
distributed make sharding strategy configurable and support zero2 algorithm (#73819) 2022-03-16 17:21:41 +00:00
distributions Improve numerical stability of torch.distributions.wishart.Wishart (#72993) 2022-03-15 18:30:08 +00:00
error_messages
expect [ONNX] Adds overload_name to Aten op (#69378) (#73280) 2022-03-09 14:26:18 +00:00
forward_backward_compatibility Revert D34886988: [Quant][core][gpu][improvement] Refactored implementation for conv2d_cudnn to use packed parameters (Reland PR#73510) 2022-03-16 17:11:00 +00:00
fx [test_fx_const_fold] Remove dependencies on acc_* (#72810) 2022-02-14 20:46:54 +00:00
jit [Codemod][Codemod deprecated unittest asserts] fbcode//caffe2/test (#71708) 2022-03-15 19:28:52 +00:00
jit_hooks
mobile [jit][edge] Pass through dynamic type for DictType. (#74025) 2022-03-11 02:18:04 +00:00
onnx [ONNX] Remove redundant warning for reshape 2022-03-14 20:58:26 +00:00
package Revert D34932200: [pkg] Improve mocked module detection by combining mocked object errors with the rest of the errors in PackageExporter 2022-03-17 02:05:12 +00:00
quantization Revert D34886988: [Quant][core][gpu][improvement] Refactored implementation for conv2d_cudnn to use packed parameters (Reland PR#73510) 2022-03-16 17:11:00 +00:00
scripts
test_img
typing
delete.py
HowToWriteTestsUsingFileCheck.md
linear.py
run_test.py Move test ops gradients and test ops jit to separate files 2022-03-17 02:07:50 +00:00
simulate_nccl_errors.py
test_ao_sparsity.py
test_autocast.py
test_autograd.py Revert "Update tls logic to work better with guarded call (#73925)" 2022-03-16 17:00:19 +00:00
test_binary_ufuncs.py Revert D34856571: [pytorch][PR] Replace get_all_ type macros with the ATen dispatch macros. 2022-03-15 22:07:11 +00:00
test_bundled_images.py
test_bundled_inputs.py
test_complex.py Revert D34856571: [pytorch][PR] Replace get_all_ type macros with the ATen dispatch macros. 2022-03-15 22:07:11 +00:00
test_cpp_api_parity.py
test_cpp_extensions_aot.py
test_cpp_extensions_jit.py
test_cuda.py Fix test_reduce_add_coalesced failure (#74027) 2022-03-15 06:29:54 +00:00
test_cuda_primary_ctx.py remove hasPrimaryContext workaround on ROCm (#71146) 2022-01-25 20:32:12 +00:00
test_dataloader.py Reset worker cycle iterator for determinism across runs (#73675) 2022-03-09 14:55:07 +00:00
test_datapipe.py [DataPipe] Separating DataPipes from Dataset into different files (#73396) 2022-03-15 14:46:34 +00:00
test_deploy.py
test_determination.py
test_dispatch.py Revert D34034848: free up dispatch key space (in C++) 2022-02-14 23:29:00 +00:00
test_expanded_weights.py expanded weights: conv faster rule (#73692) 2022-03-10 04:06:08 +00:00
test_foreach.py Revert D34856571: [pytorch][PR] Replace get_all_ type macros with the ATen dispatch macros. 2022-03-15 22:07:11 +00:00
test_function_schema.py
test_functional_autograd_benchmark.py fix python version error (#71021) 2022-01-21 01:05:53 +00:00
test_functional_optim.py [Opt Overlap] Clean up code in _OptimizerHookState (#71620) 2022-01-26 19:33:49 +00:00
test_functionalization.py Fix test ownership lint (#71554) 2022-01-21 18:24:42 +00:00
test_futures.py
test_fx.py Add super() calls for Fx TestCases (#74216) 2022-03-16 22:12:56 +00:00
test_fx_experimental.py [FX] Make immutable_list and immutable_dict work with pytrees (#73766) 2022-03-04 19:35:41 +00:00
test_import_stats.py
test_indexing.py [Codemod][Codemod deprecated unittest asserts] fbcode//caffe2/test (#71708) 2022-03-15 19:28:52 +00:00
test_jit.py Support tensor.__getitem__() in TorchScript compilation (#73952) 2022-03-11 01:45:18 +00:00
test_jit_autocast.py
test_jit_cuda_fuser.py Nvfuser code bump 2_1_2022 (#72127) 2022-02-15 00:43:16 +00:00
test_jit_disabled.py
test_jit_fuser.py
test_jit_fuser_legacy.py
test_jit_fuser_te.py [JIT] call super().setUp() in test_jit_fuser_te.py (#73762) 2022-03-11 01:03:54 +00:00
test_jit_legacy.py
test_jit_profiling.py
test_jit_simple.py
test_jit_string.py
test_kernel_launch_checks.py
test_license.py
test_linalg.py Revert D34856571: [pytorch][PR] Replace get_all_ type macros with the ATen dispatch macros. 2022-03-15 22:07:11 +00:00
test_logging.py [Codemod][Codemod deprecated unittest asserts] fbcode//caffe2/test (#71708) 2022-03-15 19:28:52 +00:00
test_masked.py Testing of masked reductions on mixed layout inputs. (#72398) 2022-02-25 05:32:47 +00:00
test_metal.py
test_mkldnn.py
test_mobile_optimizer.py Prepare for an update to the XNNPACK submodule (#72642) 2022-02-25 00:39:15 +00:00
test_model_dump.py Prepare for an update to the XNNPACK submodule (#72642) 2022-02-25 00:39:15 +00:00
test_module_init.py
test_modules.py only compare attributes for meta tensors (#72508) 2022-02-17 02:33:08 +00:00
test_monitor.py torch/monitor: merge Interval and FixedCount stats (#72009) 2022-01-30 23:21:59 +00:00
test_multiprocessing.py Allow forking until a worker thread is created in autograd engine (#72689) 2022-02-12 01:52:57 +00:00
test_multiprocessing_spawn.py Make test_multiprocessing_spawn.py compatible with pytest (#50408) 2022-02-10 16:18:46 +00:00
test_namedtensor.py use torch.testing.assert_equal in TestCase.assertEqual (#67796) 2022-01-27 08:33:55 +00:00
test_namedtuple_return_api.py Rewrite svd and linalg.svd as structured kernels (#69827) 2022-01-27 18:38:30 +00:00
test_native_functions.py
test_nestedtensor.py [PyTorch] Make TensorImpl::sizes() customizable and disable it for NestedTensorImpl (#73817) 2022-03-15 19:24:57 +00:00
test_nn.py Revert D34856571: [pytorch][PR] Replace get_all_ type macros with the ATen dispatch macros. 2022-03-15 22:07:11 +00:00
test_nnapi.py
test_numba_integration.py
test_numpy_interop.py Revert D34856571: [pytorch][PR] Replace get_all_ type macros with the ATen dispatch macros. 2022-03-15 22:07:11 +00:00
test_openmp.py
test_ops.py Move test ops gradients and test ops jit to separate files 2022-03-17 02:07:50 +00:00
test_ops_gradients.py Move test ops gradients and test ops jit to separate files 2022-03-17 02:07:50 +00:00
test_ops_jit.py Move test ops gradients and test ops jit to separate files 2022-03-17 02:07:50 +00:00
test_optim.py Uncomment step no-op test in test_optim (#70953) 2022-02-15 18:02:08 +00:00
test_overrides.py Improve Python 3.10 compatibility 2022-03-03 20:34:59 +00:00
test_package.py
test_per_overload_api.py Update __torch_dispatch__ to return op overload instead of the opoverload packet function (#72673) 2022-03-07 22:38:42 +00:00
test_profiler.py Disable forward/backward correlation to workaround the profiler crash (#72904) 2022-03-01 20:34:14 +00:00
test_pruning_op.py
test_public_bindings.py
test_python_dispatch.py [Codemod][Codemod deprecated unittest asserts] fbcode//caffe2/test (#71708) 2022-03-15 19:28:52 +00:00
test_pytree.py
test_quantization.py [quant][fx] Add RNN reference module (#73386) 2022-03-02 10:30:37 +00:00
test_reductions.py [fix] torch.amax and torch.amin for empty tensors if dim arg not provided. (#73914) 2022-03-16 23:29:14 +00:00
test_scatter_gather_ops.py Kill the test_torch.py mixin and creates test_scatter_gather_ops (#71691) 2022-01-24 09:32:32 +00:00
test_segment_reductions.py
test_serialization.py Revert D34856571: [pytorch][PR] Replace get_all_ type macros with the ATen dispatch macros. 2022-03-15 22:07:11 +00:00
test_set_default_mobile_cpu_allocator.py
test_shape_ops.py Revert D34856571: [pytorch][PR] Replace get_all_ type macros with the ATen dispatch macros. 2022-03-15 22:07:11 +00:00
test_show_pickle.py
test_sort_and_select.py Revert D34856571: [pytorch][PR] Replace get_all_ type macros with the ATen dispatch macros. 2022-03-15 22:07:11 +00:00
test_sparse.py Revert D34856571: [pytorch][PR] Replace get_all_ type macros with the ATen dispatch macros. 2022-03-15 22:07:11 +00:00
test_sparse_csr.py Use assertEqual consistently in test_sparse_csr.py 2022-03-16 15:19:41 +00:00
test_spectral_ops.py fft: Fix invalid shape error for complex-to-real transforms (#73012) 2022-02-23 03:33:26 +00:00
test_stateless.py Add lightweight reparametrization for _stateless calls (#68969) 2022-01-28 14:38:45 +00:00
test_static_runtime.py Fix quicklints (#72256) 2022-02-03 15:17:35 +00:00
test_tensor_creation_ops.py Revert D34856571: [pytorch][PR] Replace get_all_ type macros with the ATen dispatch macros. 2022-03-15 22:07:11 +00:00
test_tensorboard.py [Codemod][Codemod deprecated unittest asserts] fbcode//caffe2/test (#71708) 2022-03-15 19:28:52 +00:00
test_tensorexpr.py [JIT] Opinfo tests for nnc fusion - retry (#72486) 2022-02-09 19:01:22 +00:00
test_tensorexpr_pybind.py [TensorExpr] Delet DimArg class. (#72390) 2022-02-11 01:21:59 +00:00
test_testing.py Revert D34856571: [pytorch][PR] Replace get_all_ type macros with the ATen dispatch macros. 2022-03-15 22:07:11 +00:00
test_throughput_benchmark.py
test_torch.py Revert D34856571: [pytorch][PR] Replace get_all_ type macros with the ATen dispatch macros. 2022-03-15 22:07:11 +00:00
test_type_hints.py
test_type_info.py
test_type_promotion.py Revert D34856571: [pytorch][PR] Replace get_all_ type macros with the ATen dispatch macros. 2022-03-15 22:07:11 +00:00
test_typing.py
test_unary_ufuncs.py Revert D34856571: [pytorch][PR] Replace get_all_ type macros with the ATen dispatch macros. 2022-03-15 22:07:11 +00:00
test_utils.py Cleanup all module references in doc (#73983) 2022-03-10 22:26:29 +00:00
test_view_ops.py Revert D34856571: [pytorch][PR] Replace get_all_ type macros with the ATen dispatch macros. 2022-03-15 22:07:11 +00:00
test_vmap.py
test_vulkan.py
test_xnnpack_integration.py Update XNNPACK (#73467) 2022-02-28 06:09:26 +00:00