pytorch/test
Ivan Yashchuk 528158af47 Updated derivatives for complex mm, mv, ger, bmm, triangular_solve (#45737)
Summary:
This PR updates derivatives for a few functions so that `gradgradcheck` for `torch.cholesky` is passed ([ref](https://github.com/pytorch/pytorch/pull/45267#discussion_r494439967)).

Some tests (that call to `bmm_cuda`) fail with with `RuntimeError: _th_bmm_out not supported on CUDAType for ComplexDouble`
until PR https://github.com/pytorch/pytorch/issues/42553 is merged.

Ref. https://github.com/pytorch/pytorch/issues/33152

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

Reviewed By: bdhirsh

Differential Revision: D24279917

Pulled By: anjali411

fbshipit-source-id: 7b696d2cfc2ef714332c2e3e5d207e257be67744
2020-10-15 11:27:30 -07:00
..
backward_compatibility Added scalar lists APIs for addcdiv and addcmul (#45932) 2020-10-14 08:12:37 -07:00
bottleneck_test
cpp [caffe2] Add operator schema for FP16SparseNorm (#46300) 2020-10-13 18:58:23 -07:00
cpp_api_parity Support tuple inputs in NN Module test (#44853) 2020-09-28 22:05:05 -07:00
cpp_extensions Add barrier() at the end of init_process_group and new_group. (#45181) 2020-09-25 15:46:59 -07:00
custom_backend [JIT] Modify to_backend API so that it accepts wrapped modules (#43612) 2020-09-28 17:17:01 -07:00
custom_operator [WIP] Fix cpp grad accessor API (#40887) 2020-07-16 09:11:12 -07:00
distributed Workaround for bug in DistributedDataParallel (#46186) 2020-10-13 07:34:02 -07:00
distributions Support pytest for distribution testing (#45648) 2020-10-13 10:56:50 -07:00
error_messages
expect Support custom exception message (#41907) 2020-08-01 13:03:45 -07:00
fx [FX] Track use nodes in Node (#45775) 2020-10-07 00:15:04 -07:00
jit [JIT] Revert Freezing shared type PR (#46285) 2020-10-15 10:57:30 -07:00
mobile [pytorch] deprecate static dispatch (#43564) 2020-08-27 14:52:48 -07:00
namespace_b torch.package - a way to package models and code (#45015) 2020-09-22 21:21:21 -07:00
onnx [ONNX] Update squeeze test for opset 9 (#45369) 2020-10-14 12:53:13 -07:00
optim
package_a torch.package - a way to package models and code (#45015) 2020-09-22 21:21:21 -07:00
quantization Revert D24290811: [quant][eagermode] Move custom_module registration to prepare/convert_custom_config_dict 2020-10-14 16:42:55 -07:00
scripts
test_img [PyTorch Operator] [2/n] Adding python test 2020-06-25 18:36:44 -07:00
type_hint_tests Move all torch.nn.modules type annotations inline (#38211) 2020-06-11 15:59:57 -07:00
HowToWriteTestsUsingFileCheck.md Grammar patch 1 (.md) (#41599) 2020-07-20 10:19:08 -07:00
module_a.py torch.package - a way to package models and code (#45015) 2020-09-22 21:21:21 -07:00
print_test_stats.py Mark top 3 slowest tests as slow (#46068) 2020-10-08 21:10:03 -07:00
run_test.py add size_based_partition final (#46282) 2020-10-14 03:44:05 -07:00
simulate_nccl_errors.py Remove py2 compatible future imports (#44735) 2020-09-16 12:55:57 -07:00
test_autograd.py Updated derivatives for complex mm, mv, ger, bmm, triangular_solve (#45737) 2020-10-15 11:27:30 -07:00
test_bundled_images.py Fixes lint (#40606) 2020-06-25 21:53:00 -07:00
test_bundled_inputs.py Removes assertAlmostEqual (#41514) 2020-07-16 10:35:12 -07:00
test_complex.py Let exp support complex types on CUDA and enable device/dtype in complex tests (#39087) 2020-06-30 10:50:40 -07: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 exception chaining in test/ (#44193) 2020-09-14 14:20:16 -07:00
test_cpp_extensions_jit.py [JIT] Disable broken tests (#43750) 2020-08-27 18:12:57 -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 Allow consumer ops to sync on GraphRoot's gradient (#45787) 2020-10-07 08:53:53 -07:00
test_dataloader.py Mark top 3 slowest tests as slow (#46068) 2020-10-08 21:10:03 -07:00
test_determination.py Rename test_distributed to test_distributed_fork (#42932) 2020-09-08 23:13:37 -07:00
test_dispatch.py Allow Undefined to get kernel from Math/DefaultBackend. (#46352) 2020-10-15 11:17:08 -07:00
test_expecttest.py
test_foreach.py Added scalar lists APIs for addcdiv and addcmul (#45932) 2020-10-14 08:12:37 -07:00
test_function_schema.py Stricter backward compatibility check (#45773) 2020-10-06 01:28:48 -07:00
test_functional_autograd_benchmark.py Reland of benchmark code (#43428) 2020-08-24 13:27:26 -07:00
test_futures.py fix #45552 - adding add_done_callback(fn) to torch.futures.Future (#45675) 2020-10-13 07:47:36 -07:00
test_fx_experimental.py add size_based_partition final (#46282) 2020-10-14 03:44:05 -07:00
test_fx.py [fx] make sure args/kwargs are immutable (#46325) 2020-10-14 15:51:43 -07:00
test_indexing.py Changes TensorIterator computation to not consider out kwarg, lets UnaryOps safe cast to out (#39655) 2020-06-10 09:04:13 -07:00
test_jit_cuda_fuser_legacy.py Rename jobs and cli switches for testing GraphExecutor configurations to something a little bit more sensical. (#45715) 2020-10-05 11:43:28 -07:00
test_jit_cuda_fuser_profiling.py Rename jobs and cli switches for testing GraphExecutor configurations to something a little bit more sensical. (#45715) 2020-10-05 11:43:28 -07:00
test_jit_cuda_fuser.py Enable CUDA Fuser for ROCm (#45965) 2020-10-08 10:41:56 -07:00
test_jit_disabled.py
test_jit_fuser_legacy.py Rename jobs and cli switches for testing GraphExecutor configurations to something a little bit more sensical. (#45715) 2020-10-05 11:43:28 -07:00
test_jit_fuser_te.py [1/3] [JIT] Make sure fusion occurs in test_tensorexpr file (#45788) 2020-10-08 12:02:57 -07:00
test_jit_fuser.py Adjust TF32 tests (#44240) 2020-09-24 10:25:58 -07:00
test_jit_legacy.py Rename jobs and cli switches for testing GraphExecutor configurations to something a little bit more sensical. (#45715) 2020-10-05 11:43:28 -07:00
test_jit_profiling.py Rename jobs and cli switches for testing GraphExecutor configurations to something a little bit more sensical. (#45715) 2020-10-05 11:43:28 -07:00
test_jit_py3.py [JIT] Add API for ignoring arbitrary module attributes (#45262) 2020-10-06 18:02:06 -07:00
test_jit_simple.py Rename jobs and cli switches for testing GraphExecutor configurations to something a little bit more sensical. (#45715) 2020-10-05 11:43:28 -07:00
test_jit_string.py Fix inconsistent results of string split func on JIT mode (#38772) 2020-06-17 12:43:36 -07:00
test_jit.py Add tensor_split function, based on numpy.array_split (#45168) 2020-10-07 23:14:48 -07:00
test_linalg.py Fix mistakes and increase clarity of norm documentation (#42696) 2020-10-10 14:12:43 -07:00
test_logging.py
test_mkldnn.py Remove py2 compatible future imports (#44735) 2020-09-16 12:55:57 -07:00
test_mobile_optimizer.py [pytorch] Replace "blacklist" in test/test_mobile_optimizer.py (#45512) 2020-09-30 10:43:59 -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 Throws runtime error when torch.full would infer a float dtype from a bool or integral fill value (#40364) 2020-06-23 23:27:22 -07:00
test_namedtensor.py Fixed median nan propagation and implemented nanmedian (#45847) 2020-10-08 11:20:21 -07:00
test_namedtuple_return_api.py Fixed median nan propagation and implemented nanmedian (#45847) 2020-10-08 11:20:21 -07:00
test_native_functions.py codegen: Allow string arguments to have defaults (#45665) 2020-10-06 21:53:56 -07:00
test_nn.py Fix incorrect CUDA torch.nn.Embedding result when max_norm is not None and indices are not sorted (#45248) 2020-10-12 18:28:07 -07:00
test_numba_integration.py Add complex tensor dtypes for the __cuda_array_interface__ spec (#42918) 2020-08-14 10:26:23 -07:00
test_op_aliases.py Migrate addr from the TH to Aten (CPU) (#44364) 2020-09-25 01:18:09 -07:00
test_openmp.py Fix flaky test (#40175) 2020-06-17 15:40:28 -07:00
test_ops.py Revert D24027761: Update backward definition for more operators and reenable tests in test_ops.py 2020-10-02 18:52:57 -07:00
test_optim.py Add three-phase option to OneCycleLR (#42715) 2020-10-14 15:05:14 -07:00
test_overrides.py Fix incorrect signatures in get_testing_overrides, and add test for incorrect signatures (#45983) 2020-10-15 07:48:20 -07:00
test_package.py [packaging] simpler dependency plotting (#45686) 2020-10-06 23:40:00 -07:00
test_profiler.py Source code level attribution in profiler (#43898) 2020-09-30 00:57:35 -07:00
test_pruning_op.py Remove py2 compatible future imports (#44735) 2020-09-16 12:55:57 -07:00
test_quantization.py [quant][graphmode][fx][eagermode] Add leaky relu support in quantization workflows (#45712) 2020-10-06 12:16:04 -07:00
test_serialization.py fix test_serialization not working with Windows. (#46120) 2020-10-12 15:18:46 -07:00
test_show_pickle.py
test_sparse.py Sparse softmax support (CUDA) (#42307) 2020-09-24 00:07:30 -07:00
test_spectral_ops.py Run gradgradcheck on torch.fft transforms (#46004) 2020-10-08 00:02:05 -07:00
test_static_runtime.py [StaticRuntime] Implement StaticRuntime::benchmark (#45639) 2020-10-06 20:54:43 -07:00
test_tensor_creation_ops.py Rocm skip test cases (#45782) 2020-10-05 15:12:25 -07:00
test_tensorboard.py Remove py2 compatible future imports (#44735) 2020-09-16 12:55:57 -07:00
test_tensorexpr.py [NNC] Fix two more bugs in Cuda Half support (#46129) 2020-10-12 13:31:07 -07:00
test_throughput_benchmark.py Remove py2 compatible future imports (#44735) 2020-09-16 12:55:57 -07:00
test_torch.py trying to make pow work for tensor raised to the power of a scalar (#46185) 2020-10-13 10:14:36 -07:00
test_type_hints.py Remove py2 compatible future imports (#44735) 2020-09-16 12:55:57 -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 [fix] type promotion atan2 (#43466) 2020-09-23 22:23:05 -07:00
test_unary_ufuncs.py [numpy] Add torch.nan_to_num (#44592) 2020-10-05 01:38:56 -07:00
test_utils.py [pytorch] activation checkpointing: enable mixing tensor without requires_grad (#45934) 2020-10-14 21:28:02 -07:00
test_vmap.py Add tensor_split function, based on numpy.array_split (#45168) 2020-10-07 23:14:48 -07:00
test_vulkan.py [vulkan] jit passes for vulkan conv2 prepack and fuse with clamp (#39282) 2020-06-20 14:12:21 -07:00
test_xnnpack_integration.py Mark top 3 slowest tests as slow (#46068) 2020-10-08 21:10:03 -07:00