pytorch/test
Catherine Lee a7fe11dec0 --subprocess for pytest (#96210)
Implements --subprocess flag for pytest, which previously only worked with unittest

Pretty much all the tests in the custom handler list use --subprocess
Pull Request resolved: https://github.com/pytorch/pytorch/pull/96210
Approved by: https://github.com/huydhn
2023-03-08 21:04:50 +00:00
..
_nvfuser adding symbolic link to get CI to run tests where cmake is not run on CI node (#95402) 2023-03-01 19:01:18 +00:00
ao/sparsity [BE] Apply almost all remaining flake8-comprehension checks (#94676) 2023-02-12 01:01:25 +00:00
autograd [autograd] disable backward/grad for complex scalar output (#92753) 2023-02-23 11:38:27 +00:00
backends/xeon enable taskset core pinning in addition to numactl (#96011) 2023-03-07 01:19:46 +00:00
benchmark_utils
bottleneck_test [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
cpp [autograd] disable backward/grad for complex scalar output (#92753) 2023-02-23 11:38:27 +00:00
cpp_api_parity [autograd] disable backward/grad for complex scalar output (#92753) 2023-02-23 11:38:27 +00:00
cpp_extensions Add Generator register for the privateuse1 backend (#93920) 2023-03-07 03:43:23 +00:00
custom_backend [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
custom_operator [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
distributed [RFC] Add _abort method to ProcessGroupNCCL (#96017) 2023-03-07 21:37:38 +00:00
distributions Fix gumbel cdf (#91698) 2023-03-07 23:04:47 +00:00
dynamo Revert "Error when jit.trace/script is used with torch.compile (#91681)" 2023-03-08 18:47:38 +00:00
edge [executorch] Add RuntimeContext to generated C++ API Signature (#94570) 2023-02-16 02:43:18 +00:00
error_messages
expect [inductor] Add some simple decomps (#96039) 2023-03-05 17:07:56 +00:00
export Add experimental torch.export prototype (#95070) 2023-02-28 02:40:19 +00:00
forward_backward_compatibility [MPS] Move max_pool2d to mps dispatch key (#90772) 2023-02-16 01:13:08 +00:00
functorch aot autograd: handle detach() and no_grad() mutations on input (#95980) 2023-03-08 16:11:06 +00:00
fx [1/n] Add verifier for EXIR Aten dialect (#94783) 2023-03-08 04:55:54 +00:00
inductor [reland][inductor] Add an AOT compilation mode for Inductor CPP backend (#95985) 2023-03-08 20:02:32 +00:00
jit Reduce pytest blocklist (#96016) 2023-03-07 18:30:27 +00:00
jit_hooks
lazy [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
mobile [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
nn Optimize nn.Module __call__ fast path for dynamo (#95931) 2023-03-04 15:09:40 +00:00
onnx Ignore shape inference exception from Caffe2 ATen fallback (#90408) 2023-03-08 20:02:11 +00:00
onnx_caffe2 [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
package [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
profiler Jetson Update for CI Redo (#94549) 2023-02-21 17:13:38 +00:00
quantization [Quant][test] Add test for mixed dtypes in the same model (#96104) 2023-03-08 17:08:12 +00:00
scripts
test_img
typing
allowlist_for_publicAPI.json
conftest.py Run more tests through pytest (#95844) 2023-03-03 17:32:26 +00:00
create_dummy_torchscript_model.py Add basic Module serialization BC test (#96238) 2023-03-08 21:01:27 +00:00
delete.py
HowToWriteTestsUsingFileCheck.md
linear.py
load_torchscript_model.py Add basic Module serialization BC test (#96238) 2023-03-08 21:01:27 +00:00
mkl_verbose.py
mkldnn_verbose.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
run_doctests.sh
run_test.py --subprocess for pytest (#96210) 2023-03-08 21:04:50 +00:00
simulate_nccl_errors.py
test_ao_sparsity.py
test_autocast.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_autograd.py Implement sparse semantics support in gradcheck (2nd try) (#95405) 2023-02-27 17:48:02 +00:00
test_binary_ufuncs.py Logaddexp for complex in CPU (#95717) 2023-03-01 20:37:46 +00:00
test_bundled_images.py
test_bundled_inputs.py [BE] Apply almost all remaining flake8-comprehension checks (#94676) 2023-02-12 01:01:25 +00:00
test_comparison_utils.py
test_complex.py
test_cpp_api_parity.py
test_cpp_extensions_aot.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_cpp_extensions_jit.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_cpp_extensions_open_device_registration.py Add Generator register for the privateuse1 backend (#93920) 2023-03-07 03:43:23 +00:00
test_cuda.py _memory_viz.py: Visualize how blocks fit into segments. (#91336) 2023-03-07 21:07:18 +00:00
test_cuda_nvml_based_avail.py Reduce pytest blocklist (#96016) 2023-03-07 18:30:27 +00:00
test_cuda_primary_ctx.py Reduce pytest blocklist (#96016) 2023-03-07 18:30:27 +00:00
test_cuda_sanitizer.py Reduce pytest blocklist (#96016) 2023-03-07 18:30:27 +00:00
test_cuda_trace.py Reduce pytest blocklist (#96016) 2023-03-07 18:30:27 +00:00
test_dataloader.py Jetson Update for CI Redo (#94549) 2023-02-21 17:13:38 +00:00
test_datapipe.py Fix validate_input_col for nn.Module or Callable (#96213) 2023-03-08 01:30:17 +00:00
test_decomp.py Add meta function for _upsample_bilinear2d_aa (#94982) 2023-02-19 07:11:20 +00:00
test_deploy.py
test_determination.py
test_dispatch.py
test_dlpack.py Jetson Update for CI Redo (#94549) 2023-02-21 17:13:38 +00:00
test_dynamic_shapes.py Don't guard on the exact int value on conversion to bool (#96008) 2023-03-07 00:40:06 +00:00
test_expanded_weights.py
test_fake_tensor.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_flop_counter.py Add flop counter utility (#95751) 2023-03-02 23:19:49 +00:00
test_foreach.py [foreach] bump tensor's version and define backward via torchgen (as possible) (#93901) 2023-02-20 23:18:07 +00:00
test_function_schema.py
test_functional_autograd_benchmark.py
test_functional_optim.py
test_functionalization.py avoid extra copies in batchnorm inference by introducing a new op, _native_batch_norm_legit_no_training (#94946) 2023-02-16 11:41:20 +00:00
test_futures.py
test_fx.py [1/n] Add verifier for EXIR Aten dialect (#94783) 2023-03-08 04:55:54 +00:00
test_fx_experimental.py Add meta function for _upsample_bilinear2d_aa (#94982) 2023-02-19 07:11:20 +00:00
test_fx_passes.py
test_fx_reinplace_pass.py
test_hub.py
test_import_stats.py
test_indexing.py Don't truncate leading 1s if they are unbacked (#95141) 2023-02-21 00:22:24 +00:00
test_itt.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_jit.py Restore _graph_executor_optimize flag after JIT test_profiler (#96135) 2023-03-07 04:21:19 +00:00
test_jit_autocast.py Revert "[Dynamo] Support torch.{cuda/cpu}.amp.autocast (#95416)" 2023-03-08 06:51:57 +00:00
test_jit_cuda_fuser.py adding symbolic link to get CI to run tests where cmake is not run on CI node (#95402) 2023-03-01 19:01:18 +00:00
test_jit_disabled.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_jit_fuser.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_jit_fuser_legacy.py [BE] Prefer dash over underscore in command-line options (#94505) 2023-02-09 20:16:49 +00:00
test_jit_fuser_te.py PT2/TorchScript interoperability fix (#94678) 2023-02-15 01:21:10 +00:00
test_jit_legacy.py [BE] Prefer dash over underscore in command-line options (#94505) 2023-02-09 20:16:49 +00:00
test_jit_llga_fuser.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_jit_profiling.py [BE] Prefer dash over underscore in command-line options (#94505) 2023-02-09 20:16:49 +00:00
test_jit_simple.py [BE] Prefer dash over underscore in command-line options (#94505) 2023-02-09 20:16:49 +00:00
test_jit_string.py
test_jiterator.py Reduce pytest blocklist (#96016) 2023-03-07 18:30:27 +00:00
test_kernel_launch_checks.py
test_legacy_vmap.py
test_license.py
test_linalg.py fix issue of baddbmm when out has nan value for beta=0 (#96086) 2023-03-07 14:54:05 +00:00
test_logging.py
test_masked.py
test_maskedtensor.py
test_matmul_cuda.py Jetson Update for CI Redo (#94549) 2023-02-21 17:13:38 +00:00
test_meta.py Fixes for PyTorch/XLA functionalization integration (#94537) 2023-03-02 23:02:34 +00:00
test_metal.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_mkl_verbose.py
test_mkldnn.py
test_mkldnn_fusion.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_mkldnn_verbose.py
test_mobile_optimizer.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_model_dump.py [BE] Modernize PyTorch even more for 3.8 with pyupgrade (#94520) 2023-02-10 18:02:50 +00:00
test_module_init.py
test_modules.py [BE] Apply almost all remaining flake8-comprehension checks (#94676) 2023-02-12 01:01:25 +00:00
test_monitor.py
test_mps.py [MPS] Adding xfaillist with all categories of failures. (#96176) 2023-03-08 08:41:21 +00:00
test_multiprocessing.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_multiprocessing_spawn.py
test_namedtensor.py
test_namedtuple_return_api.py [BE] Enable more flake8-comprehensions checks (#94601) 2023-02-10 23:40:29 +00:00
test_native_functions.py
test_native_mha.py
test_nestedtensor.py Small bugfix in nested matmul bmm path head_dim acquisition (#95744) 2023-03-01 03:27:08 +00:00
test_nn.py Improve error message for instance norm when channels is incorrect (#94624) 2023-03-04 02:06:48 +00:00
test_nnapi.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_numba_integration.py
test_numpy_interop.py
test_nvfuser_dynamo.py adding symbolic link to get CI to run tests where cmake is not run on CI node (#95402) 2023-03-01 19:01:18 +00:00
test_nvfuser_frontend.py adding symbolic link to get CI to run tests where cmake is not run on CI node (#95402) 2023-03-01 19:01:18 +00:00
test_openmp.py
test_ops.py Add support for nonzero, some improvements to reduce guards (#95387) 2023-02-24 00:27:45 +00:00
test_ops_fwd_gradients.py
test_ops_gradients.py
test_ops_jit.py
test_optim.py Fix wrong handling of grad_scale & found_inf in fused optimizers (#95847) 2023-03-04 01:21:21 +00:00
test_overrides.py
test_package.py
test_per_overload_api.py
test_prims.py [primTorch] Redefine prim.collapse{,_view} end point to be inclusive (#92017) 2023-02-21 20:36:50 +00:00
test_proxy_tensor.py Use maxint to bound integers. (#96121) 2023-03-07 12:46:19 +00:00
test_pruning_op.py
test_public_bindings.py Jetson Update for CI Redo (#94549) 2023-02-21 17:13:38 +00:00
test_python_dispatch.py Support registering op returning symint in python (#95240) 2023-02-22 04:56:37 +00:00
test_pytree.py
test_quantization.py Add various uninterpreted bit tensor data types (try 2) (#95860) 2023-03-04 03:35:59 +00:00
test_reductions.py [Fix] Inbound check of sorter indices in searchsorted (#95109) 2023-02-20 04:59:11 +00:00
test_scatter_gather_ops.py
test_schema_check.py
test_segment_reductions.py
test_serialization.py Add float to list of allowed ops (#94910) 2023-02-15 23:13:21 +00:00
test_set_default_mobile_cpu_allocator.py
test_shape_ops.py Jetson Update for CI Redo (#94549) 2023-02-21 17:13:38 +00:00
test_show_pickle.py
test_sort_and_select.py Enable half type support for unique cpu (#91666) 2023-02-16 04:59:35 +00:00
test_sparse.py Expand sparse.softmax zero nnz tests to cover cases of previously reported FPE. (#95646) 2023-03-01 17:26:51 +00:00
test_sparse_csr.py COO intersection primitives: performance improvement (#96094) 2023-03-07 13:21:29 +00:00
test_spectral_ops.py Fix usages of contextmanager without finally (#96170) 2023-03-08 20:59:27 +00:00
test_stateless.py
test_static_runtime.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_subclass.py
test_sympy_utils.py Use maxint to bound integers. (#96121) 2023-03-07 12:46:19 +00:00
test_tensor_creation_ops.py Jetson Update for CI Redo (#94549) 2023-02-21 17:13:38 +00:00
test_tensorboard.py fix numpy1.24 deprecations in unittests (#93997) 2023-02-18 00:59:09 +00:00
test_tensorexpr.py PT2/TorchScript interoperability fix (#94678) 2023-02-15 01:21:10 +00:00
test_tensorexpr_pybind.py
test_testing.py Jetson Update for CI Redo (#94549) 2023-02-21 17:13:38 +00:00
test_throughput_benchmark.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_torch.py [BC] Allow only bool tensors as mask in masked_select (#96112) 2023-03-07 01:43:14 +00:00
test_transformers.py [SDPA] Add an optional scale kwarg (#95259) 2023-03-08 18:07:40 +00:00
test_type_hints.py
test_type_info.py
test_type_promotion.py
test_typing.py Run tests in USE_PYTEST_LIST through run_tests (#95659) 2023-02-28 22:09:01 +00:00
test_unary_ufuncs.py [BE] Remove dependency on six and future (#94709) 2023-02-14 09:14:14 +00:00
test_utils.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_view_ops.py
test_vulkan.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_weak.py
test_xnnpack_integration.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00