pytorch/torch/_dynamo
Maggie Moss c855f8632e Pyrefly suppressions 7/n (#164913)
Adds suppressions to pyrefly will typecheck clean: https://github.com/pytorch/pytorch/issues/163283

Almost there!

Test plan:
dmypy restart && python3 scripts/lintrunner.py -a
pyrefly check

step 1: delete lines in the pyrefly.toml file from the project-excludes field
step 2: run pyrefly check
step 3: add suppressions, clean up unused suppressions
before: https://gist.github.com/maggiemoss/4b3bf2037014e116bc00706a16aef199

after:
 INFO 0 errors (6,884 ignored)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/164913
Approved by: https://github.com/oulgen
2025-10-08 07:27:17 +00:00
..
backends Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
polyfills Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
repro Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
variables Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
__init__.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
_trace_wrapped_higher_order_op.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
aot_compile.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
bytecode_analysis.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
bytecode_transformation.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
cache_size.py [Dynamo][Better Engineering] Add typing for comptime, cache, and convert_frame (#158379) 2025-07-18 02:11:57 +00:00
callback.py increment pending_callbacks_counter before initation the pt2 compile callbacks (#157185) 2025-06-30 01:23:59 +00:00
code_context.py Document dynamo (#146736) 2025-02-13 00:02:21 +00:00
codegen.py [dynamo, 3.14] fix BUILD_TUPLE with 0 args (#163818) 2025-09-30 17:42:40 +00:00
compiled_autograd.py [Fix] Adding missing f prefixes to formatted strings [1/N] (#164065) 2025-09-29 04:53:00 +00:00
comptime.py [Dynamo][Better Engineering] Add typing for comptime, cache, and convert_frame (#158379) 2025-07-18 02:11:57 +00:00
config.py Revert "Enable all SIM rules except disabled ones (#164645)" 2025-10-05 19:32:21 +00:00
convert_frame.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
create_parameter_op.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
current_scope_id.py Document dynamo (#146736) 2025-02-13 00:02:21 +00:00
debug_utils.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
decorators.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
device_interface.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
distributed.py Implement guard collectives (optimized version) (#156562) 2025-06-24 04:59:49 +00:00
eval_frame.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
exc.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
external_utils.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
funcname_cache.py gracefully handle tokenize.TokenError in funcname parser. Adds support for non-Python source (#148737) 2025-03-11 19:49:28 +00:00
functional_export.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
graph_break_hints.py [dynamo] unimplemented -> unimplemented_v2 in variables/builder.py (#151044) 2025-04-11 09:07:01 +00:00
graph_break_registry.json [dynamo, 3.14] fix context managers (#163109) 2025-09-30 17:42:03 +00:00
graph_deduplication.py Helper to augment graph with additional deps (#163959) 2025-09-30 04:53:58 +00:00
graph_region_tracker.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
graph_utils.py [Intel GPU][pre_compile] Add XPU toolkit version and hardware info in compiled model check. (#162951) 2025-09-18 00:04:22 +00:00
guards.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
hooks.py Replace frame_traced_fn hook with get_traced_code() util (#155249) 2025-06-10 22:40:58 +00:00
logging.py Migrate from lru_cache to cache (#155613) 2025-06-11 19:44:18 +00:00
metrics_context.py Optimize dynamo typing (#147499) 2025-08-25 13:20:45 +00:00
mutation_guard.py Add functionality for installing free variables (#151134) 2025-04-24 17:57:54 +00:00
output_graph.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
package.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
pgo.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
precompile_context.py Support partial _DynamoCacheEntries when not all backends available (#163521) 2025-10-03 16:14:32 +00:00
profiler.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
replay_record.py [Dynamo][Better Engineering] Type coverage for torch/_dynamo/utils.py (#159580) 2025-08-04 21:51:53 +00:00
resume_execution.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
side_effects.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
source.py [dynamo, 3.14] fix BUILD_TUPLE with 0 args (#163818) 2025-09-30 17:42:40 +00:00
symbolic_convert.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
tensor_version_op.py [Dynamo][Better Engineering] Type devices, resume_execution and testing utils (#158593) 2025-07-18 18:22:06 +00:00
test_case.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
test_dont_skip_tracing_functions.py [dynamo] context manager/decorator for dynamo config patching during tracing (#150586) 2025-04-23 09:12:13 +00:00
test_minifier_common.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
testing.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
trace_rules.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
types.py Implement guard collectives (optimized version) (#156562) 2025-06-24 04:59:49 +00:00
utils.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00