pytorch/test
Edward Z. Yang 027ebca4d7 Don't use guardless contiguity/stride-like implementations (#95733)
These prevent us from simplifying tests involving unbacked SymInts,
and then you end up with unbacked SymInt in guards, which is bad.

Signed-off-by: Edward Z. Yang <ezyang@meta.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/95733
Approved by: https://github.com/tugsbayasgalan
2023-03-03 21:56:41 +00:00
..
_nvfuser adding symbolic link to get CI to run tests where cmake is not run on CI node (#95402) 2023-03-01 19:01:18 +00:00
ao/sparsity [BE] Apply almost all remaining flake8-comprehension checks (#94676) 2023-02-12 01:01:25 +00:00
autograd [autograd] disable backward/grad for complex scalar output (#92753) 2023-02-23 11:38:27 +00:00
backends/xeon [BE] Prefer dash over underscore in command-line options (#94505) 2023-02-09 20:16:49 +00:00
benchmark_utils
bottleneck_test [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
cpp [autograd] disable backward/grad for complex scalar output (#92753) 2023-02-23 11:38:27 +00:00
cpp_api_parity [autograd] disable backward/grad for complex scalar output (#92753) 2023-02-23 11:38:27 +00:00
cpp_extensions Revert "update aten op overload to not use from to avoid compile errors (#89797)" 2023-02-10 11:32:25 +00:00
custom_backend [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
custom_operator [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
distributed [DTensor][Shampoo] add _tenso.zero function (#95863) 2023-03-03 19:36:44 +00:00
distributions Run tests in USE_PYTEST_LIST through run_tests (#95659) 2023-02-28 22:09:01 +00:00
dynamo [dynamo] Fix OrderedDict reconstruction bytecode (#95800) 2023-03-01 23:39:09 +00:00
edge [executorch] Add RuntimeContext to generated C++ API Signature (#94570) 2023-02-16 02:43:18 +00:00
error_messages
expect Inductor reduce_scatter_tensor (#95764) 2023-03-02 22:05:30 +00:00
export Add experimental torch.export prototype (#95070) 2023-02-28 02:40:19 +00:00
forward_backward_compatibility [MPS] Move max_pool2d to mps dispatch key (#90772) 2023-02-16 01:13:08 +00:00
functorch Avoid copies in matmul (#76828) 2023-02-27 15:24:59 +00:00
fx Assume sympy is always installed (#94903) 2023-02-16 14:09:58 +00:00
inductor [inductor] do not use ceil in arange ref (#95773) 2023-03-03 20:38:18 +00:00
jit [inductor] Improve error messages (#95567) 2023-03-02 02:20:55 +00:00
jit_hooks
lazy [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
mobile [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
nn [autograd] disable backward/grad for complex scalar output (#92753) 2023-02-23 11:38:27 +00:00
onnx Bump version 2.0.0 -> 2.1.0 (#95790) 2023-03-02 00:38:46 +00:00
onnx_caffe2 [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
package [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
profiler Jetson Update for CI Redo (#94549) 2023-02-21 17:13:38 +00:00
quantization [Quant][PT2.0] fix issues for rearranging weight observer for decomposed linear (#94296) 2023-03-03 15:54:11 +00:00
scripts
test_img
typing
allowlist_for_publicAPI.json temp fix for segment reduce undocumented FC window (#94242) 2023-02-07 18:27:01 +00:00
conftest.py Run more tests through pytest (#95844) 2023-03-03 17:32:26 +00:00
create_dummy_torchscript_model.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
delete.py
HowToWriteTestsUsingFileCheck.md
linear.py
load_torchscript_model.py
mkl_verbose.py
mkldnn_verbose.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
run_doctests.sh
run_test.py Run _nvfuser/test_torchscript serially (#95951) 2023-03-03 17:41:09 +00:00
simulate_nccl_errors.py
test_ao_sparsity.py
test_autocast.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_autograd.py Implement sparse semantics support in gradcheck (2nd try) (#95405) 2023-02-27 17:48:02 +00:00
test_binary_ufuncs.py Logaddexp for complex in CPU (#95717) 2023-03-01 20:37:46 +00:00
test_bundled_images.py
test_bundled_inputs.py [BE] Apply almost all remaining flake8-comprehension checks (#94676) 2023-02-12 01:01:25 +00:00
test_comparison_utils.py
test_complex.py
test_cpp_api_parity.py
test_cpp_extensions_aot.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_cpp_extensions_jit.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_cpp_extensions_open_device_registration.py
test_cuda.py memory viz: Add colors for categories and a legend (#90587) 2023-03-03 20:42:22 +00:00
test_cuda_nvml_based_avail.py Jetson Update for CI Redo (#94549) 2023-02-21 17:13:38 +00:00
test_cuda_primary_ctx.py
test_cuda_sanitizer.py
test_cuda_trace.py
test_dataloader.py Jetson Update for CI Redo (#94549) 2023-02-21 17:13:38 +00:00
test_datapipe.py Fix: validate_input_col for partial functions (#95067) 2023-03-03 21:05:07 +00:00
test_decomp.py Add meta function for _upsample_bilinear2d_aa (#94982) 2023-02-19 07:11:20 +00:00
test_deploy.py
test_determination.py [BE]: pyupgrade Python to 3.8 - imports and object inheritance only (#94308) 2023-02-07 21:10:56 +00:00
test_dispatch.py
test_dlpack.py Jetson Update for CI Redo (#94549) 2023-02-21 17:13:38 +00:00
test_dynamic_shapes.py Automatically guard when SymInt is converted to int (#95479) 2023-02-25 19:41:51 +00:00
test_expanded_weights.py [decompositions] GRU decompositon with and without packed sequence (#91466) 2023-02-08 14:16:30 +00:00
test_fake_tensor.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_flop_counter.py Add flop counter utility (#95751) 2023-03-02 23:19:49 +00:00
test_foreach.py [foreach] bump tensor's version and define backward via torchgen (as possible) (#93901) 2023-02-20 23:18:07 +00:00
test_function_schema.py
test_functional_autograd_benchmark.py
test_functional_optim.py [BE]: pyupgrade Python to 3.8 - imports and object inheritance only (#94308) 2023-02-07 21:10:56 +00:00
test_functionalization.py avoid extra copies in batchnorm inference by introducing a new op, _native_batch_norm_legit_no_training (#94946) 2023-02-16 11:41:20 +00:00
test_futures.py
test_fx.py Make fx.Transformer.get_attr call tracer to preserve node.meta (#95245) 2023-02-22 22:33:37 +00:00
test_fx_experimental.py Add meta function for _upsample_bilinear2d_aa (#94982) 2023-02-19 07:11:20 +00:00
test_fx_passes.py
test_fx_reinplace_pass.py
test_hub.py
test_import_stats.py
test_indexing.py Don't truncate leading 1s if they are unbacked (#95141) 2023-02-21 00:22:24 +00:00
test_itt.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_jit.py Add dimension check in tensordot (#94497) 2023-03-02 05:45:11 +00:00
test_jit_autocast.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_jit_cuda_fuser.py adding symbolic link to get CI to run tests where cmake is not run on CI node (#95402) 2023-03-01 19:01:18 +00:00
test_jit_disabled.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_jit_fuser.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_jit_fuser_legacy.py [BE] Prefer dash over underscore in command-line options (#94505) 2023-02-09 20:16:49 +00:00
test_jit_fuser_te.py PT2/TorchScript interoperability fix (#94678) 2023-02-15 01:21:10 +00:00
test_jit_legacy.py [BE] Prefer dash over underscore in command-line options (#94505) 2023-02-09 20:16:49 +00:00
test_jit_llga_fuser.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_jit_profiling.py [BE] Prefer dash over underscore in command-line options (#94505) 2023-02-09 20:16:49 +00:00
test_jit_simple.py [BE] Prefer dash over underscore in command-line options (#94505) 2023-02-09 20:16:49 +00:00
test_jit_string.py
test_jiterator.py
test_kernel_launch_checks.py
test_legacy_vmap.py Remove deprecated torch.symeig (#70988) 2023-01-31 11:59:11 +00:00
test_license.py
test_linalg.py Add _int_mm to expose cuBLAS int8@int8 -> int32 matmul (#94339) 2023-02-27 20:27:25 +00:00
test_logging.py
test_masked.py
test_maskedtensor.py
test_matmul_cuda.py Jetson Update for CI Redo (#94549) 2023-02-21 17:13:38 +00:00
test_meta.py Fixes for PyTorch/XLA functionalization integration (#94537) 2023-03-02 23:02:34 +00:00
test_metal.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_mkl_verbose.py
test_mkldnn.py Optimize ConvTransposed2D with mkldnn float32 and bfloat16 on CPU (#92530) 2023-02-06 10:11:25 +00:00
test_mkldnn_fusion.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_mkldnn_verbose.py
test_mobile_optimizer.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_model_dump.py [BE] Modernize PyTorch even more for 3.8 with pyupgrade (#94520) 2023-02-10 18:02:50 +00:00
test_module_init.py AO migration: replace torch internal callsites (#94170) 2023-02-07 02:32:23 +00:00
test_modules.py [BE] Apply almost all remaining flake8-comprehension checks (#94676) 2023-02-12 01:01:25 +00:00
test_monitor.py
test_mps.py [MPS] Disallow reshape in slice (#95905) 2023-03-03 08:08:34 +00:00
test_multiprocessing.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_multiprocessing_spawn.py [BE]: pyupgrade Python to 3.8 - imports and object inheritance only (#94308) 2023-02-07 21:10:56 +00:00
test_namedtensor.py
test_namedtuple_return_api.py [BE] Enable more flake8-comprehensions checks (#94601) 2023-02-10 23:40:29 +00:00
test_native_functions.py
test_native_mha.py
test_nestedtensor.py Small bugfix in nested matmul bmm path head_dim acquisition (#95744) 2023-03-01 03:27:08 +00:00
test_nn.py Jetson Update for CI Redo (#94549) 2023-02-21 17:13:38 +00:00
test_nnapi.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_numba_integration.py
test_numpy_interop.py
test_nvfuser_dynamo.py adding symbolic link to get CI to run tests where cmake is not run on CI node (#95402) 2023-03-01 19:01:18 +00:00
test_nvfuser_frontend.py adding symbolic link to get CI to run tests where cmake is not run on CI node (#95402) 2023-03-01 19:01:18 +00:00
test_openmp.py
test_ops.py Add support for nonzero, some improvements to reduce guards (#95387) 2023-02-24 00:27:45 +00:00
test_ops_fwd_gradients.py
test_ops_gradients.py
test_ops_jit.py
test_optim.py [optim] Widen the cases for defaulting to foreach (#95820) 2023-03-02 04:15:33 +00:00
test_overrides.py [BE]: pyupgrade Python to 3.8 - imports and object inheritance only (#94308) 2023-02-07 21:10:56 +00:00
test_package.py
test_per_overload_api.py
test_prims.py [primTorch] Redefine prim.collapse{,_view} end point to be inclusive (#92017) 2023-02-21 20:36:50 +00:00
test_proxy_tensor.py Don't use guardless contiguity/stride-like implementations (#95733) 2023-03-03 21:56:41 +00:00
test_pruning_op.py
test_public_bindings.py Jetson Update for CI Redo (#94549) 2023-02-21 17:13:38 +00:00
test_python_dispatch.py Support registering op returning symint in python (#95240) 2023-02-22 04:56:37 +00:00
test_pytree.py
test_quantization.py Revert "Add various uninterpreted bit tensor data types (#94992)" 2023-02-23 23:54:23 +00:00
test_reductions.py [Fix] Inbound check of sorter indices in searchsorted (#95109) 2023-02-20 04:59:11 +00:00
test_scatter_gather_ops.py
test_schema_check.py
test_segment_reductions.py Make segment_reduce properly private. (#93166) 2023-02-06 18:32:23 +00:00
test_serialization.py Add float to list of allowed ops (#94910) 2023-02-15 23:13:21 +00:00
test_set_default_mobile_cpu_allocator.py
test_shape_ops.py Jetson Update for CI Redo (#94549) 2023-02-21 17:13:38 +00:00
test_show_pickle.py
test_sort_and_select.py Enable half type support for unique cpu (#91666) 2023-02-16 04:59:35 +00:00
test_sparse.py Expand sparse.softmax zero nnz tests to cover cases of previously reported FPE. (#95646) 2023-03-01 17:26:51 +00:00
test_sparse_csr.py Triton kernel for bsr @ dense (#94823) 2023-03-03 15:11:28 +00:00
test_spectral_ops.py
test_stateless.py [functorch][nn] Refactor NN stateless APIs by swapping module tensors (#92536) 2023-02-08 17:31:38 +00:00
test_static_runtime.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_subclass.py
test_sympy_utils.py Fix convit_base (#95174) 2023-02-21 14:07:59 +00:00
test_tensor_creation_ops.py Jetson Update for CI Redo (#94549) 2023-02-21 17:13:38 +00:00
test_tensorboard.py fix numpy1.24 deprecations in unittests (#93997) 2023-02-18 00:59:09 +00:00
test_tensorexpr.py PT2/TorchScript interoperability fix (#94678) 2023-02-15 01:21:10 +00:00
test_tensorexpr_pybind.py
test_testing.py Jetson Update for CI Redo (#94549) 2023-02-21 17:13:38 +00:00
test_throughput_benchmark.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_torch.py Jetson Update for CI Redo (#94549) 2023-02-21 17:13:38 +00:00
test_transformers.py [sdpa] Add broadcasting for batch and num_heads dimensions to fused kernel nested preproc (#95657) 2023-03-02 03:44:55 +00:00
test_type_hints.py
test_type_info.py
test_type_promotion.py
test_typing.py Run tests in USE_PYTEST_LIST through run_tests (#95659) 2023-02-28 22:09:01 +00:00
test_unary_ufuncs.py [BE] Remove dependency on six and future (#94709) 2023-02-14 09:14:14 +00:00
test_utils.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_view_ops.py
test_vulkan.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
test_weak.py [BE]: pyupgrade Python to 3.8 - imports and object inheritance only (#94308) 2023-02-07 21:10:56 +00:00
test_xnnpack_integration.py [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00