pytorch/test
Will Constable 52fd7e491b Update torch.ops.aten.all ref to be symbolic-trace friendly (#85352)
- previous impl compared the summed bool values of the tensor to its nelem, which in a symbolic world is a symint and can't be coerced back into a bool for the purpose of shoving into a result tensor

- new impl adds one extra negation op but avoids the need to compare to the symbolic nelem

Pull Request resolved: https://github.com/pytorch/pytorch/pull/85352
Approved by: https://github.com/ezyang, https://github.com/mruberry
2022-09-21 00:06:54 +00:00
..
ao/sparsity [quant][ao_migration] torch.nn.qattorch.ao.nn.qat (#78716) 2022-08-25 16:50:38 +00:00
autograd
backends/xeon A Launch script with Best Recipe of Deep Learning on Intel Xeon CPU (#63932) 2022-07-29 12:57:22 +00:00
benchmark_utils
bottleneck_test
cpp Handle implicit real->complex casting for backward of stack (#84993) 2022-09-19 21:20:34 +00:00
cpp_api_parity
cpp_extensions [2/N] [Dispatchable Collectives] Extract ProcessGroup::Work into a separate class and update references (#83680) 2022-09-14 13:05:58 +00:00
custom_backend
custom_operator
distributed [CUBLAS][CUDA GRAPHS] (re-open of #83461) Explicitly set the workspace for cuBLAS handles (#85292) 2022-09-20 16:31:54 +00:00
distributions Revert "Add mkl implementation for exponential on CPU (#69967)" 2022-09-08 20:30:23 +00:00
error_messages
expect Fix dumb make_fx issue (#84011) 2022-08-25 06:52:01 +00:00
forward_backward_compatibility Add torch.nested namespace (#84102) 2022-09-12 16:31:05 +00:00
fx Improve getitem syntax for TensorType (#84555) 2022-09-06 18:36:24 +00:00
jit Update Dynamo pin (#83829) 2022-08-26 20:49:43 +00:00
jit_hooks
lazy Make addmm meta kernel consistent with mm (#84960) 2022-09-19 15:41:19 +00:00
mobile [quant][ao_migration] torch.nn.quantized.modulestorch.ao.nn.quantized.modules (#78713) 2022-08-25 16:50:33 +00:00
nn Remove assertEqualIgnoreType from test_pooling (#85112) 2022-09-16 22:04:42 +00:00
onnx [ONNX] Create decorators for symbolic function registration (#84709) 2022-09-17 01:01:04 +00:00
package
profiler Stop monkeypatching Tensor.backward() on import functorch (#85152) 2022-09-19 17:06:15 +00:00
quantization fx quant: fix bug in custom module test (#85344) 2022-09-20 21:12:17 +00:00
scripts
test_img
typing
allowlist_for_publicAPI.json Add __all__ to torch.{fx, distributed, backends} submodules (#85079) 2022-09-20 12:51:08 +00:00
conftest.py
create_dummy_torchscript_model.py
delete.py
HowToWriteTestsUsingFileCheck.md
linear.py
load_torchscript_model.py
mkl_verbose.py [RFC] enable oneMKL&oneDNN on-demands verbose functinality (#63212) 2022-07-27 23:29:35 +00:00
mkldnn_verbose.py [RFC] enable oneMKL&oneDNN on-demands verbose functinality (#63212) 2022-07-27 23:29:35 +00:00
run_doctests.sh Integrate xdoctest - Rebased (#82797) 2022-08-12 02:08:01 +00:00
run_test.py [ROCm] re-enable tensorexpr and test_openmp (#81367) 2022-09-14 00:41:16 +00:00
simulate_nccl_errors.py
test_ao_sparsity.py [ao][sparsity] Data Sparsity with Post Training Quantization (#82759) 2022-08-10 16:51:35 +00:00
test_autocast.py
test_autograd.py Handle implicit real->complex casting for backward of stack (#84993) 2022-09-19 21:20:34 +00:00
test_binary_ufuncs.py Fix segfault for out with a large number of dims (#85294) 2022-09-19 22:00:43 +00:00
test_bundled_images.py
test_bundled_inputs.py
test_comparison_utils.py Add aten _assert_tensor_metadata op (#84617) 2022-09-19 20:48:09 +00:00
test_complex.py
test_cpp_api_parity.py Make M1 tests green (#82213) 2022-08-05 16:12:08 +00:00
test_cpp_extensions_aot.py
test_cpp_extensions_jit.py Reenable TestCppExtensionJIT on M1 (#84552) 2022-09-06 17:49:29 +00:00
test_cpp_extensions_open_device_registration.py Make M1 tests green (#82213) 2022-08-05 16:12:08 +00:00
test_cuda.py [mta] APEX style Fused Adam (#81705) 2022-09-20 17:18:33 +00:00
test_cuda_primary_ctx.py
test_cuda_sanitizer.py Add CSAN support for CPU synchronizations (#84428) 2022-09-09 15:19:33 +00:00
test_cuda_trace.py Add synchronize hooks (#84427) 2022-09-09 13:56:59 +00:00
test_dataloader.py [DataPipe] Reset Shuffler's iterator when NotStarted (#83535) 2022-08-25 19:45:41 +00:00
test_datapipe.py Set shuffle to DataPipes with set_shuffle API (#83741) 2022-09-13 13:38:58 +00:00
test_decomp.py Added support for symbolic is_contiguous (#84829) 2022-09-16 04:54:01 +00:00
test_deploy.py
test_determination.py
test_dispatch.py [functorch] Fix dangling impls (#85299) 2022-09-20 00:24:50 +00:00
test_dlpack.py Normalize DLPack stride to 1 where shape < 2 (#83158) 2022-08-23 15:03:29 +00:00
test_dynamic_shapes.py Add SymInt::guard_int (#85139) 2022-09-17 16:05:07 +00:00
test_expanded_weights.py [Expanded Weights] add 'same' and 'valid' padding support (#83345) 2022-08-16 22:39:08 +00:00
test_fake_tensor.py Revert "Revert "Redo how custom/python_custom methods on TensorImpl work (#84796)" (#84806) 2022-09-10 06:17:35 +00:00
test_foreach.py Test Dynamo CI w Fake Tensors (#84282) 2022-09-01 00:15:05 +00:00
test_function_schema.py [frontend] Print real type for Argument (#85103) 2022-09-15 22:16:32 +00:00
test_functional_autograd_benchmark.py
test_functional_optim.py
test_functionalization.py Refactored proxytensor to clean up separate branches (#84325) 2022-08-31 09:37:55 +00:00
test_futures.py [torch.futures] Fix nullptr deref (#85304) 2022-09-20 01:49:04 +00:00
test_fx.py [torch.fx.wrap] Use callable / function.__name__ instead of function.__code__.co_name (#84373) 2022-09-09 05:44:29 +00:00
test_fx_backends.py [ROCm] enable nvfuser (#82498) 2022-08-30 21:50:39 +00:00
test_fx_experimental.py
test_fx_passes.py Back out "Support regex-style matching for Any and Oneof (#82853)" (#83922) 2022-08-24 00:17:46 +00:00
test_fx_reinplace_pass.py [CMake] Add functorch target (#83464) 2022-09-14 00:05:33 +00:00
test_hub.py
test_import_stats.py
test_indexing.py Re-enable fixed dynamo tests (#84969) 2022-09-16 15:36:52 +00:00
test_jit.py Update Dynamo pin (#83829) 2022-08-26 20:49:43 +00:00
test_jit_autocast.py [JIT] Retry - Support scripting torch.is_autocast_enabled() (#82394) 2022-08-10 18:26:17 +00:00
test_jit_cuda_fuser.py [ROCm] enable nvfuser (#82498) 2022-08-30 21:50:39 +00:00
test_jit_disabled.py
test_jit_fuser.py
test_jit_fuser_legacy.py
test_jit_fuser_te.py [NNC] add eltwise OPs: mish and elu (#80586) 2022-09-17 01:44:34 +00:00
test_jit_legacy.py
test_jit_llga_fuser.py add oneDNN graph fuser context API and unittest (#82491) 2022-09-12 20:09:00 +00:00
test_jit_profiling.py
test_jit_simple.py
test_jit_string.py
test_jiterator.py [ROCm] enable jiterator (#77982) 2022-08-15 16:04:09 +00:00
test_kernel_launch_checks.py
test_license.py
test_linalg.py Remove deprecated torch.eig (#70982) 2022-09-09 21:31:57 +00:00
test_logging.py
test_masked.py
test_maskedtensor.py Optimize torch.ops.ns.opname.overload accessor in torch dispatch (#85132) 2022-09-16 20:21:03 +00:00
test_meta.py Adding multigammaln ref and fix arange (#85153) 2022-09-20 17:52:56 +00:00
test_metal.py
test_mkl_verbose.py [RFC] enable oneMKL&oneDNN on-demands verbose functinality (#63212) 2022-07-27 23:29:35 +00:00
test_mkldnn.py test mkldnn conv2d channels last when weight is nchw format (#77348) 2022-09-09 07:28:04 +00:00
test_mkldnn_fusion.py [NNC] support aten::_convolution when it is 2D conv (#84038) 2022-09-19 17:45:20 +00:00
test_mkldnn_verbose.py [RFC] enable oneMKL&oneDNN on-demands verbose functinality (#63212) 2022-07-27 23:29:35 +00:00
test_mobile_optimizer.py
test_model_dump.py Fix failing test_model_dump due to empty file (#84744) 2022-09-12 20:59:19 +00:00
test_module_init.py [quant][ao_migration] torch.nn.qattorch.ao.nn.qat (#78716) 2022-08-25 16:50:38 +00:00
test_modules.py
test_monitor.py
test_mps.py [MPS] Handle reduction of scalars in edge-cases (#83743) 2022-09-20 17:53:45 +00:00
test_multiprocessing.py [ROCm] Enable test_multiprocessing tests (#82356) 2022-08-24 20:49:20 +00:00
test_multiprocessing_spawn.py
test_namedtensor.py Update std_mean/var_mean/nanmean/nansum signatures with int[1]? dim (#82912) 2022-08-10 16:58:26 +00:00
test_namedtuple_return_api.py Remove deprecated torch.eig (#70982) 2022-09-09 21:31:57 +00:00
test_native_functions.py
test_native_mha.py Add torch.nested namespace (#84102) 2022-09-12 16:31:05 +00:00
test_nestedtensor.py [Nested Tensor] Create differentiable nt to tensor view functions (#83371) 2022-09-13 20:35:58 +00:00
test_nn.py Revert "Reduce memory usage requirement of test_warp_softmax_64bit_indexing in test_nn.py (#85037)" 2022-09-20 00:13:41 +00:00
test_nnapi.py [quant][ao_migration] torch.nn.quantized.modulestorch.ao.nn.quantized.modules (#78713) 2022-08-25 16:50:33 +00:00
test_numba_integration.py
test_numpy_interop.py
test_nvfuser_frontend.py Create Cache for Fusion Reuse in NVFuser in Python Frontend for Primtorch (#85045) 2022-09-17 10:52:54 +00:00
test_openmp.py
test_ops.py Fake: fix conv_transpose2d striding (#82846) 2022-09-20 18:00:59 +00:00
test_ops_gradients.py
test_ops_jit.py [JIT Test] Add more debugging information for JIT opinfo tests (#83269) 2022-08-12 00:29:06 +00:00
test_optim.py [mta] APEX style Fused Adam (#81705) 2022-09-20 17:18:33 +00:00
test_overrides.py Revert "Remove split functional wrapper (#74727)" 2022-08-10 19:45:23 +00:00
test_package.py
test_per_overload_api.py Add OpOverload.decompose API (#83075) 2022-08-09 18:53:19 +00:00
test_prims.py Python Dispatcher integration with C++ dispatcher (#85050) 2022-09-15 00:43:36 +00:00
test_proxy_tensor.py Update torch.ops.aten.all ref to be symbolic-trace friendly (#85352) 2022-09-21 00:06:54 +00:00
test_pruning_op.py
test_public_bindings.py Add SymFloat, support SymInt to SymFloat conversion (#84284) 2022-09-03 01:30:32 +00:00
test_python_dispatch.py Fixed memory issues in linalg_lstsq (#85357) 2022-09-20 21:13:06 +00:00
test_pytree.py Add *_only and all/any pytree utilities (#83316) 2022-08-12 17:31:55 +00:00
test_quantization.py Remove DBR quantization from the codebase (#83642) 2022-08-23 15:18:40 +00:00
test_reductions.py Revert "Dispatch torch.norm to linalg.vector_norm and linalg.matrix_norm (#81761)" 2022-09-06 22:31:14 +00:00
test_scatter_gather_ops.py Add deterministic impl of scatter_add CUDA for all input sizes (#79466) 2022-09-07 03:12:49 +00:00
test_schema_check.py Respect TorchDispatchMode for shallow_copy_and_detach (#83372) 2022-08-16 14:32:27 +00:00
test_segment_reductions.py
test_serialization.py Rename _Typed/_UntypedStorage to Typed/UntypedStorage and update docs (#82438) 2022-07-30 19:37:08 +00:00
test_set_default_mobile_cpu_allocator.py
test_shape_ops.py
test_show_pickle.py
test_sort_and_select.py Re-enable fixed dynamo tests (#84969) 2022-09-16 15:36:52 +00:00
test_sparse.py Revert "Faster mul(sparse, sparse) with broadcasting in dense dims. (#83428)" 2022-09-17 06:53:11 +00:00
test_sparse_csr.py Fix bugs in sparse compressed tensor shape and device inference (#85240) 2022-09-19 18:10:37 +00:00
test_spectral_ops.py Fix use-dict-literal lint (#83718) 2022-08-24 00:26:46 +00:00
test_stateless.py
test_static_runtime.py
test_subclass.py [torchdynamo hash update] update the pinned torchdynamo hash (#84383) 2022-09-06 13:23:19 +00:00
test_tensor_creation_ops.py [reland] [numpy] add torch.concatenate, alias of torch.cat (#85073) 2022-09-15 19:34:44 +00:00
test_tensorboard.py
test_tensorexpr.py
test_tensorexpr_pybind.py
test_testing.py Move OpInfo class into new opinfo folder (#82540) 2022-08-05 15:10:17 +00:00
test_throughput_benchmark.py
test_torch.py Add nondeterministic alert for MaxUnpool1d/2d/3d (#84766) 2022-09-17 11:58:18 +00:00
test_transformers.py Disable Transformer/MHA fast path when autocast is enabled (#84722) 2022-09-09 01:15:24 +00:00
test_type_hints.py
test_type_info.py
test_type_promotion.py Revert "Land "Make ceil,floor,round,trunc handle integers" (#85144)" 2022-09-19 18:46:35 +00:00
test_typing.py
test_unary_ufuncs.py Adding multigammaln ref and fix arange (#85153) 2022-09-20 17:52:56 +00:00
test_utils.py Fix inheritance in TestDataLoaderUtil (#85018) 2022-09-14 22:04:43 +00:00
test_view_ops.py
test_vmap.py
test_vulkan.py
test_xnnpack_integration.py