pytorch/test
Hao Lu eda2ddb5b0 [ATen] Fix aten::to schema (#60001)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/60001

Fix the aten::to schema to reflect that the output may alias input.

Test Plan: Added new unit tests.

Reviewed By: ezyang

Differential Revision: D29121620

fbshipit-source-id: c29b6aa22d367ffedf06e47116bc46b3e188c39c
2021-06-15 20:04:20 -07:00
..
ao/sparsity [sparsity][refactor] Restructure the tests folders (#60032) 2021-06-15 13:37:19 -07:00
backward_compatibility [ATen] Fix aten::to schema (#60001) 2021-06-15 20:04:20 -07:00
benchmark_utils Add lint for unqualified noqa (#56272) 2021-04-19 13:16:18 -07:00
bottleneck_test
cpp [ATen] Fix aten::to schema (#60001) 2021-06-15 20:04:20 -07:00
cpp_api_parity Add mish activation function (#58648) 2021-05-25 10:36:21 -07:00
cpp_extensions Fix UB in library.h (#57962) 2021-05-11 16:04:02 -07:00
custom_backend [Pytorch backend delegation] Preprocess to accept (#58873) 2021-06-11 10:16:00 -07:00
custom_operator AutoDispatchBelowAutograd takes no arguments. (#56424) 2021-04-21 14:44:12 -07:00
distributed refine disabled test (#60040) 2021-06-15 16:22:29 -07:00
distributions Use torch.allclose to check tensor equality (#58429) 2021-05-17 13:16:35 -07:00
error_messages
expect [jit] Set debug name for value coming out of GetAttr nodes. (#59123) 2021-06-09 12:24:55 -07:00
fx Maintain submodule references during subgraph rewriting (#55463) 2021-04-30 16:46:44 -07:00
jit Support torch.nn.parameter type for PDT (#59249) 2021-06-15 07:22:33 -07:00
jit_hooks Un-ignore F403 in .flake8 (#55838) 2021-04-13 09:24:07 -07:00
mobile [After fix] Reuse constant and bump bytecode to v5 (#59722) 2021-06-10 15:03:16 -07:00
onnx Symbolic for ReLu6 (#58560) (#59538) 2021-06-15 12:24:17 -07:00
optim
package [package] turn MockZipReader into DirectoryReader and add test coverage (#59107) 2021-06-08 08:02:34 -07:00
quantization Fix quantized mean operator in QNNPACK backend (#59761) 2021-06-14 17:30:21 -07:00
scripts Disallow versionless Python shebangs (#58275) 2021-05-14 08:26:02 -07:00
test_img
typing Deprecate QR (#57745) 2021-05-10 22:56:37 -07:00
HowToWriteTestsUsingFileCheck.md
linear.py
run_test.py [c10d] Move pg wrapper tests to their own file. (#59840) 2021-06-14 15:05:55 -07:00
simulate_nccl_errors.py
test_ao_sparsity.py [sparsity][refactor] Restructure the tests folders (#60032) 2021-06-15 13:37:19 -07:00
test_autocast.py enable torch.cpu.amp.autocast (#57386) 2021-05-20 17:48:36 -07:00
test_autograd.py [CUDA graphs] Make stream semantics of backward calls consistent with other cuda ops (ci-all edition) (#57833) 2021-06-13 12:09:56 -07:00
test_binary_ufuncs.py Support __rmod__ (#58476) 2021-06-05 16:19:24 -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
test_cpp_api_parity.py
test_cpp_extensions_aot.py
test_cpp_extensions_jit.py Fix breakpad build and add to more images (#59236) 2021-06-01 22:47:14 -07:00
test_cuda.py External stream (#59527) 2021-06-14 13:46:11 -07:00
test_cuda_primary_ctx.py
test_dataloader.py [DataLoader] Add generate_state for NumPy seeding (#56797) 2021-04-27 08:14:02 -07:00
test_datapipe.py [Bootcamp][pytorch]Add WebIterDataPipe and ToBytesIterDataPipe to the datapipes. (#59816) 2021-06-15 11:43:26 -07:00
test_determination.py [quant][refactor tests] Move quantization tests into subfolders (#59007) 2021-05-26 23:02:12 -07:00
test_dispatch.py Add lint for unqualified noqa (#56272) 2021-04-19 13:16:18 -07:00
test_expecttest.py Fix expecttest accept on Python 3.8 and later (#59709) 2021-06-14 07:23:12 -07:00
test_foreach.py Revert D29007258: Revert D28926135: [pytorch][PR] Refactor Foreach Tests: Unary Functions 2021-06-09 21:02:56 -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
test_futures.py Add lint for unqualified type: ignore (#56290) 2021-04-21 08:07:23 -07:00
test_fx.py OpInfo: to_sparse (#59445) 2021-06-05 19:13:58 -07:00
test_fx_experimental.py [fx-acc] Fix wrong device assignment in find_single_partition (#60056) 2021-06-15 19:36:38 -07:00
test_gen_backend_stubs.py remove xla-specific stuff from codegen (minus CPU fallback) (#58064) 2021-05-26 12:52:13 -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 don't copy indices to the self device in dispatch_index (#59059) 2021-05-27 14:19:59 -07:00
test_jit.py Adds remaining OpInfos and removes redundant test generators (#55558) 2021-06-06 14:52:26 -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
test_jit_fuser.py
test_jit_fuser_legacy.py Un-ignore F403 in .flake8 (#55838) 2021-04-13 09:24:07 -07:00
test_jit_fuser_te.py [nnc] Handle more cases of excessive # of cat args (#60043) 2021-06-15 18:19:52 -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
test_kernel_launch_checks.py T90561249: Enforce kernel launch checks (#58178) 2021-05-13 10:41:20 -07:00
test_license.py
test_linalg.py Renorm fix (#59615) 2021-06-08 14:59:24 -07:00
test_logging.py
test_metal.py
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 Add mish activation function (#58648) 2021-05-25 10:36:21 -07:00
test_multiprocessing.py Fix mp serialization for integer nn.Parameter on CUDA (#56529) 2021-04-22 16:21:04 -07:00
test_multiprocessing_spawn.py
test_namedtensor.py
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
test_nn.py Revert D29100708: [pytorch][PR] Parametrizations depending on several inputs 2021-06-14 14:08:50 -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
test_numpy_interop.py Add lint for unqualified type: ignore (#56290) 2021-04-21 08:07:23 -07:00
test_openmp.py
test_ops.py add output_process_fn_grad before sum().backward() (#59971) 2021-06-14 16:20:03 -07:00
test_optim.py
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
test_profiler.py Update Kineto submodule (#58179) 2021-05-13 04:03:04 -07:00
test_pruning_op.py
test_public_bindings.py
test_pytree.py [FX] Adds PyTree support to FX through concrete_args (#55888) 2021-05-07 04:48:35 -07:00
test_quantization.py [quant] Implemented InputWeightObserver for Linear inputs 2021-06-07 11:19:43 -07:00
test_reductions.py fix numpy compatibility in test for torch.kthvalue (#59214) 2021-06-01 21:57:09 -07:00
test_segment_reductions.py [torch][segment_reduce] Add cuda support for mean reduction (#59543) 2021-06-15 07:00:45 -07:00
test_serialization.py
test_set_default_mobile_cpu_allocator.py
test_shape_ops.py flip via TI (#59509) 2021-06-05 15:43:29 -07:00
test_show_pickle.py
test_sort_and_select.py Implementation of torch.isin() (#53125) 2021-06-14 13:50:53 -07:00
test_sparse.py Enable complex dtypes for coo_sparse-coo_sparse matmul [CPU] (#59554) 2021-06-08 19:34:41 -07:00
test_sparse_csr.py CUDA support in the CSR layout: CUDA addmm/matvec (#59012) 2021-06-01 21:16:42 -07:00
test_spectral_ops.py [ROCm] enable test_cufft_plan_cache test (#57520) 2021-06-08 14:42:01 -07:00
test_static_runtime.py
test_tensor_creation_ops.py [fix] torch.{lin, log}space(): properly examine passed dtype (#53685) 2021-06-10 11:59:54 -07:00
test_tensorboard.py Add lint for unqualified noqa (#56272) 2021-04-19 13:16:18 -07:00
test_tensorexpr.py Reland: "[TensorExpr] Fix handling of 0-dim tensors." (#59508) 2021-06-08 22:48:17 -07:00
test_tensorexpr_pybind.py [TensorExpr] Add error checking in mem_arena (#59922) 2021-06-14 10:37:32 -07:00
test_testing.py Disallow versionless Python shebangs (#58275) 2021-05-14 08:26:02 -07:00
test_throughput_benchmark.py
test_torch.py Revert D28994140: [pytorch][PR] Implemented torch.cov 2021-06-13 02:33:37 -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
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 flip via TI (#59509) 2021-06-05 15:43:29 -07:00
test_utils.py Fix breakpad build and add to more images (#59236) 2021-06-01 22:47:14 -07:00
test_view_ops.py Conjugate View (#54987) 2021-06-04 14:12:41 -07:00
test_vmap.py
test_vulkan.py
test_xnnpack_integration.py