pytorch/test
Nikita Shulga 136abf5aff [ONNX] Update sum symbolic to handle dtypes (#64289) (#66141)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/66141

* Update aten::sum symbolic for dtype

* Remove nesting and modify opeartor tests

* Fix expect files

[ONNX] Fix expect files added in #64289 (#65356)

Test Plan: Imported from OSS

Reviewed By: jansel

Differential Revision: D31424091

fbshipit-source-id: d4af21e9f0d7e1c68bf6ef2f3e385db84b4c53f3
2021-10-22 13:46:12 -07:00
..
ao/sparsity pytorch quantization ao migration phase 2: caffe2/test (#65832) 2021-10-01 06:26:30 -07:00
autograd [skip ci] Set test owners for autograd tests (#66834) 2021-10-19 08:35:02 -07:00
backward_compatibility [BE] delete frontend.cpp (#66581) 2021-10-22 13:33:24 -07:00
benchmark_utils Compile without -Wno-unused-variable (take 2) (#66041) 2021-10-04 20:39:39 -07:00
bottleneck_test
cpp [PyTorch Edge][type] Add type support for NamedTuple custom class (import) (#63130) 2021-10-22 00:40:57 -07:00
cpp_api_parity ENH Adds test and docs for modules that already support no batch dims (#62729) 2021-09-02 12:36:54 -07:00
cpp_extensions Add support for the ONNX Runtime Eager Mode backend (#58248) 2021-08-20 11:17:13 -07:00
custom_backend
custom_operator use irange for loops 5 (#66744) 2021-10-18 21:59:50 -07:00
distributed [BE] delete frontend.cpp (#66581) 2021-10-22 13:33:24 -07:00
distributions Set test owner for distributions tests (#66842) 2021-10-19 11:00:29 -07:00
error_messages
expect Fix attr_to_scope's key in torch/utils/tensorboard/_pytorch_graph.py (#65692) 2021-10-20 14:35:29 -07:00
fx Set test owner for fx (#66807) 2021-10-18 12:25:38 -07:00
fx_acc [fx-acc] add optimize_quantization to FX graph opts (#65929) 2021-10-19 17:06:32 -07:00
fx2trt/converters Unsqueeze bug fix (#66889) 2021-10-21 10:57:58 -07:00
jit [JIT] Re-enable alias sensitive peepholes (#65860) 2021-10-22 09:45:57 -07:00
jit_hooks
mobile use irange for loops 5 (#66744) 2021-10-18 21:59:50 -07:00
onnx [ONNX] Update sum symbolic to handle dtypes (#64289) (#66141) 2021-10-22 13:46:12 -07:00
package Add simple backwards compatibility check for torch.package (#66739) 2021-10-20 12:46:17 -07:00
quantization [quant][fx][graphmode] Rename files and functions for convert and add do_not_use suffix (#66955) 2021-10-21 22:17:28 -07:00
scripts
test_img
typing
delete.py
HowToWriteTestsUsingFileCheck.md
linear.py
run_test.py Add torch.nn.init.uniform_ operator to ShardedTensor. (#63997) 2021-10-21 00:17:13 -07:00
simulate_nccl_errors.py
test_ao_sparsity.py
test_autocast.py fix pybind issue for get_autocast_cpu_dtype and get_autocast_gpu_dtype (#66396) 2021-10-11 08:34:48 -07:00
test_autograd.py Do not generate not_implemented error for forward AD when input with tangent passed to non-differentiable function (#66926) 2021-10-21 13:53:07 -07:00
test_binary_ufuncs.py [skip ci] Set test owners for everything considered with module: tests (#66865) 2021-10-20 09:37:03 -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 [skip ci] Set test owner for test_complex.py (#66835) 2021-10-19 08:36:27 -07:00
test_cpp_api_parity.py [skip ci] Set test owners for cpp test (#66836) 2021-10-21 13:17:46 -07:00
test_cpp_extensions_aot.py [skip ci] Set test owner for cpp-extensions tests (#66837) 2021-10-21 08:15:38 -07:00
test_cpp_extensions_jit.py [skip ci] Set test owner for cpp-extensions tests (#66837) 2021-10-21 08:15:38 -07:00
test_cuda_primary_ctx.py [skip ci] Set test owner for test_cuda* tests (#66838) 2021-10-21 17:36:25 -07:00
test_cuda.py [skip ci] Set test owner for test_cuda* tests (#66838) 2021-10-21 17:36:25 -07:00
test_dataloader.py [skip ci] Set test owners for dataloader tests (#66839) 2021-10-19 08:31:16 -07:00
test_datapipe.py [skip ci] Set test owners for dataloader tests (#66839) 2021-10-19 08:31:16 -07:00
test_deploy.py don't leak build time path name to runtime for frozen python modules (#65715) 2021-09-28 19:25:51 -07:00
test_determination.py Have test classes extend from common_utils.TestCase, not unittest.TestCase (#66900) 2021-10-19 16:54:05 -07:00
test_dispatch.py [skip ci] Set test owner for test_dispatch.py (#66840) 2021-10-21 08:48:37 -07:00
test_foreach.py deprecate dtype getters from torch.testing namespace (#63554) 2021-09-07 08:58:51 -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
test_functional_optim.py Add test owner to distributed files starting with test_ (#66797) 2021-10-19 10:55:20 -07:00
test_futures.py
test_fx_experimental.py Implement histogramdd on CPU (#65318) 2021-10-21 16:09:31 -07:00
test_fx.py Implement histogramdd on CPU (#65318) 2021-10-21 16:09:31 -07:00
test_gen_backend_stubs.py [skip ci] Set test owner for test_dispatch.py (#66840) 2021-10-21 08:48:37 -07:00
test_import_stats.py Set test owners for module: ci (#66796) 2021-10-18 10:29:50 -07:00
test_indexing.py Fixes CUDA vs CPU consistency for index_put_ when accumulating (#66790) 2021-10-21 19:09:57 -07:00
test_jit_cuda_fuser.py patching graph_for (#55139) 2021-10-04 21:50:22 -07:00
test_jit_disabled.py
test_jit_fuser_legacy.py
test_jit_fuser_te.py [nnc] Use a descriptive name for fused kernels when profiling (#66990) 2021-10-21 00:06:23 -07:00
test_jit_fuser.py
test_jit_legacy.py
test_jit_profiling.py
test_jit_simple.py
test_jit_string.py
test_jit.py Do not build PyTorch with caffe2 by default (#66658) 2021-10-21 20:32:47 -07:00
test_kernel_launch_checks.py move kernel launch checks from torch.testing to torch.testing._internal.check_kernel_launches (#60862) 2021-09-29 00:39:22 -07:00
test_license.py
test_linalg.py [skip ci] Set test owner for test_linalg.py (#66844) 2021-10-19 13:01:05 -07:00
test_logging.py
test_metal.py
test_mkldnn.py [skip ci] Set test owner for test_mkldnn.py (#66845) 2021-10-20 12:38:56 -07:00
test_mobile_optimizer.py pytorch quantization ao migration phase 2: caffe2/test (#65832) 2021-10-01 06:26:30 -07:00
test_model_dump.py model_dump: Fix memory computation when both constants and data tensors are present (#66006) 2021-10-01 16:31:06 -07:00
test_module_init.py [quant][embedding qat] Add basic EmbeddingBag QAT fakeQuant workflow (#65443) 2021-10-07 20:19:29 -07:00
test_modules.py TST Adds test for non-contiguous tensors (#64954) 2021-09-24 15:05:09 -07:00
test_multiprocessing_spawn.py [skip ci] Set test owner for multiprocessing tests (#66848) 2021-10-21 13:13:53 -07:00
test_multiprocessing.py [skip ci] Set test owner for multiprocessing tests (#66848) 2021-10-21 13:13:53 -07:00
test_namedtensor.py [skip ci] Set test owner for named tensor tests (#66849) 2021-10-21 08:22:26 -07:00
test_namedtuple_return_api.py
test_native_functions.py
test_nn.py Do rowwisemoments computation in float for half LayerNorm (#66920) 2021-10-22 09:50:42 -07:00
test_nnapi.py pytorch quantization ao migration phase 2: caffe2/test (#65832) 2021-10-01 06:26:30 -07:00
test_numba_integration.py
test_numpy_interop.py [skip ci] Set test owner for test_numpy_interop.py (#66851) 2021-10-19 10:50:54 -07:00
test_openmp.py
test_ops.py Fix internal assert failure for torch.all and torch.any with requires_grad=True (#65714) 2021-10-01 07:32:44 -07:00
test_optim.py [skip ci] Set test owners for optim tests (#66861) 2021-10-19 08:39:35 -07:00
test_overrides.py Actually deprecate __torch_function__ as plain methods (#64843) 2021-09-17 08:32:53 -07:00
test_package.py
test_profiler.py [PyTorch] Support additional arguments in Python record function (#65736) 2021-10-13 01:49:15 -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 Have test classes extend from common_utils.TestCase, not unittest.TestCase (#66900) 2021-10-19 16:54:05 -07:00
test_python_dispatch.py Disable .numpy() and .tolist() for tensor subclasses subclasses and fix .tolist() for conjugated and negated tensors (#66082) 2021-10-13 13:57:51 -07:00
test_pytree.py
test_quantization.py Set test owners for quantization tests (#66832) 2021-10-21 16:04:41 -07:00
test_reductions.py Implement histogramdd on CPU (#65318) 2021-10-21 16:09:31 -07:00
test_segment_reductions.py
test_serialization.py [skip ci] Set test owners for serialization tests (#66862) 2021-10-21 13:22:18 -07:00
test_set_default_mobile_cpu_allocator.py
test_shape_ops.py [skip ci] Set test owners for everything considered with module: tests (#66865) 2021-10-20 09:37:03 -07:00
test_show_pickle.py
test_sort_and_select.py [skip ci] Set test owners for everything considered with module: tests (#66865) 2021-10-20 09:37:03 -07:00
test_sparse_csr.py Sparse CSR: Add tensor.resize_ and tensor.copy_ (#63510) 2021-10-20 14:19:04 -07:00
test_sparse.py [skip ci] Set test owners for sparse tests (#66863) 2021-10-20 10:12:13 -07:00
test_spectral_ops.py [skip ci] Set test owner for test_spectral_ops.py (#66843) 2021-10-19 10:56:27 -07:00
test_stateless.py Add functional api for nn.Module (#61447) 2021-09-21 12:39:43 -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 [skip ci] Set test owners for tensor creation tests (#66864) 2021-10-20 09:38:21 -07:00
test_tensorboard.py Do not build PyTorch with caffe2 by default (#66658) 2021-10-21 20:32:47 -07:00
test_tensorexpr_pybind.py [NNC] Adding more python bindings for missing operators (#66612) 2021-10-14 22:09:01 -07:00
test_tensorexpr.py [TensorExpr] Re-enable a float16 test. (#65632) 2021-09-24 15:15:42 -07:00
test_testing.py [skip ci] Set test owners for everything considered with module: tests (#66865) 2021-10-20 09:37:03 -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 Do not build PyTorch with caffe2 by default (#66658) 2021-10-21 20:32:47 -07:00
test_type_hints.py [skip ci] Set test owners for test_typing.py (#66869) 2021-10-20 09:41:13 -07:00
test_type_info.py [skip ci] Set test owners for test_typing.py (#66869) 2021-10-20 09:41:13 -07:00
test_type_promotion.py [skip ci] Set test owners for test_type_promotion.py (#66866) 2021-10-20 09:42:37 -07:00
test_typing.py [skip ci] Set test owners for test_typing.py (#66869) 2021-10-20 09:41:13 -07:00
test_unary_ufuncs.py [skip ci] Set test owners for everything considered with module: tests (#66865) 2021-10-20 09:37:03 -07:00
test_utils.py test_utils.py: Add another retry to test_download_url_to_file (#66159) 2021-10-05 16:26:20 -07:00
test_view_ops.py [skip ci] Set test owners for everything considered with module: tests (#66865) 2021-10-20 09:37:03 -07:00
test_vmap.py Prefer mT and mH over transpose(-2, -1) and transpose(-2, -1).conj() (#64181) 2021-10-18 13:02:25 -07:00
test_vulkan.py
test_xnnpack_integration.py Updates internal assert_allclose callsites in favor of assert_close (#61841) 2021-08-19 12:50:41 -07:00