pytorch/test
James Reed 0c4e4e588e [FX] Rename reduce functions back to their old, public names (#64324)
Summary:
Unfortunately pickle serializes the names of these functions. Also put them under backward-compatibility enforcement.

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

Test Plan: Local repro https://fb.workplace.com/groups/3440841732711443/permalink/4018921611570116/

Reviewed By: SplitInfinity, TailofJune

Differential Revision: D30684185

Pulled By: jamesr66a

fbshipit-source-id: 900701220155d15115cd0c07cf7774a2891bd04f
2021-08-31 22:36:11 -07:00
..
ao/sparsity [pruner] add getter for pruned outputs in base pruner (#63520) 2021-08-25 09:57:29 -07:00
backward_compatibility Make torch.lu differentiable for wide/tall inputs + jit (#61564) 2021-08-16 11:40:57 -07:00
benchmark_utils Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
bottleneck_test Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
cpp [TensorExpr] Wrap error messages with buildErrorMessage call. (#64330) 2021-08-31 20:31:16 -07:00
cpp_api_parity ENH Adds nn.ReflectionPad3d (#59791) 2021-06-21 10:53:14 -07:00
cpp_extensions Add support for the ONNX Runtime Eager Mode backend (#58248) 2021-08-20 11:17:13 -07:00
custom_backend Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
custom_operator [jit] Make operation call accept Stack& instead Stack* (#63414) 2021-08-30 11:49:20 -07:00
distributed Fix bug in ShardedTensorMetadata serde. (#63902) 2021-08-31 20:31:14 -07:00
distributions Poisson zero rate (#61511) 2021-08-19 08:30:28 -07:00
error_messages Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
expect [FX] Rename reduce functions back to their old, public names (#64324) 2021-08-31 22:36:11 -07:00
fx inference for algebraic expressions (#63822) 2021-08-25 20:47:23 -07:00
jit Back out "[JIT] Add aten::slice optimization" 2021-08-30 14:05:04 -07:00
jit_hooks Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
mobile Updates internal assert_allclose callsites in favor of assert_close (#61841) 2021-08-19 12:50:41 -07:00
onnx Back out "[ONNX] Fix an issue that optimizations might adjust graph inputs unexpectedly. (#61280)" (#64004) 2021-08-26 12:49:42 -07:00
optim Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
package replace self.assertTrue(torch.allclose(..)) with self.assertEqual(…) (#63637) 2021-08-25 16:47:40 -07:00
quantization [quant][graphmode][fx] Add reference quantized conv module (#63828) 2021-08-30 14:23:17 -07:00
scripts Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_img
typing Deprecate QR (#57745) 2021-05-10 22:56:37 -07:00
delete.py Introducing DataChunk for DataPipes batching (#62768) 2021-08-06 08:38:33 -07:00
HowToWriteTestsUsingFileCheck.md Allow for heterogenous List and Dict values + Improve container typing algorithm (#57137) 2021-07-10 14:29:05 -07:00
linear.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
run_test.py Discover new tests in run_tests.py (#64246) 2021-08-31 17:32:55 -07:00
simulate_nccl_errors.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_ao_sparsity.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_autocast.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_autograd.py [Doc] make_tensor to torch.testing module (#63925) 2021-08-30 12:25:40 -07:00
test_binary_ufuncs.py Use stacklevel for floordiv deprecation warnings (#64034) 2021-08-31 11:27:56 -07:00
test_buffer_protocol.py [Doc] make_tensor to torch.testing module (#63925) 2021-08-30 12:25:40 -07:00
test_bundled_images.py replace self.assertTrue(torch.allclose(..)) with self.assertEqual(…) (#63637) 2021-08-25 16:47:40 -07:00
test_bundled_inputs.py [PyTorch][Edge] Improve InflatableArgs for Bundled Inputs (#62368) 2021-08-20 09:36:08 -07:00
test_complex.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_cpp_api_parity.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_cpp_extensions_aot.py Add support for the ONNX Runtime Eager Mode backend (#58248) 2021-08-20 11:17:13 -07:00
test_cpp_extensions_jit.py Use CMake for breakpad (#63186) 2021-08-19 10:42:01 -07:00
test_cuda.py [CUDA graphs] hotfix for test_graph_ (#64339) 2021-08-31 22:34:10 -07:00
test_cuda_primary_ctx.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_dataloader.py [DataLoader2] Adding Messages, Protocols, Loop wrappers (#63882) 2021-08-30 07:57:20 -07:00
test_datapipe.py [DataPipe] adding description, __len__, tests for mux() (#64224) 2021-08-31 14:34:28 -07:00
test_determination.py Move existing target determinator to tools (#63809) 2021-08-25 13:03:53 -07:00
test_dispatch.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_foreach.py [Doc] make_tensor to torch.testing module (#63925) 2021-08-30 12:25:40 -07:00
test_function_schema.py Detect out argument in the schema (#62755) 2021-08-27 11:20:33 -07:00
test_functional_autograd_benchmark.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_functional_optim.py [BE] Enable functional optim tests for windows (#63462) 2021-08-23 17:49:01 -07:00
test_futures.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_fx.py Fix redundant class definition in GraphModule singleton constructor (#64274) 2021-08-31 17:34:14 -07:00
test_fx_experimental.py [WIP][FX] BC guarantees for 1.10 (#63888) 2021-08-30 19:56:46 -07:00
test_gen_backend_stubs.py Add support for the ONNX Runtime Eager Mode backend (#58248) 2021-08-20 11:17:13 -07:00
test_import_time.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_indexing.py [Doc] make_tensor to torch.testing module (#63925) 2021-08-30 12:25:40 -07:00
test_jit.py Remove outdated warning about RecursiveScriptModule not being copiable (#64085) 2021-08-31 21:31:32 -07:00
test_jit_cuda_fuser.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_jit_disabled.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_jit_fuser.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_jit_fuser_legacy.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_jit_fuser_te.py [nnc] Enable fusion of bfloat16 ops (#64196) 2021-08-30 20:09:36 -07:00
test_jit_legacy.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_jit_profiling.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_jit_simple.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_jit_string.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_kernel_launch_checks.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_license.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_linalg.py [Doc] make_tensor to torch.testing module (#63925) 2021-08-30 12:25:40 -07:00
test_logging.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_metal.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_mkldnn.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_mobile_optimizer.py Updates internal assert_allclose callsites in favor of assert_close (#61841) 2021-08-19 12:50:41 -07:00
test_model_dump.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_module_init.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_modules.py TST Adds pickle testing for ModuleInfo (#63736) 2021-08-24 19:04:46 -07:00
test_multiprocessing.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_multiprocessing_spawn.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_namedtensor.py disallow empty named dims list to flatten(names, name) (#61953) 2021-08-31 19:32:30 -07:00
test_namedtuple_return_api.py Make torch.lu differentiable for wide/tall inputs + jit (#61564) 2021-08-16 11:40:57 -07:00
test_native_functions.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_nn.py Add OpInfo for nn.functional.cosine_similarity (#62959) 2021-08-31 10:31:36 -07:00
test_nnapi.py Fix typo in NNAPI tests (#63797) 2021-08-23 16:34:24 -07:00
test_numba_integration.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_numpy_interop.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_openmp.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_ops.py [Doc] make_tensor to torch.testing module (#63925) 2021-08-30 12:25:40 -07:00
test_optim.py To add Chained Scheduler to the list of PyTorch schedulers. (#63491) 2021-08-26 13:30:21 -07:00
test_overrides.py replace self.assertTrue(torch.allclose(..)) with self.assertEqual(…) (#63637) 2021-08-25 16:47:40 -07:00
test_package.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_profiler.py [Profiler] Change FLOP/s to Total FLOPs (#62779) 2021-08-16 13:43:32 -07:00
test_pruning_op.py Updates internal assert_allclose callsites in favor of assert_close (#61841) 2021-08-19 12:50:41 -07:00
test_public_bindings.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_python_dispatch.py Revert D30543236: Add python mode 2021-08-31 15:28:33 -07:00
test_pytree.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_quantization.py [quant] AO migration of the quantize.py (#64086) 2021-08-29 20:30:01 -07:00
test_reductions.py Back out "Added reference tests to ReductionOpInfo" (#64183) 2021-08-30 14:48:10 -07:00
test_segment_reductions.py [torch][segment_reduce] Update default values when initial value is not set (#61266) 2021-07-07 13:34:10 -07:00
test_serialization.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_set_default_mobile_cpu_allocator.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_shape_ops.py [Doc] make_tensor to torch.testing module (#63925) 2021-08-30 12:25:40 -07:00
test_show_pickle.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_sort_and_select.py [Doc] make_tensor to torch.testing module (#63925) 2021-08-30 12:25:40 -07:00
test_sparse.py Use stacklevel for floordiv deprecation warnings (#64034) 2021-08-31 11:27:56 -07:00
test_sparse_csr.py [Doc] make_tensor to torch.testing module (#63925) 2021-08-30 12:25:40 -07:00
test_spectral_ops.py replace self.assertTrue(torch.allclose(..)) with self.assertEqual(…) (#63637) 2021-08-25 16:47:40 -07:00
test_static_runtime.py Updates internal assert_allclose callsites in favor of assert_close (#61841) 2021-08-19 12:50:41 -07:00
test_tensor_creation_ops.py remove componentwise comparison of complex values in TestCase.assertEqual (#63572) 2021-08-30 12:36:45 -07:00
test_tensorboard.py add use_strict_trace to tensorboard add_graph method (#63120) 2021-08-12 12:12:12 -07:00
test_tensorexpr.py [nnc] Fix half2float conversion and re-enable float16 (#64199) 2021-08-30 18:37:55 -07:00
test_tensorexpr_pybind.py [TensorExpr] Nuke KernelArena and KernelScope. (#63587) 2021-08-24 00:32:16 -07:00
test_testing.py remove componentwise comparison of complex values in torch.testing.assert_close (#63841) 2021-08-30 12:38:44 -07:00
test_throughput_benchmark.py Updates internal assert_allclose callsites in favor of assert_close (#61841) 2021-08-19 12:50:41 -07:00
test_torch.py remove componentwise comparison of complex values in TestCase.assertEqual (#63572) 2021-08-30 12:36:45 -07:00
test_type_hints.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_type_info.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_type_promotion.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_typing.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_unary_ufuncs.py remove componentwise comparison of complex values in TestCase.assertEqual (#63572) 2021-08-30 12:36:45 -07:00
test_utils.py Use CMake for breakpad (#63186) 2021-08-19 10:42:01 -07:00
test_view_ops.py [Doc] make_tensor to torch.testing module (#63925) 2021-08-30 12:25:40 -07:00
test_vmap.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_vulkan.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
test_xnnpack_integration.py Updates internal assert_allclose callsites in favor of assert_close (#61841) 2021-08-19 12:50:41 -07:00