pytorch/test
Mike Ruberry 6d37126a10 Makes rdiv consistent with div (#45407)
Summary:
In addition to making rdiv consistent with div, this PR significantly expands division testing, accounting for floor_divide actually performing truncation division, too.

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

Reviewed By: ngimel

Differential Revision: D23974967

Pulled By: mruberry

fbshipit-source-id: 82b46b07615603f161ab7cd1d3afaa6d886bfe95
2020-09-29 08:34:01 -07:00
..
backward_compatibility [static runtime] Remove ops in static from backwards compatibility checks (#45354) 2020-09-25 14:46:42 -07:00
bottleneck_test
cpp [TensorExpr] Remove buf_ field from class Tensor. (#45390) 2020-09-29 01:21:57 -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 [Distributed] Adding Python tests for the TCPStore getNumKeys and deleteKey (#45402) 2020-09-28 15:35:24 -07:00
error_messages
expect Support custom exception message (#41907) 2020-08-01 13:03:45 -07:00
fx [resubmit][FX] s/get_param/get_attr/ (#45147) 2020-09-22 17:06:18 -07:00
jit [JIT] Add test for ignored class type property (#45233) 2020-09-28 18:22:19 -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 Makes rdiv consistent with div (#45407) 2020-09-29 08:34:01 -07:00
optim
package_a torch.package - a way to package models and code (#45015) 2020-09-22 21:21:21 -07:00
quantization [quant] Add quant APIs to save/load observer state_dict (#44846) 2020-09-29 01:52:42 -07:00
scripts
test_img
type_hint_tests
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 add circle ci job name dimension to report test stats (#45457) 2020-09-28 20:51:58 -07:00
run_test.py Fix Windows build failure after DDP PR merged (#45335) 2020-09-25 12:37:50 -07:00
simulate_nccl_errors.py Remove py2 compatible future imports (#44735) 2020-09-16 12:55:57 -07:00
test_autograd.py Disable inplace abs for complex tensors (#45069) 2020-09-28 20:33:35 -07:00
test_bundled_images.py
test_bundled_inputs.py Removes assertAlmostEqual (#41514) 2020-07-16 10:35:12 -07:00
test_complex.py
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 Run pytorch_core CUDA tests on GPU using TPX 2020-09-24 12:12:23 -07:00
test_dataloader.py Fix exception chaining in test/ (#44193) 2020-09-14 14:20:16 -07:00
test_determination.py Rename test_distributed to test_distributed_fork (#42932) 2020-09-08 23:13:37 -07:00
test_dispatch.py Align casing in test_dispatch with dispatch keys. (#44933) 2020-09-22 10:50:08 -07:00
test_distributions.py Fix exception chaining in test/ (#44193) 2020-09-14 14:20:16 -07:00
test_expecttest.py
test_foreach.py Enable binary ops with Scalar Lists with for foreach APIs (#45298) 2020-09-25 12:58:34 -07:00
test_function_schema.py Remove py2 compatible future imports (#44735) 2020-09-16 12:55:57 -07:00
test_functional_autograd_benchmark.py Reland of benchmark code (#43428) 2020-08-24 13:27:26 -07:00
test_futures.py Add done() API to Future (#42013) 2020-07-24 14:13:41 -07:00
test_fx.py [FX] Lint pass for Graphs (#44973) 2020-09-28 23:00:32 -07:00
test_indexing.py
test_jit_cuda_fuser_legacy.py [nvFuser] Latency improvements for pointwise + reduction fusion (#45218) 2020-09-24 23:17:20 -07:00
test_jit_cuda_fuser_profiling.py [nvFuser] Latency improvements for pointwise + reduction fusion (#45218) 2020-09-24 23:17:20 -07:00
test_jit_cuda_fuser.py Disable a few tests in preparation to enabling PE+TE (#44815) 2020-09-28 12:55:12 -07:00
test_jit_disabled.py
test_jit_fuser_legacy.py
test_jit_fuser_te.py Build shape expressions and remove outputs that are only used by aten::sizes (#45080) 2020-09-28 10:45:56 -07:00
test_jit_fuser.py Adjust TF32 tests (#44240) 2020-09-24 10:25:58 -07:00
test_jit_legacy.py
test_jit_profiling.py
test_jit_py3.py [JIT] Prohibit subscripted assignments for tuple types (#44929) 2020-09-21 16:35:44 -07:00
test_jit_simple.py
test_jit_string.py
test_jit.py Disable a few tests in preparation to enabling PE+TE (#44815) 2020-09-28 12:55:12 -07:00
test_linalg.py Updates linalg warning + docs (#45415) 2020-09-28 05:28:42 -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 optimize_for_mobile: bring packed params to root module (#42740) 2020-08-08 15:53:20 -07:00
test_multiprocessing_spawn.py Remove py2 compatible future imports (#44735) 2020-09-16 12:55:57 -07:00
test_multiprocessing.py
test_namedtensor.py Fix exception chaining in test/ (#44193) 2020-09-14 14:20:16 -07:00
test_namedtuple_return_api.py changed white-allowlisted (#41796) 2020-07-27 16:01:45 -07:00
test_native_functions.py Revert D23753711: [pytorch][PR] Add foreach APIs for binary ops with ScalarList 2020-09-24 11:55:49 -07:00
test_nn.py Support tuple inputs in NN Module test (#44853) 2020-09-28 22:05:05 -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
test_ops.py Missing tests about torch.xxx(out=...) (#44465) 2020-09-29 04:54:46 -07:00
test_optim.py Add more tests for mt optimizers (#45475) 2020-09-28 23:59:58 -07:00
test_overrides.py Complex gradcheck logic (#43208) 2020-09-20 22:05:04 -07:00
test_package.py [package] Add dependency viz (#45214) 2020-09-28 15:38:41 -07:00
test_profiler.py
test_pruning_op.py Remove py2 compatible future imports (#44735) 2020-09-16 12:55:57 -07:00
test_quantization.py [quant] Support quantization of embedding lookup operators (#44207) 2020-09-08 19:03:59 -07:00
test_serialization.py
test_show_pickle.py
test_sparse.py Sparse softmax support (CUDA) (#42307) 2020-09-24 00:07:30 -07:00
test_spectral_ops.py torch.fft: Multi-dimensional transforms (#44550) 2020-09-23 22:09:58 -07:00
test_static_runtime.py [static runtime] Split out graph preparation from runtime (#44131) 2020-09-28 13:01:23 -07:00
test_tensor_creation_ops.py Enable bfloat16 random kernels on Windows (#44918) 2020-09-18 15:55:32 -07:00
test_tensorboard.py Remove py2 compatible future imports (#44735) 2020-09-16 12:55:57 -07:00
test_tensorexpr.py [TensorExpr] Re-enable tests. (#44218) 2020-09-07 15:52:03 -07:00
test_throughput_benchmark.py Remove py2 compatible future imports (#44735) 2020-09-16 12:55:57 -07:00
test_torch.py Makes rdiv consistent with div (#45407) 2020-09-29 08:34:01 -07:00
test_type_hints.py Remove py2 compatible future imports (#44735) 2020-09-16 12:55:57 -07:00
test_type_info.py
test_type_promotion.py [fix] type promotion atan2 (#43466) 2020-09-23 22:23:05 -07:00
test_unary_ufuncs.py Moves some of TestTorchMathOps to OpInfos (#44277) 2020-09-10 17:31:50 -07:00
test_utils.py Gh/taylorrobie/timer cleanup (#45361) 2020-09-28 14:56:43 -07:00
test_vmap.py Add batching rule for "is_complex", "conj" (#44649) 2020-09-16 12:19:46 -07:00
test_vulkan.py
test_xnnpack_integration.py Remove py2 compatible future imports (#44735) 2020-09-16 12:55:57 -07:00