[dynamo] improved graph break messages for some common graph break sites [1/N] (#146525)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/146525
Approved by: https://github.com/jansel
This commit is contained in:
William Wen
2025-02-19 11:46:13 -08:00
committed by PyTorch MergeBot
parent 1e94c7aaa4
commit 16e202a38e
18 changed files with 841 additions and 166 deletions

View File

@ -38,6 +38,7 @@ per-file-ignores =
torchgen/api/types/__init__.py: F401,F403
torchgen/executorch/api/types/__init__.py: F401,F403
test/dynamo/test_higher_order_ops.py: B950
test/dynamo/test_graph_break_messages.py: B950
torch/testing/_internal/dynamo_test_failures.py: B950
# TOR901 is only for test, we want to ignore it for everything else.
# It's not easy to configure this without affecting other per-file-ignores,