pytorch/torch/_dynamo
Maggie Moss c7eee49525 Fix pyrefly ignores 1/n (#166239)
First diff adjusting the syntax for pyrefly: ignore suppressions so they only hide one class of type error.

Test:
lintrunner
pyrefly check

Pull Request resolved: https://github.com/pytorch/pytorch/pull/166239
Approved by: https://github.com/oulgen
2025-10-26 00:44:10 +00:00
..
backends [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
polyfills [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
repro [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
variables Fix pyrefly ignores 1/n (#166239) 2025-10-26 00:44:10 +00:00
__init__.py [dynamo, nested graph breaks] fix nested step graph break related issues (#162737) 2025-10-08 22:02:52 +00:00
_trace_wrapped_higher_order_op.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
aot_compile_types.py Implement an AOT precompile mode for standalone_compile (#165843) 2025-10-21 15:02:45 +00:00
aot_compile.py [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
bytecode_analysis.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
bytecode_transformation.py [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +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 [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
code_context.py Document dynamo (#146736) 2025-02-13 00:02:21 +00:00
codegen.py [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
compiled_autograd.py [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
comptime.py [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
config.py [dynamo][ac] Config flag to allow eager and compile AC divergence for side-effects (#165775) 2025-10-17 22:04:19 +00:00
convert_frame.py [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +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 [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
decorators.py [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
device_interface.py [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
distributed.py Implement guard collectives (optimized version) (#156562) 2025-06-24 04:59:49 +00:00
eval_frame.py Clean up unused Pyrefly suppressions (#166178) 2025-10-25 05:32:21 +00:00
exc.py Fix dynamo stack trace (#165930) 2025-10-21 01:32:23 +00:00
external_utils.py [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +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 Clean up unused Pyrefly suppressions (#166178) 2025-10-25 05:32:21 +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][annotate] Graph break cleanly on fx.traceback.annotate reconstruction (#166006) 2025-10-21 20:48:04 +00:00
graph_bytecode_inputs.py [user-cuda-streams] Pass streams/events to the graph via lookup table (#162899) 2025-10-14 05:43:19 +00:00
graph_deduplication.py Clean up unused Pyrefly suppressions (#166178) 2025-10-25 05:32:21 +00:00
graph_region_tracker.py [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +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 Clean up unused Pyrefly suppressions (#166178) 2025-10-25 05:32:21 +00:00
hooks.py [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
logging.py [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
metrics_context.py [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
mutation_guard.py Revert "[dynamo][executorch] Do not trace into exeuctorch LoweredBackendModule (#165126)" 2025-10-10 19:21:41 +00:00
output_graph.py Clean up unused Pyrefly suppressions (#166178) 2025-10-25 05:32:21 +00:00
package.py [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
pgo.py Clean up unused Pyrefly suppressions (#166178) 2025-10-25 05:32:21 +00:00
precompile_context.py [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +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 [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
side_effects.py [dynamo][ac] Config flag to allow eager and compile AC divergence for side-effects (#165775) 2025-10-17 22:04:19 +00:00
source.py [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
symbolic_convert.py Clean up unused Pyrefly suppressions (#166178) 2025-10-25 05:32:21 +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 [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +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 [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
trace_rules.py [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
types.py [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
utils.py Clean up unused Pyrefly suppressions (#166178) 2025-10-25 05:32:21 +00:00