pytorch/test
Sergii Dymchenko 591222f5d9 Fix use-dict-literal lint (#83718)
Fix use-dict-literal pylint suggestions by changing `dict()` to `{}`. This PR should do the change for every Python file except test/jit/test_list_dict.py, where I think the intent is to test the constructor.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/83718
Approved by: https://github.com/albanD
2022-08-24 00:26:46 +00:00
..
ao/sparsity Revert "[quant][ao_migration] torch.nn.quantized.modulestorch.ao.nn.quantized.modules (#78713)" 2022-08-22 07:32:37 +00:00
autograd
backends/xeon A Launch script with Best Recipe of Deep Learning on Intel Xeon CPU (#63932) 2022-07-29 12:57:22 +00:00
benchmark_utils
bottleneck_test
cpp Don't introduce new overload for SymInt (#83628) 2022-08-23 22:04:07 +00:00
cpp_api_parity
cpp_extensions Don't introduce new overload for SymInt (#83628) 2022-08-23 22:04:07 +00:00
custom_backend
custom_operator
distributed Fix use-dict-literal lint (#83718) 2022-08-24 00:26:46 +00:00
distributions remove assertEqualIgnoreTypes from test/distributions/test_distributions.py (#83709) 2022-08-23 19:19:38 +00:00
error_messages
expect reland "add a reinplacing FX pass (#80897)" (#82407) 2022-08-02 18:03:29 +00:00
forward_backward_compatibility Fix use-dict-literal lint (#83718) 2022-08-24 00:26:46 +00:00
fx [fx][pass infra] Adding error catching (#83933) 2022-08-23 23:56:50 +00:00
jit [ROCm] unskip test_jit TestBackendsWithCompiler (#81281) 2022-08-19 00:31:32 +00:00
jit_hooks
lazy
mobile Fix use-dict-literal lint (#83718) 2022-08-24 00:26:46 +00:00
nn [nn] split rnn_utils test from test_nn.py (#83675) 2022-08-23 08:34:39 +00:00
onnx [ONNX] Add quantization support to more single output ops (#83008) 2022-08-23 00:39:24 +00:00
package
quantization Fix use-dict-literal lint (#83718) 2022-08-24 00:26:46 +00:00
scripts
test_img
typing
allowlist_for_publicAPI.json Revert "[quant][ao_migration] torch.nn.quantized.modulestorch.ao.nn.quantized.modules (#78713)" 2022-08-22 07:32:37 +00:00
conftest.py
create_dummy_torchscript_model.py
defs.bzl
delete.py
HowToWriteTestsUsingFileCheck.md
linear.py
load_torchscript_model.py
mkl_verbose.py [RFC] enable oneMKL&oneDNN on-demands verbose functinality (#63212) 2022-07-27 23:29:35 +00:00
mkldnn_verbose.py [RFC] enable oneMKL&oneDNN on-demands verbose functinality (#63212) 2022-07-27 23:29:35 +00:00
profiler_utils_mock_events.json
run_doctests.sh Integrate xdoctest - Rebased (#82797) 2022-08-12 02:08:01 +00:00
run_test.py More doctest refinements. (#83317) 2022-08-22 20:07:26 +00:00
simulate_nccl_errors.py
test_ao_sparsity.py [ao][sparsity] Data Sparsity with Post Training Quantization (#82759) 2022-08-10 16:51:35 +00:00
test_autocast.py
test_autograd.py Fix use-dict-literal lint (#83718) 2022-08-24 00:26:46 +00:00
test_binary_ufuncs.py Fix and improve the efficiency of the backward of xlog* functions. (#82713) 2022-08-18 21:55:42 +00:00
test_bundled_images.py
test_bundled_inputs.py
test_complex.py
test_cpp_api_parity.py Make M1 tests green (#82213) 2022-08-05 16:12:08 +00:00
test_cpp_extensions_aot.py
test_cpp_extensions_jit.py Make M1 tests green (#82213) 2022-08-05 16:12:08 +00:00
test_cpp_extensions_open_device_registration.py Make M1 tests green (#82213) 2022-08-05 16:12:08 +00:00
test_cuda.py [ROCm] Fixes the kernel asserts API declaration mismatch error (#81790) 2022-08-16 19:22:31 +00:00
test_cuda_primary_ctx.py
test_cuda_trace.py CUDA trace Python hooks (#82824) 2022-08-11 10:21:40 +00:00
test_dataloader.py Fix and unskip dataloader tests on ARM (#83125) 2022-08-12 19:21:59 +00:00
test_datapipe.py [DataPipe] Correct the type of exception that is being raised by ShufflerMapDataPipe (#82666) 2022-08-03 19:05:17 +00:00
test_decomp.py Don't introduce new overload for SymInt (#83628) 2022-08-23 22:04:07 +00:00
test_deploy.py
test_determination.py
test_dispatch.py Fix and unskip cpp extension tests for ARM (#83115) 2022-08-11 20:01:53 +00:00
test_dlpack.py Normalize DLPack stride to 1 where shape < 2 (#83158) 2022-08-23 15:03:29 +00:00
test_dynamic_shapes.py Don't introduce new overload for SymInt (#83628) 2022-08-23 22:04:07 +00:00
test_expanded_weights.py [Expanded Weights] add 'same' and 'valid' padding support (#83345) 2022-08-16 22:39:08 +00:00
test_fake_tensor.py lift numpy tensor, add randperm support (#83191) 2022-08-10 22:27:51 +00:00
test_foreach.py [foreach][mta] Inplace maximum and minimum (#82523) 2022-08-03 03:40:42 +00:00
test_function_schema.py
test_functional_autograd_benchmark.py
test_functional_optim.py
test_functionalization.py reinplacing pass fixes for torchbench + huggingface (#83626) 2022-08-19 23:30:45 +00:00
test_futures.py
test_fx.py Change the input of mvit_v2_s on the FX test (#83242) 2022-08-11 15:27:38 +00:00
test_fx_backends.py
test_fx_experimental.py
test_fx_passes.py Back out "Support regex-style matching for Any and Oneof (#82853)" (#83922) 2022-08-24 00:17:46 +00:00
test_fx_reinplace_pass.py reinplace pass: special handling for view_scatter ops (#83846) 2022-08-23 17:13:58 +00:00
test_hub.py
test_import_stats.py
test_indexing.py
test_jit.py [JIT] Add SchemaCheckMode OpInfo test (#82442) 2022-08-09 23:13:43 +00:00
test_jit_autocast.py [JIT] Retry - Support scripting torch.is_autocast_enabled() (#82394) 2022-08-10 18:26:17 +00:00
test_jit_cuda_fuser.py Limits constant chunk propagation for pw-node-only (#83083) 2022-08-11 15:45:05 +00:00
test_jit_disabled.py
test_jit_fuser.py
test_jit_fuser_legacy.py
test_jit_fuser_te.py Supports symbolic diff for silu (#81724) 2022-08-09 01:18:10 +00:00
test_jit_legacy.py
test_jit_llga_fuser.py
test_jit_profiling.py
test_jit_simple.py
test_jit_string.py
test_jiterator.py [ROCm] enable jiterator (#77982) 2022-08-15 16:04:09 +00:00
test_kernel_launch_checks.py
test_license.py
test_linalg.py Revert "Strenghten preconditions of linalg.cross (#83798)" 2022-08-23 19:36:43 +00:00
test_logging.py
test_masked.py
test_maskedtensor.py [maskedtensor] adding unary and binary operations (#82837) 2022-08-22 21:00:38 +00:00
test_meta.py Don't introduce new overload for SymInt (#83628) 2022-08-23 22:04:07 +00:00
test_metal.py
test_mkl_verbose.py [RFC] enable oneMKL&oneDNN on-demands verbose functinality (#63212) 2022-07-27 23:29:35 +00:00
test_mkldnn.py check params shape for mkldnn_convolution (#76526) 2022-08-02 17:26:36 +00:00
test_mkldnn_fusion.py [NNC] enable fusion of conv with elementwise OP (#77157) 2022-08-10 21:46:51 +00:00
test_mkldnn_verbose.py [RFC] enable oneMKL&oneDNN on-demands verbose functinality (#63212) 2022-07-27 23:29:35 +00:00
test_mobile_optimizer.py
test_model_dump.py
test_module_init.py Revert "[quant][ao_migration] torch.nn.quantized.modulestorch.ao.nn.quantized.modules (#78713)" 2022-08-22 07:32:37 +00:00
test_modules.py
test_monitor.py
test_mps.py [MPS] Fix the index error in constant_pad_nd() with single-dimension input (#83745) 2022-08-22 17:07:09 +00:00
test_multiprocessing.py
test_multiprocessing_spawn.py
test_namedtensor.py Update std_mean/var_mean/nanmean/nansum signatures with int[1]? dim (#82912) 2022-08-10 16:58:26 +00:00
test_namedtuple_return_api.py [Refactoring] making the code more Pythonic (#82929) 2022-08-08 06:08:21 +00:00
test_native_functions.py
test_native_mha.py Add mask identifier for multiplexed src_mask/src_key_padding_mask in BT (#81947) 2022-08-09 23:42:16 +00:00
test_nestedtensor.py Support nested dropout autograd (#83338) 2022-08-18 00:49:29 +00:00
test_nn.py Don't introduce new overload for SymInt (#83628) 2022-08-23 22:04:07 +00:00
test_nnapi.py Revert "[quant][ao_migration] torch.nn.quantized.modulestorch.ao.nn.quantized.modules (#78713)" 2022-08-22 07:32:37 +00:00
test_numba_integration.py
test_numpy_interop.py
test_openmp.py
test_ops.py Nvfuser python api patch take 2 (#83684) 2022-08-19 16:05:39 +00:00
test_ops_gradients.py
test_ops_jit.py [JIT Test] Add more debugging information for JIT opinfo tests (#83269) 2022-08-12 00:29:06 +00:00
test_optim.py [optim] rprop: handle complex params as independent real params (#83858) 2022-08-23 08:39:35 +00:00
test_overrides.py Revert "Remove split functional wrapper (#74727)" 2022-08-10 19:45:23 +00:00
test_package.py
test_per_overload_api.py Add OpOverload.decompose API (#83075) 2022-08-09 18:53:19 +00:00
test_prims.py Add torch.ops.aten -> torch._refs mapping to TorchRefsMode using decomposition_table (#82657) 2022-08-17 14:46:06 +00:00
test_profiler.py [Profiler] Start moving python bindings out of autograd (#82584) 2022-08-19 17:15:18 +00:00
test_profiler_tree.py Don't introduce new overload for SymInt (#83628) 2022-08-23 22:04:07 +00:00
test_proxy_tensor.py Don't introduce new overload for SymInt (#83628) 2022-08-23 22:04:07 +00:00
test_pruning_op.py
test_public_bindings.py Add option to run anomaly mode without nan checking (#83481) 2022-08-16 22:56:23 +00:00
test_python_dispatch.py Always allow tensor metadata changes (#83590) 2022-08-19 23:30:43 +00:00
test_pytree.py Add *_only and all/any pytree utilities (#83316) 2022-08-12 17:31:55 +00:00
test_quantization.py Remove DBR quantization from the codebase (#83642) 2022-08-23 15:18:40 +00:00
test_reductions.py Enable dim=None for torch.var (#82765) 2022-08-04 20:47:27 +00:00
test_scatter_gather_ops.py
test_schema_check.py Respect TorchDispatchMode for shallow_copy_and_detach (#83372) 2022-08-16 14:32:27 +00:00
test_segment_reductions.py
test_serialization.py Rename _Typed/_UntypedStorage to Typed/UntypedStorage and update docs (#82438) 2022-07-30 19:37:08 +00:00
test_set_default_mobile_cpu_allocator.py
test_shape_ops.py
test_show_pickle.py
test_sort_and_select.py
test_sparse.py [ROCm] More Sparse UTs enablement and more hipification mappings. (#78939) 2022-08-23 13:54:09 +00:00
test_sparse_csr.py [ROCm] More Sparse UTs enablement and more hipification mappings. (#78939) 2022-08-23 13:54:09 +00:00
test_spectral_ops.py Fix use-dict-literal lint (#83718) 2022-08-24 00:26:46 +00:00
test_stateless.py
test_static_runtime.py
test_subclass.py
test_tensor_creation_ops.py [primTorch] Refs for pdist, triu and related ops (#82819) 2022-08-18 21:52:03 +00:00
test_tensorboard.py
test_tensorexpr.py
test_tensorexpr_pybind.py
test_testing.py Move OpInfo class into new opinfo folder (#82540) 2022-08-05 15:10:17 +00:00
test_throughput_benchmark.py
test_torch.py Normalize DLPack stride to 1 where shape < 2 (#83158) 2022-08-23 15:03:29 +00:00
test_transformers.py Move odd num_head in TransformerEncoder to slow_path (#83483) 2022-08-20 10:02:08 +00:00
test_type_hints.py
test_type_info.py
test_type_promotion.py [primTorch] Move addcdiv from decompositions -> refs (#80842) 2022-08-16 17:23:00 +00:00
test_typing.py
test_unary_ufuncs.py Remove assertEqualIgnoreTypes from test_unary_ufuncs (#83711) 2022-08-19 05:04:56 +00:00
test_utils.py Fix and unskip cpp extension tests for ARM (#83115) 2022-08-11 20:01:53 +00:00
test_view_ops.py
test_vmap.py
test_vulkan.py
test_xnnpack_integration.py