pytorch/test
Heungsub Hans Lee fa251cfd97 Fully deprecate variadic inputs of checkpoint_sequential (#25985)
Summary:
To support variadic inputs of `checkpoint_sequential` was deprecated at https://github.com/pytorch/pytorch/issues/21006. This case should be warned with `DeprecationWarning` for PyTorch 1.2, but it should be simply failed with `TypeError` since PyTorch 1.3. This patch removes the `DeprecationWarning` for PyTorch 1.2.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/25985

Differential Revision: D18809875

Pulled By: albanD

fbshipit-source-id: e84dd8629c04979c4b2dc63e8ada94292e8cedd0
2019-12-05 09:23:28 -08:00
..
backward_compatibility Ignore logical_and and logical_or in op BC check for now (#30537) 2019-11-27 16:59:37 -08:00
bottleneck
cpp AddConstant and findConstant for ClassType (#29217) 2019-12-04 14:17:13 -08:00
cpp_api_parity C++ parity, convert_parameters (#29267) 2019-11-20 19:59:11 -08:00
cpp_extensions More checks on MSVC (#29709) 2019-11-13 00:15:40 -08:00
custom_operator Back out "Revert D17908478: Switch PyTorch/Caffe2 to C++14" 2019-12-03 14:33:43 -08:00
data Makes test_cuda.py's generated tensor op tests generic (#27210) 2019-10-04 02:40:59 -07:00
error_messages
expect Changes to get inlined graph and proper names after JIT updates (#30244) 2019-11-21 16:59:28 -08:00
jit Serialize ClassType as its qualname 2019-11-20 16:17:26 -08:00
mobile/op_deps add irregular c10 op registration/invocation cases to test project (#30558) 2019-12-04 08:46:00 -08:00
onnx Add the __torch_function__ API override mechanism (#30730) 2019-12-04 13:19:07 -08:00
optim
scripts Add scripts to run cuda-memcheck (#28127) 2019-10-29 12:05:29 -07:00
test_module
common_cuda.py
common_device_type.py add wrapper to exclude XLA when running device tests 2019-11-22 13:04:59 -08:00
common_distributed.py Enable mgpu unit tests for rocm 2019-10-11 14:35:36 -07:00
common_methods_invocations.py Fix nuclear norm with requires_grad=True (#26303) 2019-09-26 12:08:25 -07:00
common_nn.py Fix scalar check of MultiLabelMarginLoss. (#30768) 2019-12-05 08:07:20 -08:00
common_quantization.py Add e2e test for conv+bn (#27348) 2019-11-01 11:28:47 -07:00
common_quantized.py Unify quantized conv and linear tests (#26992) 2019-10-01 14:07:16 -07:00
common_utils.py Fix typos (#30606) 2019-12-02 20:17:42 -08:00
dist_autograd_test.py Enable test_trainer_ps in dist_autograd_test.py 2019-12-03 15:12:36 -08:00
dist_optimizer_test.py DistributedOptimizer: wait for all workers to finish _LocalOptimizer constructor (#30062) 2019-11-19 18:30:00 -08:00
dist_utils.py Add local shutdown to process group agent (#30330) 2019-11-27 22:34:08 -08:00
expecttest.py
HowToWriteTestsUsingFileCheck.md
hypothesis_utils.py Refactor qconv_prepack and qconv_unpack to support conv3d (#28481) 2019-10-27 14:43:16 -07:00
jit_utils.py Simplify ScriptModule bindings. (#29432) 2019-11-11 13:52:36 -08:00
rpc_agent_test_fixture.py default construct rpc agent options based on the backend type (#30201) 2019-11-22 08:18:06 -08:00
rpc_test.py Adding Debug Info for RRef Context 2019-12-03 19:16:31 -08:00
run_test.py Add the __torch_function__ API override mechanism (#30730) 2019-12-04 13:19:07 -08:00
simulate_nccl_errors.py
test_autograd.py autograd/profiler: support merging FunctionEventAvg (#30677) 2019-12-03 15:28:58 -08:00
test_c10d_spawn.py
test_c10d.py Add helper to aggregate multiple process groups (#25768) 2019-11-27 08:34:34 -08:00
test_cpp_api_parity.py Fix typos (#30606) 2019-12-02 20:17:42 -08:00
test_cpp_extensions.py TestCppExtension now removes /tmp/torch_extensions folder so that it can be used by other users in a multi-user environment. (#30095) 2019-12-03 07:44:27 -08:00
test_cuda_primary_ctx.py
test_cuda.py windows build (#30556) 2019-12-02 14:54:22 -08:00
test_data_parallel.py Split out data_parallel tests from test_nn.py into a separate (#28297) 2019-10-18 17:48:40 -07:00
test_dataloader.py Force early initialization of OpenMP in forked children (#29006) 2019-12-03 15:23:31 -08:00
test_dist_autograd_spawn.py Enable EXE001 flake8 check. (#27560) 2019-10-09 09:15:29 -07:00
test_dist_optimizer_spawn.py Simple distributed optimizer (#29304) 2019-11-11 12:02:24 -08:00
test_distributed.py SyncBatchNorm Update on input dimension checks (#29626) 2019-11-18 16:09:51 -08:00
test_distributions.py Revert D18249048: Moved VonMises distribution with sampling upstream from Pyro. 2019-11-04 09:50:50 -08:00
test_docs_coverage.py Fix test_docs_coverage. 2019-10-15 12:20:13 -07:00
test_expecttest.py
test_fake_quant.py Temporarily disable test_numerical_consistency_per_tensor (#30600) 2019-12-02 06:57:14 -08:00
test_function_schema.py Add isBackwardCompatibleWith for Argument and FunctionSchema (#23409) 2019-09-13 20:37:14 -07:00
test_indexing.py Buffer python warning to avoid deadlocks 2019-11-07 08:35:06 -08:00
test_jit_disabled.py
test_jit_fuser_legacy.py switching to a simple/full executor 2019-11-11 13:41:35 -08:00
test_jit_fuser.py switching to a simple/full executor 2019-11-11 13:41:35 -08:00
test_jit_legacy.py switching to a simple/full executor 2019-11-11 13:41:35 -08:00
test_jit_py3.py split module interface tests (#29917) 2019-11-15 19:09:36 -08:00
test_jit_simple.py switching to a simple/full executor 2019-11-11 13:41:35 -08:00
test_jit_string.py
test_jit.py Supporting making submodules unique (#30037) 2019-12-04 19:26:56 -08:00
test_logging.py
test_mkldnn.py
test_multiprocessing_spawn.py Add torch.multiprocessing.create_processes 2019-12-03 10:38:19 -08:00
test_multiprocessing.py Disable tsan for test_multiprocessing. (#27410) 2019-10-07 11:29:04 -07:00
test_namedtensor.py Add logical_and and logical_or (#30521) 2019-12-03 18:24:54 -08:00
test_namedtuple_return_api.py Migrate return type void to () for native functions. (#28290) 2019-10-22 15:23:20 -07:00
test_nccl.py
test_nn.py Added check for torch.where on CPU that both arguments have same dtype (#30662) 2019-12-03 15:19:52 -08:00
test_numba_integration.py
test_optim.py Add multiplicative lr. (#27254) 2019-10-23 11:38:45 -07:00
test_overrides.py Add the __torch_function__ API override mechanism (#30730) 2019-12-04 13:19:07 -08:00
test_qat.py Refactoing names for consistency 2019-10-16 12:18:26 -07:00
test_quantization.py Fix typos (#30606) 2019-12-02 20:17:42 -08:00
test_quantized_models.py Refactoing names for consistency 2019-10-16 12:18:26 -07:00
test_quantized_nn_mods.py Fix BC for quantized linear 2019-11-26 17:38:09 -08:00
test_quantized_tensor.py Skip copy_same_type_transpose_ for quantized tensor (#29609) 2019-11-12 13:16:38 -08:00
test_quantized.py Fix typos (#30606) 2019-12-02 20:17:42 -08:00
test_rpc_spawn.py Enable EXE001 flake8 check. (#27560) 2019-10-09 09:15:29 -07:00
test_sparse.py detect_anomaly() for SparseTensors (#29803) 2019-12-03 15:42:51 -08:00
test_tensorboard.py fixing test_tensorboard for py2 (#30298) 2019-11-22 01:02:07 -08:00
test_throughput_benchmark.py
test_torch.py Turn off scalar_checks for SpatialDepthwiseConvolution and SpatialConvolutionMM. (#30789) 2019-12-05 08:07:31 -08:00
test_type_hints.py Documentation for named tensors (#27173) 2019-10-08 22:22:30 -07:00
test_type_info.py
test_type_promotion.py Makes test_type_promotion generic (#29417) 2019-11-15 09:54:07 -08:00
test_utils.py Fully deprecate variadic inputs of checkpoint_sequential (#25985) 2019-12-05 09:23:28 -08:00