pytorch/test
Meghan Lele e2a291b396 [JIT] Add out-of-source-tree to_backend tests (#40842)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/40842

**Summary**
This commit adds out-of-source-tree tests for `to_backend`. These tests check
that a Module can be lowered to a backend, exported, loaded (in both
Python and C++) and executed.

**Fixes**
This commit fixes #40067.

Test Plan: Imported from OSS

Differential Revision: D22418731

Pulled By: SplitInfinity

fbshipit-source-id: 621ba4efc1b121fa76c9c7ca377792ac7440d250
2020-07-07 21:00:43 -07:00
..
backward_compatibility add "aten::add.str" op and remove two duplicated ops 2020-07-07 19:07:35 -07:00
bottleneck_test
cpp [JIT] Add out-of-source-tree to_backend tests (#40842) 2020-07-07 21:00:43 -07:00
cpp_api_parity
cpp_extensions Port /test/cpp_extensions/rng_extension.cpp to new operator registration API (#39459) 2020-06-26 16:12:54 -07:00
custom_backend [JIT] Add out-of-source-tree to_backend tests (#40842) 2020-07-07 21:00:43 -07:00
custom_operator Unify boxed function signature between jit and c10 (#37034) 2020-06-29 19:24:26 -07:00
distributed Add bfloat16 support for nccl path (#38515) 2020-07-07 18:07:06 -07:00
error_messages
expect Revert D22227939: [TB] Add support for hparam domain_discrete 2020-06-27 22:20:31 -07:00
jit [JIT] Add support for backend-lowered submodules (#40841) 2020-07-07 21:00:40 -07:00
mobile check for unsupported instructions when exporting mobile models (#40791) 2020-07-02 16:24:11 -07:00
onnx ONNX: support view_as operator (#40496) 2020-07-06 20:38:46 -07:00
optim
quantization [quant][graphmode][fix] Fold conv bn (#40865) 2020-07-03 00:01:04 -07:00
scripts
test_img [PyTorch Operator] [2/n] Adding python test 2020-06-25 18:36:44 -07:00
type_hint_tests
HowToWriteTestsUsingFileCheck.md
print_test_stats.py
run_test.py Add support for int[]? arguments in native_functions.yaml (#37174) 2020-07-07 13:52:20 -07:00
simulate_nccl_errors.py
te_utils.py
test_autograd.py Setter for real and imag tensor attributes (#39860) 2020-06-29 15:44:55 -07:00
test_bundled_images.py Fixes lint (#40606) 2020-06-25 21:53:00 -07:00
test_bundled_inputs.py Add a utility function for bundling large input tensors (#37055) 2020-06-26 13:34:02 -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
test_cpp_extensions_aot.py Port /test/cpp_extensions/rng_extension.cpp to new operator registration API (#39459) 2020-06-26 16:12:54 -07:00
test_cpp_extensions_jit.py [ROCm] restore jit tests (#40447) 2020-06-27 01:03:59 -07:00
test_cuda.py Add out= variants for cuda.comm.broadcast/gather/scatter (#39681) 2020-06-24 12:58:19 -07:00
test_cuda_primary_ctx.py
test_dataloader.py type annotations for dataloader, dataset, sampler (#39392) 2020-07-07 07:16:18 -07:00
test_determination.py
test_dispatch.py Precompute entries in dispatch tables (#40512) 2020-06-26 09:03:39 -07:00
test_distributions.py
test_expecttest.py
test_function_schema.py
test_futures.py
test_indexing.py
test_jit.py fix grad thrashing of shape analysis (#40939) 2020-07-06 17:12:13 -07:00
test_jit_cuda_fuser.py [nvFuser] Working towards reductions, codegen improvements (#40864) 2020-07-06 14:52:49 -07:00
test_jit_cuda_fuser_legacy.py [nvFuser] Working towards reductions, codegen improvements (#40864) 2020-07-06 14:52:49 -07:00
test_jit_cuda_fuser_profiling.py [nvFuser] Working towards reductions, codegen improvements (#40864) 2020-07-06 14:52:49 -07:00
test_jit_disabled.py
test_jit_fuser.py
test_jit_fuser_legacy.py
test_jit_fuser_te.py [ROCm] restore jit tests (#40447) 2020-06-27 01:03:59 -07:00
test_jit_legacy.py
test_jit_profiling.py
test_jit_py3.py
test_jit_simple.py
test_jit_string.py
test_logging.py
test_mkldnn.py enable mkldnn dilation conv (#40483) 2020-06-24 13:28:05 -07:00
test_mobile_optimizer.py Add option to preserve certain methods during optimize_for_mobile. (#40629) 2020-06-29 09:32:53 -07:00
test_multiprocessing.py
test_multiprocessing_spawn.py
test_namedtensor.py fix issue #31759 (allow valid ASCII python identifiers as dimnames) (#40871) 2020-07-02 11:35:54 -07:00
test_namedtuple_return_api.py
test_native_functions.py Add support for int[]? arguments in native_functions.yaml (#37174) 2020-07-07 13:52:20 -07:00
test_nn.py Fix module dict key ordering (#40905) 2020-07-06 06:40:48 -07:00
test_numba_integration.py
test_openmp.py
test_optim.py
test_overrides.py
test_profiler.py Adjust CUDA memory leak test (#40504) 2020-06-24 18:22:46 -07:00
test_quantization.py [PyPer][quant] Add quantized embedding operators to OSS. (#40076) 2020-06-25 12:01:49 -07:00
test_serialization.py Fix delegating to jit.load from torch.load (#40937) 2020-07-06 09:00:13 -07:00
test_show_pickle.py
test_sparse.py
test_tensorboard.py [TB] Add support for hparam domain_discrete (#40720) 2020-06-29 19:33:57 -07:00
test_tensorexpr.py
test_throughput_benchmark.py
test_torch.py Revert D22396896: [pytorch][PR] run single-threaded gradgradcheck in test_nn 2020-07-07 07:43:39 -07:00
test_type_hints.py Skip mypy on pynightly if numpy-1.20.0-dev0... is used (#40656) 2020-06-27 09:08:50 -07:00
test_type_info.py
test_type_promotion.py
test_utils.py
test_vmap.py Enable in_dims for vmap frontend api (#40717) 2020-07-06 19:14:43 -07:00
test_vulkan.py
test_xnnpack_integration.py