pytorch/test
davidriazati 6e13a7787b [jit] Fix type comparisons segfault (#35929)
Summary:
Pybind will convert `None`s to `nullptr`s, so this adds a check to make
sure those don't get into the actual type comparison logic. Fixes #35778
](https://our.intern.facebook.com/intern/diff/20831278/)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/35929

Pulled By: driazati

Differential Revision: D20831278

fbshipit-source-id: 5800050e5eec280072afde58141ad00c1e8db8e2
2020-04-03 11:33:48 -07:00
..
backward_compatibility [quant][graphmode] Add quantize_per_tensor.tensors (#35916) 2020-04-03 10:42:59 -07:00
bottleneck_test
cpp [pytorch] Fix fblearner flow compiling errors (#35902) 2020-04-02 14:52:48 -07:00
cpp_api_parity Refactor C++ API parity test mechanism and turn it on in CI again (#35190) 2020-04-03 11:20:36 -07:00
cpp_extensions add c10d dynamic loading mechanism and unit test (#28068) 2020-04-02 15:46:51 -07:00
custom_operator [reapply][JIT] Namespaces for TorchBind (#35254) 2020-03-24 00:39:48 -07:00
distributed add c10d dynamic loading mechanism and unit test (#28068) 2020-04-02 15:46:51 -07:00
error_messages
expect
jit [jit] Fix name collision on load (#35720) 2020-04-01 00:02:38 -07:00
mobile Revert D20775783: Add DispatchKey impl overload; remove use of torch::dispatch 2020-04-02 10:51:50 -07:00
onnx [ONNX] Fix for constant folding: Slice, Added ReduceL1 and ReduceL2 (#35280) 2020-04-01 04:47:47 -07:00
optim
quantization [quant][graphmode] Insert Observers for dynamic LSTM (#35894) 2020-04-03 10:42:54 -07:00
scripts
type_hint_tests Support for Tensor Shape Type Hint (#34595) 2020-03-13 15:16:24 -07:00
HowToWriteTestsUsingFileCheck.md
run_test.py Refactor C++ API parity test mechanism and turn it on in CI again (#35190) 2020-04-03 11:20:36 -07:00
simulate_nccl_errors.py
te_utils.py add test_tensorexpr.py (#35776) 2020-04-01 22:05:37 -07:00
test_autograd.py Make test_leaky_relu_inplace_with_neg_slope device-generic and skipIfRocm. (#35816) 2020-04-01 17:02:04 -07:00
test_complex.py test_complex inherits from common_utils.TestCase; closes #34648 (#34697) 2020-03-23 10:49:30 -07:00
test_cpp_api_parity.py Refactor C++ API parity test mechanism and turn it on in CI again (#35190) 2020-04-03 11:20:36 -07:00
test_cpp_extensions_aot.py Skip ROCm test in test/test_cpp_extensions_aot.py (#35838) 2020-04-02 08:28:46 -07:00
test_cpp_extensions_jit.py [RELAND] New operator registration API (#35061) (#35629) 2020-03-29 19:48:29 -07:00
test_cuda.py [RELAND2] Eager autocasting, out-of-place ops only (with MSVC 2017 fix) (#35102) 2020-03-24 09:08:04 -07:00
test_cuda_primary_ctx.py
test_dataloader.py feature: deterministic random_split (#34043) 2020-03-26 08:02:39 -07:00
test_determination.py add c10d dynamic loading mechanism and unit test (#28068) 2020-04-02 15:46:51 -07:00
test_dispatch.py Revert D20775783: Add DispatchKey impl overload; remove use of torch::dispatch 2020-04-02 10:51:50 -07:00
test_distributions.py Continuous bernoulli distribution (take 2) (#34619) 2020-03-12 11:53:18 -07:00
test_docs_coverage.py [doc] Add grad context manager doc to toplevel torch module. (#33877) 2020-03-02 06:32:36 -08:00
test_expecttest.py
test_function_schema.py
test_indexing.py indexing: throw exception for masks with dtype=uint8 (#34418) 2020-03-31 20:51:56 -07:00
test_jit.py [jit] Fix type comparisons segfault (#35929) 2020-04-03 11:33:48 -07:00
test_jit_cuda_fuser.py Infrastructure for a new CUDA Fuser (#34785) 2020-04-02 09:22:42 -07:00
test_jit_disabled.py
test_jit_fuser.py add a cuda/fuser job for legacy graph executor (#35419) 2020-03-28 12:11:18 -07:00
test_jit_fuser_legacy.py
test_jit_fuser_te.py Infrastructure for a new CUDA Fuser (#34785) 2020-04-02 09:22:42 -07:00
test_jit_legacy.py
test_jit_py3.py [jit] Fix named tuple resolution (#35409) 2020-03-27 17:07:26 -07:00
test_jit_simple.py
test_jit_string.py
test_logging.py
test_mkldnn.py Upgrade MKL-DNN to DNNL v1.2 (#32422) 2020-03-26 22:07:59 -07:00
test_multiprocessing.py Better handing of Autograd+Fork errors. (#33885) 2020-02-27 16:07:29 -08:00
test_multiprocessing_spawn.py
test_namedtensor.py Adds true_divide function, analogous to Python 's, JAX's, NumPy's (true) division (#34236) 2020-03-09 21:06:33 -07:00
test_namedtuple_return_api.py
test_nn.py Fix grid_sample out of boundary when grid contains large numbers (#35506) 2020-04-01 14:38:30 -07:00
test_numba_integration.py
test_optim.py Turn on exact_dtype by default on test_optim.py (#34825) 2020-03-17 14:41:13 -07:00
test_overrides.py Add types argument to __torch_function__ (#34303) 2020-03-17 13:32:00 -07:00
test_serialization.py Avoid problematic pickle usages on Python 3.8.0 and 3.8.1 (#33824) 2020-02-26 21:15:38 -08:00
test_sparse.py add mv operator to SparseTensor (#21782) 2020-04-01 12:21:50 -07:00
test_tensorboard.py
test_tensorexpr.py add test_tensorexpr.py (#35776) 2020-04-01 22:05:37 -07:00
test_throughput_benchmark.py
test_torch.py lshift and rshift on CUDA should match the behavior on CPU (#35339) 2020-04-03 10:08:03 -07:00
test_type_hints.py Support for Tensor Shape Type Hint (#34595) 2020-03-13 15:16:24 -07:00
test_type_info.py
test_type_promotion.py copy_ fixed on cuda so removing the workaround in test_many_promotions (#35528) 2020-03-27 09:39:46 -07:00
test_utils.py Add retry decorator and use it for Hub tests. (#34829) 2020-03-16 20:19:45 -07:00
test_xnnpack_integration.py Avoid one unnecessary memory allocation in XNNPACK integration. (#35350) 2020-04-02 21:33:30 -07:00