pytorch/test
Supriya Rao 25177e2796 [quant] Support empty batch input for quantized ops (#38508)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/38508

Test Plan:
python test/test_quantization.py TestQuantizedOps.test_empty_batch

Imported from OSS

Differential Revision: D21581937

fbshipit-source-id: e50580dec0682848a0703f7bdee6e9351ab79814
2020-05-14 18:42:50 -07:00
..
backward_compatibility Use Future's then() API to fix RPC profiling (#38352) 2020-05-14 12:52:45 -07:00
bottleneck_test
cpp [torchbind] Better error message when missing init. (#37474) 2020-05-13 17:38:31 -07:00
cpp_api_parity
cpp_extensions allow user passing relative paths in include_dirs within setuptools.setup (#38264) 2020-05-13 20:00:12 -07:00
custom_operator Support c10::optional<Tensor> in custom C++ autograd function. (#37700) 2020-05-06 01:59:51 -07:00
distributed Support rpc_async call with timeout in JIT (#37884) 2020-05-14 12:44:26 -07:00
error_messages
expect Clean up error handling in is_nonzero and where in TensorCompare.cpp (#38150) 2020-05-13 20:19:40 -07:00
jit skip torchbind on rocm (#38501) 2020-05-14 12:58:27 -07:00
mobile Warn against callOp (#37797) 2020-05-11 19:21:50 -07:00
onnx [JIT] make torch.unique compilable (#38156) 2020-05-12 18:37:53 -07:00
optim
quantization [quant] Support empty batch input for quantized ops (#38508) 2020-05-14 18:42:50 -07:00
scripts
type_hint_tests Fix multiple issues with type annotations (#36358) 2020-04-29 11:16:39 -07:00
HowToWriteTestsUsingFileCheck.md
print_test_stats.py Report test stats (#37803) 2020-05-06 22:26:07 -07:00
run_test.py Add option to run python unittests in parallel (#37180) 2020-05-06 22:14:11 -07:00
simulate_nccl_errors.py
te_utils.py
test_autograd.py Added autograd tests, disabled jit autograd tests for complex and added a separate list for tests for complex dtype only (#38399) 2020-05-13 16:41:09 -07:00
test_bundled_inputs.py
test_complex.py Replacing assertEqual with assertEqualIgnoreType wherever types missmatch (#38102) 2020-05-09 14:48:55 -07:00
test_cpp_api_parity.py
test_cpp_extensions_aot.py Fix lint (#37922) 2020-05-06 09:29:34 -07:00
test_cpp_extensions_jit.py Don't use NonVariableTypeMode in custom ops (#37355) 2020-04-28 20:11:31 -07:00
test_cuda.py Allow GradScaler to be pickled (#38296) 2020-05-14 09:14:28 -07:00
test_cuda_primary_ctx.py
test_dataloader.py Relax sampler check in BatchSampler (#38403) 2020-05-13 22:24:29 -07:00
test_determination.py Stopgap fix to determine_target predicate (#37934) 2020-05-06 14:05:14 -07:00
test_dispatch.py
test_distributions.py Replacing assertEqual with assertEqualIgnoreType wherever types missmatch (#38102) 2020-05-09 14:48:55 -07:00
test_docs_coverage.py Back out "Revert D20229168: [quantization] Use torchbind for Linear PackedParams" (#38101) 2020-05-08 10:53:06 -07:00
test_expecttest.py
test_function_schema.py
test_indexing.py Replacing assertEqual with assertEqualIgnoreType wherever types missmatch (#38102) 2020-05-09 14:48:55 -07:00
test_jit.py Support having a different forward method when we are not in scripting mode (#38158) 2020-05-14 12:13:06 -07:00
test_jit_cuda_fuser.py [CUDA_FUSER] Expand operation support for cuda fuser (#37849) 2020-05-07 09:21:09 -07:00
test_jit_disabled.py
test_jit_fuser.py [JIT] rename enable_profiling_mode to enable_profiling_mode_for_profiling_tests (#37825) 2020-05-06 11:30:02 -07:00
test_jit_fuser_legacy.py
test_jit_fuser_profiling.py run the simple executor for jit tests by default, add profiling jobs … (#37017) 2020-04-28 19:16:52 -07:00
test_jit_fuser_te.py Replacing assertEqual with assertEqualIgnoreType wherever types missmatch (#38102) 2020-05-09 14:48:55 -07:00
test_jit_legacy.py
test_jit_profiling.py run the simple executor for jit tests by default, add profiling jobs … (#37017) 2020-04-28 19:16:52 -07:00
test_jit_py3.py
test_jit_simple.py make test_jit infer the profiling mode, add a job for simple executor (#38374) 2020-05-13 23:55:40 -07:00
test_jit_string.py
test_logging.py
test_mkldnn.py
test_mobile_optimizer.py Propagate module lints for mobile scripted module. (#37046) 2020-04-27 10:20:12 -07:00
test_multiprocessing.py Replacing assertEqual with assertEqualIgnoreType wherever types missmatch (#38102) 2020-05-09 14:48:55 -07:00
test_multiprocessing_spawn.py
test_namedtensor.py Remove a use of exec (#35624) 2020-05-14 10:08:04 -07:00
test_namedtuple_return_api.py
test_nn.py Remove _compatible_subtest (#35620) 2020-05-14 10:07:48 -07:00
test_numba_integration.py
test_optim.py Add SWA to PyTorch mainline (#35032) 2020-04-27 07:42:19 -07:00
test_overrides.py
test_quantization.py [wip] Make quantization modules work with DataParallel (#37032) 2020-05-05 13:06:43 -07:00
test_serialization.py
test_show_pickle.py
test_sparse.py Sparse softmax support (CPU) (#36305) 2020-05-14 08:08:40 -07:00
test_tensorboard.py [tensorboard] Let hparam render values correctly (#31544) 2020-05-08 00:05:16 -07:00
test_tensorexpr.py [TensorExpr] Distinguish aten::max reduction op from aten::max elementwise op and only fuse the latter. (#38171) 2020-05-11 17:45:59 -07:00
test_throughput_benchmark.py
test_torch.py Allow GradScaler to be pickled (#38296) 2020-05-14 09:14:28 -07:00
test_type_hints.py Add --check-untyped-defs to mypy.ini and test suite (#37594) 2020-05-07 06:36:01 -07:00
test_type_info.py
test_type_promotion.py Replacing assertEqual with assertEqualIgnoreType wherever types missmatch (#38102) 2020-05-09 14:48:55 -07:00
test_utils.py Add option to skip tests after retries (#38079) 2020-05-07 21:56:29 -07:00
test_xnnpack_integration.py Add preprocessing that fuses decomposed linear into linear. (#37937) 2020-05-07 18:08:36 -07:00