pytorch/test
Rong Rong (AI Infra) a70020465b adding test_sparse_csr to run_test (#58666)
Summary:
fixes https://github.com/pytorch/pytorch/issues/58632.

Added several skips that relates to test assert and MKL. Will address them in separate PR.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/58666

Reviewed By: seemethere, janeyx99

Differential Revision: D28607966

Pulled By: walterddr

fbshipit-source-id: 066d4afce2672e4026334528233e69f68da04965
2021-05-22 13:17:46 -07:00
..
backward_compatibility Revert "Striding for lists Part 2 (#49352)" (#58523) 2021-05-20 13:20:33 -07:00
benchmark_utils Add lint for unqualified noqa (#56272) 2021-04-19 13:16:18 -07:00
bottleneck_test
cpp [Pytorch Backend delegation] Add api for backend lowering to query debug (#55462) 2021-05-22 08:33:07 -07:00
cpp_api_parity Remove tmp folder when run unit test (#57800) 2021-05-09 20:07:14 -07:00
cpp_extensions Fix UB in library.h (#57962) 2021-05-11 16:04:02 -07:00
custom_backend [PyTorch] Lite interpreter with a backend delegate (#54462) 2021-04-06 00:55:26 -07:00
custom_operator AutoDispatchBelowAutograd takes no arguments. (#56424) 2021-04-21 14:44:12 -07:00
distributed Do not use TF32 matmul in linalg and DDP tests (#56114) 2021-05-20 14:01:19 -07:00
distributions Use torch.allclose to check tensor equality (#58429) 2021-05-17 13:16:35 -07:00
error_messages
expect Enable backward/forward compatibility for TS runtime (#57498) 2021-05-07 15:41:45 -07:00
fx Maintain submodule references during subgraph rewriting (#55463) 2021-04-30 16:46:44 -07:00
jit [JIT] integer value refinement (#56438) 2021-05-21 08:51:01 -07:00
jit_hooks Un-ignore F403 in .flake8 (#55838) 2021-04-13 09:24:07 -07:00
mobile [clang-tidy] Exclude cppcoreguidelines-avoid-magic-numbers (#57841) 2021-05-07 20:02:33 -07:00
onnx Fix some tensor operators to return NotImplemented for invalid inputs (#58216) 2021-05-19 13:09:57 -07:00
optim Lint trailing newlines (#54737) 2021-03-30 13:09:52 -07:00
package [torch][package] Fix importlib.resources.path for python <3.8.8 (#58718) 2021-05-21 19:16:54 -07:00
quantization [quant][fx] Validate qconfig_dict keys (#58566) 2021-05-21 15:20:05 -07:00
scripts Disallow versionless Python shebangs (#58275) 2021-05-14 08:26:02 -07:00
test_img [PyTorch Operator] [2/n] Adding python test 2020-06-25 18:36:44 -07:00
typing Deprecate QR (#57745) 2021-05-10 22:56:37 -07:00
HowToWriteTestsUsingFileCheck.md Grammar patch 1 (.md) (#41599) 2020-07-20 10:19:08 -07:00
linear.py Move conv to mkldnn (#51483) 2021-03-01 21:19:27 -08:00
run_test.py adding test_sparse_csr to run_test (#58666) 2021-05-22 13:17:46 -07:00
simulate_nccl_errors.py Remove py2 compatible future imports (#44735) 2020-09-16 12:55:57 -07:00
test_ao_sparse.py [sparsity] Moving the sparsity python files to OSS (#56617) 2021-04-22 14:07:31 -07:00
test_autocast.py enable torch.cpu.amp.autocast (#57386) 2021-05-20 17:48:36 -07:00
test_autograd.py Add missing .to_sparse(ndim) gradient (#58413) 2021-05-20 15:08:34 -07:00
test_binary_ufuncs.py Fix some tensor operators to return NotImplemented for invalid inputs (#58216) 2021-05-19 13:09:57 -07:00
test_bundled_images.py [easy] Rename fb::jpeg_decode_to_NCHW to fb::image_decode_to_NCHW (#55857) 2021-04-15 13:44:13 -07:00
test_bundled_inputs.py [Pytorch] Remove run_on_bundled_input (#58344) 2021-05-17 12:44:00 -07:00
test_complex.py Add serialization logic for complex numbers (#51287) 2021-01-28 17:25:35 -08:00
test_cpp_api_parity.py Always use NewModuleTest instead of ModuleTest. (#44745) 2020-09-17 07:36:39 -07:00
test_cpp_extensions_aot.py Fix ordered_dict.h for CUDA on Windows (#55275) 2021-04-07 23:43:35 -07:00
test_cpp_extensions_jit.py Add minidump collection via breakpad (#55647) 2021-04-16 13:05:01 -07:00
test_cuda_primary_ctx.py Output to stderr in distributed tests. (#42139) 2020-07-29 19:23:34 -07:00
test_cuda.py [CUDA graphs] Sync after replay (#57556) 2021-05-11 09:38:47 -07:00
test_dataloader.py [DataLoader] Add generate_state for NumPy seeding (#56797) 2021-04-27 08:14:02 -07:00
test_datapipe.py [DataLoader] Introduce MapMapDataPipe functional datapipe (#58258) 2021-05-20 09:00:21 -07:00
test_determination.py Improve logic for S3 stats gathering. Uses automatic SLOW_TESTS. (#53549) 2021-03-10 09:37:06 -08:00
test_dispatch.py Add lint for unqualified noqa (#56272) 2021-04-19 13:16:18 -07:00
test_expecttest.py [BE] replace unittest.main with run_tests (#50451) 2021-01-13 10:33:08 -08:00
test_foreach.py Refactor Unary Ops tests (#49712) 2021-03-19 09:28:00 -07:00
test_function_schema.py Add stricter check for function schemas with varargs (#56509) 2021-04-20 20:04:38 -07:00
test_functional_autograd_benchmark.py Skip test_functional_autograd_benchmark during code coverage (#50183) 2021-01-07 11:17:21 -08:00
test_futures.py Add lint for unqualified type: ignore (#56290) 2021-04-21 08:07:23 -07:00
test_fx_experimental.py Fix bug in test_fx_experimental codegen (#58587) 2021-05-20 07:49:08 -07:00
test_fx.py [FX] Add APIs to mutate specific args/kwargs (#58571) 2021-05-19 14:54:16 -07:00
test_gen_backend_stubs.py [codegen] split out backend-specific information from NativeFunction in the model (#57361) 2021-05-17 12:25:35 -07:00
test_import_time.py Add a test to measure import torch time (#56041) 2021-04-15 00:53:30 -07:00
test_indexing.py Migrate thrust->cub for index put (#55693) 2021-04-27 12:27:09 -07:00
test_jit_cuda_fuser.py Gelu Backward, Contribution from Kevin Stephano (#58249) 2021-05-13 19:39:39 -07:00
test_jit_disabled.py [BE] replace unittest.main with run_tests (#50451) 2021-01-13 10:33:08 -08:00
test_jit_fuser_legacy.py Un-ignore F403 in .flake8 (#55838) 2021-04-13 09:24:07 -07:00
test_jit_fuser_te.py Separated out working tests from not working tests for NNC OpInfo (#58788) 2021-05-22 02:24:23 -07:00
test_jit_fuser.py Enforce PEP263 for PyTorch python codebase (#55346) 2021-04-06 18:31:38 -07:00
test_jit_legacy.py Un-ignore F403 in .flake8 (#55838) 2021-04-13 09:24:07 -07:00
test_jit_profiling.py Un-ignore F403 in .flake8 (#55838) 2021-04-13 09:24:07 -07:00
test_jit_simple.py Un-ignore F403 in .flake8 (#55838) 2021-04-13 09:24:07 -07:00
test_jit_string.py [JIT] Allow implicit boolean conversion of containers (#51683) 2021-02-05 00:34:35 -08:00
test_jit.py Initial Symbolic Shape Analysis (#54809) 2021-05-21 08:49:46 -07:00
test_kernel_launch_checks.py T90561249: Enforce kernel launch checks (#58178) 2021-05-13 10:41:20 -07:00
test_license.py concantenate LICENSE files when building a wheel (#51634) 2021-02-08 08:28:46 -08:00
test_linalg.py Added sublist support for torch.einsum (#56625) 2021-05-21 08:36:45 -07:00
test_logging.py
test_metal.py Remove legacy constructor calls from pytorch codebase. (#54142) 2021-04-11 15:45:17 -07:00
test_mkldnn.py [BE] Improve has_bf16_support (#57408) 2021-05-03 09:11:04 -07:00
test_mobile_optimizer.py s/foward/forward/g (#58497) 2021-05-19 11:42:42 -07:00
test_model_dump.py model_dump tool for model inspection (#56868) 2021-04-28 07:33:10 -07:00
test_module_init.py Support factory kwargs in torch.nn modules (#54508) 2021-04-22 16:16:53 -07:00
test_multiprocessing_spawn.py Add exception classification to torch.multiprocessing.spawn (#45174) 2020-10-09 12:59:41 -07:00
test_multiprocessing.py Fix mp serialization for integer nn.Parameter on CUDA (#56529) 2021-04-22 16:21:04 -07:00
test_namedtensor.py Enhance Tensor.unflatten to support -1 as the inferred size (#51955) 2021-02-18 08:37:41 -08:00
test_namedtuple_return_api.py Add torch.linalg.inv_ex without checking for errors by default (#58039) 2021-05-13 09:42:15 -07:00
test_native_functions.py De-prioritise Dimname and DimnameList in python overload resolution (#51350) 2021-03-02 23:07:08 -08:00
test_nn.py ENH Adds check for input sizes in cosine_similarity (#58559) 2021-05-20 11:40:06 -07:00
test_nnapi.py NNAPI: flex size support for upsample_nearest2d op (#57563) 2021-05-05 13:54:43 -07:00
test_numba_integration.py Temporary disable TestNumbaIntegration.test_from_cuda_array_interface* (#54430) 2021-03-22 09:17:28 -07:00
test_numpy_interop.py Add lint for unqualified type: ignore (#56290) 2021-04-21 08:07:23 -07:00
test_op_aliases.py [OpInfo] Add opinfo for transpose and its aliases (#56122) 2021-04-25 21:58:16 -07:00
test_openmp.py Marginally improve pytest collection for top-level test files (#53617) 2021-03-10 08:56:39 -08:00
test_ops.py Reland OpInfo support for forward AD (#58304) 2021-05-17 12:33:27 -07:00
test_optim.py Remove legacy constructor calls from pytorch codebase. (#54142) 2021-04-11 15:45:17 -07:00
test_overrides.py Change native functions to take c10::string_view args instead of std::string (#57680) 2021-05-20 18:15:45 -07:00
test_package.py [package] split tests (#53749) 2021-03-10 16:07:36 -08:00
test_profiler.py Update Kineto submodule (#58179) 2021-05-13 04:03:04 -07:00
test_pruning_op.py Rowwise Prune op (Add the test to OSS run_test), Make the op private. (#46131) 2021-01-29 06:08:18 -08:00
test_public_bindings.py [JIT] Add torch._C._jit submodule (#52910) 2021-02-26 16:05:05 -08:00
test_pytree.py [FX] Adds PyTree support to FX through concrete_args (#55888) 2021-05-07 04:48:35 -07:00
test_quantization.py Add lint for unqualified noqa (#56272) 2021-04-19 13:16:18 -07:00
test_reductions.py std/var: Return real results for complex input (#58066) 2021-05-12 03:26:55 -07:00
test_segment_reductions.py [torch][segment_reduce] Add support for initial value (#56923) 2021-04-30 18:01:31 -07:00
test_serialization.py Enable tests using named temp files on Windows (#49640) 2020-12-29 09:57:35 -08:00
test_set_default_mobile_cpu_allocator.py [Pytorch] Add python binding to use mobile cpu allocator. (#52323) 2021-02-17 08:42:23 -08:00
test_shape_ops.py Fix tensor device in test_kthvalue_overlap (#56869) 2021-05-01 12:01:09 -07:00
test_show_pickle.py [BE] replace unittest.main with run_tests (#50451) 2021-01-13 10:33:08 -08:00
test_sort_and_select.py Fix incorrect inplace sort in topk (#58314) (#58318) 2021-05-14 17:15:24 -07:00
test_sparse_csr.py adding test_sparse_csr to run_test (#58666) 2021-05-22 13:17:46 -07:00
test_sparse.py New: sparse complex: add linear algebra, addmm (#57129) 2021-05-07 05:37:48 -07:00
test_spectral_ops.py Remove distutils (#57040) 2021-04-29 12:10:11 -07:00
test_static_runtime.py [Static Runtime] Temporarily disable fusion tests (#55342) 2021-04-05 20:54:02 -07:00
test_tensor_creation_ops.py Make new_ones an operator (#58405) 2021-05-17 19:24:34 -07:00
test_tensorboard.py Add lint for unqualified noqa (#56272) 2021-04-19 13:16:18 -07:00
test_tensorexpr_pybind.py Fix lint in test_tensorexpr_pybind (#57869) 2021-05-07 15:58:21 -07:00
test_tensorexpr.py [TensorExpr] Re-enable skipped tests, they seem to be working now. (#58206) 2021-05-13 09:18:09 -07:00
test_testing.py Disallow versionless Python shebangs (#58275) 2021-05-14 08:26:02 -07:00
test_throughput_benchmark.py Enable tests using named temp files on Windows (#49640) 2020-12-29 09:57:35 -08:00
test_torch.py Revert D28547564: [pytorch][PR] masked_scatter thrust->cub 2021-05-21 09:18:34 -07:00
test_type_hints.py Add lint for unqualified type: ignore (#56290) 2021-04-21 08:07:23 -07:00
test_type_info.py Improve repr for torch.iinfo & torch.finfo (#40488) 2020-07-10 15:22:55 -07:00
test_type_promotion.py New: Initial support for sparse complex tensors constructors for CPU/CUDA (#57125) 2021-05-07 05:36:41 -07:00
test_typing.py Port NumPy typing testing style to PyTorch (#54234) 2021-04-15 01:25:16 -07:00
test_unary_ufuncs.py Enable geometric ops, exp2, expm1, rsqrt & erfc for BFloat16 on CUDA (#57913) 2021-05-11 09:43:05 -07:00
test_utils.py Add lint for unqualified type: ignore (#56290) 2021-04-21 08:07:23 -07:00
test_view_ops.py Adding hsplit,vsplit and dsplit methods (#53536) 2021-04-26 09:39:09 -07:00
test_vmap.py skip test_symeig if MAGMA not detected (#54526) 2021-03-24 13:55:36 -07:00
test_vulkan.py Remove legacy constructor calls from pytorch codebase. (#54142) 2021-04-11 15:45:17 -07:00
test_xnnpack_integration.py Remove legacy constructor calls from pytorch codebase. (#54142) 2021-04-11 15:45:17 -07:00