Lines Matching refs:py
3 include_patterns = ['**/*.py']
20 'test/generated_type_hints_smoketest.py',
22 'test/torch_np/numpy_test/**/*.py',
28 'tools/test/test_selective_build.py',
32 'tools/linter/adapters/flake8_linter.py',
38 'tools/linter/adapters/pip_init.py',
91 'tools/linter/adapters/s3_init.py',
100 'tools/linter/adapters/clangformat_linter.py',
110 'torch/**/*.py',
112 'caffe2/**/*.py',
114 'test/test_bundled_images.py',
115 'test/test_bundled_inputs.py',
116 'test/test_complex.py',
117 'test/test_datapipe.py',
118 'test/test_futures.py',
119 # 'test/test_numpy_interop.py',
120 'test/test_torch.py',
121 'test/test_type_hints.py',
122 'test/test_type_info.py',
123 'test/test_utils.py',
130 'tools/linter/adapters/mypy_linter.py',
137 'tools/linter/adapters/pip_init.py',
162 '.github/**/*.py',
163 'benchmarks/instruction_counts/**/*.py',
164 'tools/**/*.py',
165 'torchgen/**/*.py',
166 'torch/utils/_pytree.py',
167 'torch/utils/_cxx_pytree.py',
168 'torch/utils/benchmark/utils/common.py',
169 'torch/utils/benchmark/utils/timer.py',
170 'torch/utils/benchmark/utils/valgrind_wrapper/**/*.py',
175 'tools/code_analyzer/gen_operators_yaml.py',
176 'tools/dynamo/verify_dynamo.py',
177 'tools/gen_vulkan_spv.py',
178 'tools/test/gen_operators_yaml_test.py',
179 'tools/test/gen_oplist_test.py',
180 'tools/test/test_selective_build.py',
184 'tools/linter/adapters/mypy_linter.py',
253 'tools/linter/adapters/s3_init.py',
262 'tools/linter/adapters/clangtidy_linter.py',
271 include_patterns = ['**/*.py', '**/*.pyi']
275 'test/test_jit.py',
279 'tools/linter/adapters/grep_linter.py',
296 'tools/linter/adapters/grep_linter.py',
313 include_patterns = ['**/*.py', '**/*.pyi']
321 'tools/linter/adapters/grep_linter.py',
338 'tools/linter/adapters/nativefunctions_linter.py',
343 'tools/linter/adapters/pip_init.py',
370 'tools/linter/adapters/newlines_linter.py',
381 'tools/linter/adapters/constexpr_linter.py',
403 'tools/linter/adapters/grep_linter.py',
435 'tools/linter/adapters/grep_linter.py',
465 'tools/linter/adapters/grep_linter.py',
490 'tools/linter/adapters/grep_linter.py',
513 'torch/_refs/**/*.py',
514 'torch/_prims/**/*.py',
515 'torch/_prims_common/**/*.py',
516 'torch/_decomp/**/*.py',
517 'torch/_meta_registrations.py',
524 'tools/linter/adapters/grep_linter.py',
561 'tools/linter/adapters/grep_linter.py',
568 included at any site that may potentially make use of it via py::cast. \
583 '**/*.py',
590 'tools/linter/adapters/grep_linter.py',
612 '**/*.py',
623 'tools/linter/adapters/exec_linter.py',
637 'tools/linter/adapters/grep_linter.py',
664 'tools/linter/adapters/grep_linter.py',
695 'tools/linter/adapters/grep_linter.py',
710 '**/*.py',
718 'torch/distributed/run.py',
727 'tools/linter/adapters/grep_linter.py',
743 '**/*.py',
747 'tools/linter/adapters/grep_linter.py',
779 'tools/linter/adapters/cmake_linter.py',
786 'tools/linter/adapters/pip_init.py',
801 'tools/linter/adapters/shellcheck_linter.py',
807 'tools/linter/adapters/pip_init.py',
809 'shellcheck-py==0.7.2.1',
826 'tools/linter/adapters/actionlint_linter.py',
833 'tools/linter/adapters/s3_init.py',
844 'test/**/test_*.py',
845 'test/**/*_test.py',
848 'test/run_test.py',
853 'tools/linter/adapters/testowners_linter.py',
861 'test/**/test_*.py',
864 'test/run_test.py',
866 'test/quantization/**', # should be run through test/test_quantization.py
867 'test/jit/**', # should be run through test/test_jit.py
868 'test/ao/sparsity/**', # should be run through test/test_ao_sparsity.py
869 'test/fx/**', # should be run through test/test_fx.py
870 'test/bottleneck_test/**', # excluded by test/run_test.py
871 'test/package/**', # excluded by test/run_test.py
872 'test/distributed/argparse_util_test.py',
873 'test/distributed/bin/test_script.py',
874 'test/distributed/elastic/agent/server/test/local_elastic_agent_test.py',
875 'test/distributed/elastic/multiprocessing/bin/test_script.py',
876 'test/distributed/elastic/multiprocessing/bin/zombie_test.py',
877 'test/distributed/elastic/multiprocessing/errors/api_test.py',
878 'test/distributed/elastic/multiprocessing/errors/error_handler_test.py',
879 'test/distributed/elastic/multiprocessing/redirects_test.py',
880 'test/distributed/elastic/multiprocessing/tail_log_test.py',
881 'test/distributed/elastic/rendezvous/api_test.py',
882 'test/distributed/elastic/rendezvous/c10d_rendezvous_backend_test.py',
883 'test/distributed/elastic/rendezvous/dynamic_rendezvous_test.py',
884 'test/distributed/elastic/rendezvous/etcd_rendezvous_backend_test.py',
885 'test/distributed/elastic/rendezvous/etcd_rendezvous_test.py',
886 'test/distributed/elastic/rendezvous/etcd_server_test.py',
887 'test/distributed/elastic/rendezvous/rendezvous_backend_test.py',
888 'test/distributed/elastic/rendezvous/static_rendezvous_test.py',
889 'test/distributed/elastic/rendezvous/utils_test.py',
890 'test/distributed/elastic/timer/api_test.py',
891 'test/distributed/elastic/utils/data/cycling_iterator_test.py',
892 'test/distributed/launcher/api_test.py',
893 'test/distributed/launcher/bin/test_script.py',
894 'test/distributed/launcher/bin/test_script_init_method.py',
895 'test/distributed/launcher/bin/test_script_is_torchelastic_launched.py',
896 'test/distributed/launcher/bin/test_script_local_rank.py',
897 'test/distributed/launcher/launch_test.py',
898 'test/distributed/launcher/run_test.py',
899 'test/distributed/optim/test_apply_optimizer_in_backward.py',
900 'test/distributed/optim/test_named_optimizer.py',
901 'test/distributed/test_c10d_spawn.py',
902 'test/distributed/test_collective_utils.py',
903 'test/distributions/test_distributions.py',
904 'test/inductor/test_aot_inductor_utils.py',
905 'test/lazy/test_bindings.py',
906 'test/lazy/test_extract_compiled_graph.py',
907 'test/lazy/test_meta_kernel.py',
908 'test/nn/test_init.py',
909 'test/onnx/model_defs/op_test.py',
910 'test/onnx/test_models_quantized_onnxruntime.py',
911 'test/onnx/test_onnxscript_no_runtime.py',
912 'test/onnx_caffe2/test_caffe2_common.py',
913 'test/optim/test_lrscheduler.py',
914 'test/optim/test_optim.py',
915 'test/optim/test_swa_utils.py',
916 'test/run_test.py',
917 'test/test_bundled_images.py',
918 'test/test_cuda_expandable_segments.py',
919 'test/test_hub.py',
923 'tools/linter/adapters/test_has_main_linter.py',
941 'tools/linter/adapters/grep_linter.py',
960 'tools/linter/adapters/grep_linter.py',
984 'tools/linter/adapters/grep_linter.py',
1007 'tools/linter/adapters/workflow_consistency_linter.py',
1013 'tools/linter/adapters/pip_init.py',
1022 '**/*.py',
1027 'tools/linter/adapters/pyfmt_linter.py',
1032 'tools/gen_vulkan_spv.py',
1035 'caffe2/**/*.py',
1039 'third_party/**/*.py',
1045 'test/_nvfuser/__init__.py',
1046 'test/_nvfuser/test_dynamo.py',
1047 'test/_nvfuser/test_python_frontend.py',
1048 'test/_nvfuser/test_torchscript.py',
1049 'test/delete.py',
1050 'test/expect/__init__.py',
1051 'test/quantization/__init__.py',
1052 'test/quantization/core/__init__.py',
1053 'test/quantization/core/experimental/apot_fx_graph_mode_ptq.py',
1054 'test/quantization/core/experimental/apot_fx_graph_mode_qat.py',
1055 'test/quantization/core/experimental/quantization_util.py',
1056 'test/quantization/core/experimental/test_bits.py',
1057 'test/quantization/core/experimental/test_fake_quantize.py',
1058 'test/quantization/core/experimental/test_linear.py',
1059 'test/quantization/core/experimental/test_nonuniform_observer.py',
1060 'test/quantization/core/experimental/test_quantized_tensor.py',
1061 'test/quantization/core/experimental/test_quantizer.py',
1062 'test/quantization/core/test_backend_config.py',
1063 'test/quantization/core/test_docs.py',
1064 'test/quantization/core/test_quantized_functional.py',
1065 'test/quantization/core/test_quantized_module.py',
1066 'test/quantization/core/test_quantized_op.py',
1067 'test/quantization/core/test_quantized_tensor.py',
1068 'test/quantization/core/test_top_level_apis.py',
1069 'test/quantization/core/test_utils.py',
1070 'test/quantization/core/test_workflow_module.py',
1071 'test/quantization/core/test_workflow_ops.py',
1072 'test/quantization/eager/__init__.py',
1073 'test/quantization/eager/test_bias_correction_eager.py',
1074 'test/quantization/eager/test_equalize_eager.py',
1075 'test/quantization/eager/test_fuse_eager.py',
1076 'test/quantization/eager/test_model_numerics.py',
1077 'test/quantization/eager/test_numeric_suite_eager.py',
1078 'test/quantization/eager/test_quantize_eager_ptq.py',
1079 'test/quantization/eager/test_quantize_eager_qat.py',
1080 'test/quantization/fx/__init__.py',
1081 'test/quantization/fx/test_equalize_fx.py',
1082 'test/quantization/fx/test_model_report_fx.py',
1083 'test/quantization/fx/test_numeric_suite_fx.py',
1084 'test/quantization/fx/test_quantize_fx.py',
1085 'test/quantization/fx/test_subgraph_rewriter.py',
1086 'test/test_fake_tensor.py',
1087 'test/test_flop_counter.py',
1088 'test/test_function_schema.py',
1089 'test/test_functional_autograd_benchmark.py',
1090 'test/test_functional_optim.py',
1091 'test/test_functionalization_of_rng_ops.py',
1092 'test/test_datapipe.py',
1093 'test/test_futures.py',
1094 'test/test_fx.py',
1095 'test/test_fx_experimental.py',
1096 'test/test_fx_passes.py',
1097 'test/test_fx_reinplace_pass.py',
1098 'test/test_import_stats.py',
1099 'test/test_itt.py',
1100 'test/test_jit.py',
1101 'test/test_jit_autocast.py',
1102 'test/test_jit_cuda_fuser.py',
1103 'test/test_jit_disabled.py',
1104 'test/test_jit_fuser.py',
1105 'test/test_jit_fuser_legacy.py',
1106 'test/test_jit_legacy.py',
1107 'test/test_jit_llga_fuser.py',
1108 'test/test_jit_profiling.py',
1109 'test/test_jit_simple.py',
1110 'test/test_jit_string.py',
1111 'test/test_jiterator.py',
1112 'test/test_kernel_launch_checks.py',
1113 'test/test_linalg.py',
1114 'test/test_masked.py',
1115 'test/test_maskedtensor.py',
1116 'test/test_matmul_cuda.py',
1117 'test/test_meta.py',
1118 'test/test_metal.py',
1119 'test/test_mkl_verbose.py',
1120 'test/test_mkldnn.py',
1121 'test/test_mkldnn_fusion.py',
1122 'test/test_mkldnn_verbose.py',
1123 'test/test_mobile_optimizer.py',
1124 'test/test_model_dump.py',
1125 'test/test_modules.py',
1126 'test/test_monitor.py',
1127 'test/test_mps.py',
1128 'test/test_multiprocessing_spawn.py',
1129 'test/test_namedtensor.py',
1130 'test/test_namedtuple_return_api.py',
1131 'test/test_native_functions.py',
1132 'test/test_native_mha.py',
1133 'test/test_nn.py',
1134 'test/test_out_dtype_op.py',
1135 'test/test_overrides.py',
1136 'test/test_prims.py',
1137 'test/test_proxy_tensor.py',
1138 'test/test_pruning_op.py',
1139 'test/test_quantization.py',
1140 'test/test_reductions.py',
1141 'test/test_scatter_gather_ops.py',
1142 'test/test_schema_check.py',
1143 'test/test_segment_reductions.py',
1144 'test/test_serialization.py',
1145 'test/test_set_default_mobile_cpu_allocator.py',
1146 'test/test_sparse.py',
1147 'test/test_sparse_csr.py',
1148 'test/test_sparse_semi_structured.py',
1149 'test/test_spectral_ops.py',
1150 'test/test_stateless.py',
1151 'test/test_static_runtime.py',
1152 'test/test_subclass.py',
1153 'test/test_sympy_utils.py',
1154 'test/test_tensor_creation_ops.py',
1155 'test/test_tensorboard.py',
1156 'test/test_tensorexpr.py',
1157 'test/test_tensorexpr_pybind.py',
1158 'test/test_testing.py',
1159 'test/test_torch.py',
1160 'test/test_transformers.py',
1161 'test/test_type_promotion.py',
1162 'test/test_unary_ufuncs.py',
1163 'test/test_vulkan.py',
1164 'torch/_awaits/__init__.py',
1165 'torch/_custom_op/__init__.py',
1166 'torch/_custom_op/autograd.py',
1167 'torch/_custom_op/functional.py',
1168 'torch/_custom_op/impl.py',
1169 'torch/_export/__init__.py',
1170 'torch/_export/constraints.py',
1171 'torch/_export/db/__init__.py',
1172 'torch/_export/db/case.py',
1173 'torch/_export/db/examples/__init__.py',
1174 'torch/_export/db/examples/assume_constant_result.py',
1175 'torch/_export/db/examples/autograd_function.py',
1176 'torch/_export/db/examples/class_method.py',
1177 'torch/_export/db/examples/cond_branch_class_method.py',
1178 'torch/_export/db/examples/cond_branch_nested_function.py',
1179 'torch/_export/db/examples/cond_branch_nonlocal_variables.py',
1180 'torch/_export/db/examples/cond_closed_over_variable.py',
1181 'torch/_export/db/examples/cond_operands.py',
1182 'torch/_export/db/examples/cond_predicate.py',
1183 'torch/_export/db/examples/decorator.py',
1184 'torch/_export/db/examples/dictionary.py',
1185 'torch/_export/db/examples/dynamic_shape_assert.py',
1186 'torch/_export/db/examples/dynamic_shape_constructor.py',
1187 'torch/_export/db/examples/dynamic_shape_if_guard.py',
1188 'torch/_export/db/examples/dynamic_shape_map.py',
1189 'torch/_export/db/examples/dynamic_shape_round.py',
1190 'torch/_export/db/examples/dynamic_shape_slicing.py',
1191 'torch/_export/db/examples/dynamic_shape_view.py',
1192 'torch/_export/db/examples/fn_with_kwargs.py',
1193 'torch/_export/db/examples/list_contains.py',
1194 'torch/_export/db/examples/list_unpack.py',
1195 'torch/_export/db/examples/nested_function.py',
1196 'torch/_export/db/examples/null_context_manager.py',
1197 'torch/_export/db/examples/pytree_flatten.py',
1198 'torch/_export/db/examples/scalar_output.py',
1199 'torch/_export/db/examples/specialized_attribute.py',
1200 'torch/_export/db/examples/static_for_loop.py',
1201 'torch/_export/db/examples/static_if.py',
1202 'torch/_export/db/examples/tensor_setattr.py',
1203 'torch/_export/db/examples/type_reflection_method.py',
1204 'torch/_export/db/gen_example.py',
1205 'torch/_export/db/logging.py',
1206 'torch/_export/error.py',
1207 'torch/_export/exported_program.py',
1208 'torch/_export/pass_base.py',
1209 'torch/_export/pass_infra/__init__.py',
1210 'torch/_export/pass_infra/node_metadata.py',
1211 'torch/_export/pass_infra/proxy_value.py',
1212 'torch/_export/passes/__init__.py',
1213 'torch/_export/passes/add_runtime_assertions_for_constraints_pass.py',
1214 'torch/_export/passes/const_prop_pass.py',
1215 'torch/_export/passes/functionalize_side_effectful_ops_pass.py',
1216 'torch/_export/passes/replace_sym_size_ops_pass.py',
1217 'torch/_export/passes/replace_view_ops_with_view_copy_ops_pass.py',
1218 'torch/_export/serde/__init__.py',
1219 'torch/_export/serde/schema.py',
1220 'torch/_export/serde/serialize.py',
1221 'torch/_export/serde/upgrade.py',
1222 'torch/_export/trace.py',
1223 'torch/_export/verifier.py',
1225 'torch/contrib/__init__.py',
1226 'torch/contrib/_tensorboard_vis.py',
1227 "torch/cuda/_gpu_trace.py",
1228 'torch/cuda/_memory_viz.py', # mypy: Value of type "object" is not indexable
1229 'torch/fft/__init__.py',
1230 'torch/func/__init__.py',
1231 'torch/futures/__init__.py',
1232 'torch/fx/__init__.py',
1233 'torch/fx/_compatibility.py',
1234 'torch/fx/_symbolic_trace.py',
1235 'torch/fx/annotate.py',
1236 'torch/fx/config.py',
1237 'torch/fx/experimental/__init__.py',
1238 'torch/fx/experimental/accelerator_partitioner.py',
1239 'torch/fx/experimental/const_fold.py',
1240 'torch/fx/experimental/debug.py',
1241 'torch/fx/experimental/graph_gradual_typechecker.py',
1242 'torch/fx/experimental/merge_matmul.py',
1243 'torch/fx/experimental/meta_tracer.py',
1244 'torch/fx/experimental/migrate_gradual_types/__init__.py',
1245 'torch/fx/experimental/migrate_gradual_types/constraint.py',
1246 'torch/fx/experimental/migrate_gradual_types/constraint_generator.py',
1247 'torch/fx/experimental/migrate_gradual_types/constraint_transformation.py',
1248 'torch/fx/experimental/migrate_gradual_types/operation.py',
1249 'torch/fx/experimental/migrate_gradual_types/transform_to_z3.py',
1250 'torch/fx/experimental/migrate_gradual_types/util.py',
1251 'torch/fx/experimental/migrate_gradual_types/z3_types.py',
1252 'torch/fx/experimental/normalize.py',
1253 'torch/fx/experimental/optimization.py',
1254 'torch/fx/experimental/partitioner_utils.py',
1255 'torch/fx/experimental/refinement_types.py',
1256 'torch/fx/experimental/rewriter.py',
1257 'torch/fx/experimental/schema_type_annotation.py',
1258 'torch/fx/experimental/symbolic_shapes.py',
1259 'torch/fx/experimental/unification/__init__.py',
1260 'torch/fx/experimental/unification/core.py',
1261 'torch/fx/experimental/unification/dispatch.py',
1262 'torch/fx/experimental/unification/match.py',
1263 'torch/fx/experimental/unification/more.py',
1264 'torch/fx/experimental/unification/multipledispatch/__init__.py',
1265 'torch/fx/experimental/unification/multipledispatch/conflict.py',
1266 'torch/fx/experimental/unification/multipledispatch/core.py',
1267 'torch/fx/experimental/unification/multipledispatch/dispatcher.py',
1268 'torch/fx/experimental/unification/multipledispatch/utils.py',
1269 'torch/fx/experimental/unification/multipledispatch/variadic.py',
1270 'torch/fx/experimental/unification/unification_tools.py',
1271 'torch/fx/experimental/unification/utils.py',
1272 'torch/fx/experimental/unification/variable.py',
1273 'torch/fx/experimental/unify_refinements.py',
1274 'torch/fx/experimental/validator.py',
1275 'torch/fx/graph.py',
1276 'torch/fx/graph_module.py',
1277 'torch/fx/interpreter.py',
1278 'torch/fx/node.py',
1279 'torch/fx/operator_schemas.py',
1280 'torch/fx/passes/__init__.py',
1281 'torch/fx/passes/annotate_getitem_nodes.py',
1282 'torch/fx/passes/backends/__init__.py',
1283 'torch/fx/passes/backends/cudagraphs.py',
1284 'torch/fx/passes/dialect/__init__.py',
1285 'torch/fx/passes/dialect/common/__init__.py',
1286 'torch/fx/passes/dialect/common/cse_pass.py',
1287 'torch/fx/passes/fake_tensor_prop.py',
1288 'torch/fx/passes/graph_drawer.py',
1289 'torch/fx/passes/graph_manipulation.py',
1290 'torch/fx/passes/infra/__init__.py',
1291 'torch/fx/passes/infra/partitioner.py',
1292 'torch/fx/passes/infra/pass_base.py',
1293 'torch/fx/passes/infra/pass_manager.py',
1294 'torch/fx/passes/net_min_base.py',
1295 'torch/fx/passes/operator_support.py',
1296 'torch/fx/passes/param_fetch.py',
1297 'torch/fx/passes/pass_manager.py',
1298 'torch/fx/passes/reinplace.py',
1299 'torch/fx/passes/shape_prop.py',
1300 'torch/fx/passes/split_module.py',
1301 'torch/fx/passes/split_utils.py',
1302 'torch/fx/passes/splitter_base.py',
1303 'torch/fx/passes/tests/__init__.py',
1304 'torch/fx/passes/tests/test_pass_manager.py',
1305 'torch/fx/passes/tools_common.py',
1306 'torch/fx/passes/utils/__init__.py',
1307 'torch/fx/passes/utils/common.py',
1308 'torch/fx/passes/utils/fuser_utils.py',
1309 'torch/fx/passes/utils/matcher_utils.py',
1310 'torch/fx/passes/utils/source_matcher_utils.py',
1311 'torch/fx/proxy.py',
1312 'torch/fx/subgraph_rewriter.py',
1313 'torch/fx/tensor_type.py',
1314 'torch/fx/traceback.py',
1315 'torch/linalg/__init__.py',
1316 'torch/monitor/__init__.py',
1317 'torch/nested/__init__.py',
1318 'torch/signal/__init__.py',
1319 'torch/signal/windows/__init__.py',
1320 'torch/signal/windows/windows.py',
1321 'torch/special/__init__.py',
1322 'torch/testing/_internal/__init__.py',
1323 'torch/testing/_internal/autocast_test_lists.py',
1324 'torch/testing/_internal/autograd_function_db.py',
1325 'torch/testing/_internal/check_kernel_launches.py',
1326 'torch/testing/_internal/codegen/__init__.py',
1327 'torch/testing/_internal/codegen/random_topo_test.py',
1328 'torch/testing/_internal/common_cuda.py',
1329 'torch/testing/_internal/common_distributed.py',
1330 'torch/testing/_internal/common_jit.py',
1331 'torch/testing/_internal/common_methods_invocations.py',
1332 'torch/testing/_internal/common_modules.py',
1333 'torch/testing/_internal/common_nn.py',
1334 'torch/testing/_internal/common_pruning.py',
1335 'torch/testing/_internal/common_quantization.py',
1336 'torch/testing/_internal/common_quantized.py',
1337 'torch/testing/_internal/common_subclass.py',
1338 'torch/testing/_internal/common_utils.py',
1339 'torch/testing/_internal/composite_compliance.py',
1340 'torch/testing/_internal/hop_db.py',
1341 'torch/testing/_internal/custom_op_db.py',
1342 'torch/testing/_internal/data/__init__.py',
1343 'torch/testing/_internal/data/network1.py',
1344 'torch/testing/_internal/data/network2.py',
1345 'torch/testing/_internal/dist_utils.py',
1346 'torch/testing/_internal/distributed/__init__.py',
1347 'torch/testing/_internal/distributed/_shard/__init__.py',
1348 'torch/testing/_internal/distributed/_shard/sharded_tensor/__init__.py',
1349 'torch/testing/_internal/distributed/_shard/sharded_tensor/_test_ops_common.py',
1350 'torch/testing/_internal/distributed/_shard/sharded_tensor/_test_st_common.py',
1351 'torch/testing/_internal/distributed/_shard/test_common.py',
1352 'torch/testing/_internal/distributed/_tensor/__init__.py',
1353 'torch/testing/_internal/distributed/_tensor/common_dtensor.py',
1354 'torch/testing/_internal/distributed/ddp_under_dist_autograd_test.py',
1355 'torch/testing/_internal/distributed/distributed_test.py',
1356 'torch/testing/_internal/distributed/distributed_utils.py',
1357 'torch/testing/_internal/distributed/fake_pg.py',
1358 'torch/testing/_internal/distributed/multi_threaded_pg.py',
1359 'torch/testing/_internal/distributed/nn/__init__.py',
1360 'torch/testing/_internal/distributed/nn/api/__init__.py',
1361 'torch/testing/_internal/distributed/nn/api/remote_module_test.py',
1362 'torch/testing/_internal/distributed/rpc/__init__.py',
1363 'torch/testing/_internal/distributed/rpc/dist_autograd_test.py',
1364 'torch/testing/_internal/distributed/rpc/dist_optimizer_test.py',
1365 'torch/testing/_internal/distributed/rpc/examples/__init__.py',
1366 'torch/testing/_internal/distributed/rpc/examples/parameter_server_test.py',
1367 'torch/testing/_internal/distributed/rpc/examples/reinforcement_learning_rpc_test.py',
1368 'torch/testing/_internal/distributed/rpc/faulty_agent_rpc_test.py',
1369 'torch/testing/_internal/distributed/rpc/faulty_rpc_agent_test_fixture.py',
1370 'torch/testing/_internal/distributed/rpc/jit/__init__.py',
1371 'torch/testing/_internal/distributed/rpc/jit/dist_autograd_test.py',
1372 'torch/testing/_internal/distributed/rpc/jit/rpc_test.py',
1373 'torch/testing/_internal/distributed/rpc/jit/rpc_test_faulty.py',
1374 'torch/testing/_internal/distributed/rpc/rpc_agent_test_fixture.py',
1375 'torch/testing/_internal/distributed/rpc/rpc_test.py',
1376 'torch/testing/_internal/distributed/rpc/tensorpipe_rpc_agent_test_fixture.py',
1377 'torch/testing/_internal/distributed/rpc_utils.py',
1378 'torch/testing/_internal/generated/__init__.py',
1379 'torch/testing/_internal/hypothesis_utils.py',
1380 'torch/testing/_internal/inductor_utils.py',
1381 'torch/testing/_internal/jit_metaprogramming_utils.py',
1382 'torch/testing/_internal/jit_utils.py',
1383 'torch/testing/_internal/logging_tensor.py',
1384 'torch/testing/_internal/logging_utils.py',
1385 'torch/testing/_internal/optests/__init__.py',
1386 'torch/testing/_internal/optests/aot_autograd.py',
1387 'torch/testing/_internal/optests/compile_check.py',
1388 'torch/testing/_internal/optests/fake_tensor.py',
1389 'torch/testing/_internal/optests/make_fx.py',
1390 'torch/testing/_internal/quantization_torch_package_models.py',
1391 'torch/testing/_internal/test_module/__init__.py',
1392 'torch/testing/_internal/test_module/future_div.py',
1393 'torch/testing/_internal/test_module/no_future_div.py',
1394 'torch/utils/_contextlib.py',
1395 'torch/utils/_cpp_extension_versioner.py',
1396 'torch/utils/_crash_handler.py',
1397 'torch/utils/_device.py',
1398 'torch/utils/_foreach_utils.py',
1399 'torch/utils/_freeze.py',
1400 'torch/utils/_mode_utils.py',
1401 'torch/utils/_python_dispatch.py',
1402 'torch/utils/_stats.py',
1403 'torch/utils/_traceback.py',
1404 'torch/utils/_zip.py',
1405 'torch/utils/backcompat/__init__.py',
1406 'torch/utils/backend_registration.py',
1407 'torch/utils/benchmark/__init__.py',
1408 'torch/utils/benchmark/examples/__init__.py',
1409 'torch/utils/benchmark/examples/blas_compare.py',
1410 'torch/utils/benchmark/examples/blas_compare_setup.py',
1411 'torch/utils/benchmark/examples/compare.py',
1412 'torch/utils/benchmark/examples/end_to_end.py',
1413 'torch/utils/benchmark/examples/fuzzer.py',
1414 'torch/utils/benchmark/examples/op_benchmark.py',
1415 'torch/utils/benchmark/examples/simple_timeit.py',
1416 'torch/utils/benchmark/examples/sparse/compare.py',
1417 'torch/utils/benchmark/examples/sparse/fuzzer.py',
1418 'torch/utils/benchmark/examples/sparse/op_benchmark.py',
1419 'torch/utils/benchmark/examples/spectral_ops_fuzz_test.py',
1420 'torch/utils/benchmark/op_fuzzers/__init__.py',
1421 'torch/utils/benchmark/op_fuzzers/binary.py',
1422 'torch/utils/benchmark/op_fuzzers/sparse_binary.py',
1423 'torch/utils/benchmark/op_fuzzers/sparse_unary.py',
1424 'torch/utils/benchmark/op_fuzzers/spectral.py',
1425 'torch/utils/benchmark/op_fuzzers/unary.py',
1426 'torch/utils/benchmark/utils/__init__.py',
1427 'torch/utils/benchmark/utils/_stubs.py',
1428 'torch/utils/benchmark/utils/common.py',
1429 'torch/utils/benchmark/utils/compare.py',
1430 'torch/utils/benchmark/utils/compile.py',
1431 'torch/utils/benchmark/utils/cpp_jit.py',
1432 'torch/utils/benchmark/utils/fuzzer.py',
1433 'torch/utils/benchmark/utils/sparse_fuzzer.py',
1434 'torch/utils/benchmark/utils/timer.py',
1435 'torch/utils/benchmark/utils/valgrind_wrapper/__init__.py',
1436 'torch/utils/benchmark/utils/valgrind_wrapper/timer_interface.py',
1437 'torch/utils/bottleneck/__init__.py',
1438 'torch/utils/bottleneck/__main__.py',
1439 'torch/utils/bundled_inputs.py',
1440 'torch/utils/checkpoint.py',
1441 'torch/utils/collect_env.py',
1442 'torch/utils/cpp_backtrace.py',
1443 'torch/utils/cpp_extension.py',
1444 'torch/utils/dlpack.py',
1445 'torch/utils/file_baton.py',
1446 'torch/utils/flop_counter.py',
1447 'torch/utils/hipify/__init__.py',
1448 'torch/utils/hipify/constants.py',
1449 'torch/utils/hipify/cuda_to_hip_mappings.py',
1450 'torch/utils/hipify/hipify_python.py',
1451 'torch/utils/hipify/version.py',
1452 'torch/utils/hooks.py',
1453 'torch/utils/jit/__init__.py',
1454 'torch/utils/jit/log_extract.py',
1455 'torch/utils/mkldnn.py',
1456 'torch/utils/mobile_optimizer.py',
1457 'torch/utils/model_dump/__init__.py',
1458 'torch/utils/model_dump/__main__.py',
1459 'torch/utils/model_zoo.py',
1460 'torch/utils/show_pickle.py',
1461 'torch/utils/tensorboard/__init__.py',
1462 'torch/utils/tensorboard/_caffe2_graph.py',
1463 'torch/utils/tensorboard/_convert_np.py',
1464 'torch/utils/tensorboard/_embedding.py',
1465 'torch/utils/tensorboard/_onnx_graph.py',
1466 'torch/utils/tensorboard/_proto_graph.py',
1467 'torch/utils/tensorboard/_pytorch_graph.py',
1468 'torch/utils/tensorboard/_utils.py',
1469 'torch/utils/tensorboard/summary.py',
1470 'torch/utils/tensorboard/writer.py',
1471 'torch/utils/throughput_benchmark.py',
1472 'torch/utils/viz/__init__.py',
1473 'torch/utils/viz/_cycles.py',
1474 'torch/utils/weak.py',
1475 'torch/xpu/_gpu_trace.py',
1479 'tools/linter/adapters/pip_init.py',
1499 'tools/linter/adapters/grep_linter.py',
1516 'tools/linter/adapters/bazel_linter.py',
1523 'tools/linter/adapters/s3_init.py',
1541 'tools/linter/adapters/lintrunner_version_linter.py'
1546 include_patterns = ['**/*.py', '**/*.pyi']
1560 'tools/linter/adapters/ruff_linter.py',
1568 'tools/linter/adapters/pip_init.py',
1582 'tools/linter/adapters/no_merge_conflict_csv_linter.py',
1662 'tools/linter/adapters/grep_linter.py',