- Notifications
You must be signed in to change notification settings - Fork26.3k
[fx] Filter stacktrace#151029
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
[fx] Filter stacktrace#151029
Uh oh!
There was an error while loading.Please reload this page.
Conversation
pytorch-botbot commentedApr 10, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
🔗 Helpful Links🧪 See artifacts and rendered test results athud.pytorch.org/pr/151029
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit9988b11 with merge base7d205b2 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
jfix71 left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks! 🚀
d4fd83b to84af875Compare
zou3519 left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
do you have a before and after of the new stack trace?
angelayi commentedApr 11, 2025
Updated the PR summary to include the stacktrace! |
torch/fx/proxy.py Outdated
| frame.filename.endswith("fx/_symbolic_trace.py") | ||
| orframe.filename.endswith("export/_trace.py") |
Skylion007Apr 14, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
| frame.filename.endswith("fx/_symbolic_trace.py") | |
| orframe.filename.endswith("export/_trace.py") | |
| frame.filename.endswith(("fx/_symbolic_trace.py","export/_trace.py")) |
Faster and more efficient
Uh oh!
There was an error while loading.Please reload this page.
zou3519 left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
looks fine but it would be nice to have a test
53839e3 to6e4942eCompareUh oh!
There was an error while loading.Please reload this page.
6e4942e to8098b0cCompare8098b0c to9988b11Compareangelayi commentedApr 22, 2025
@pytorchbot merge |
pytorchmergebot commentedApr 22, 2025
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in thewiki. Questions? Feedback? Please reach out to thePyTorch DevX Team |
Uh oh!
There was an error while loading.Please reload this page.
Filtering out the stacktrace so that the stacktrace on nodes when using fx.Tracer looks nicer. I just copied the filtering we have inproxy_tensor.py.
Previously the stacktrace looked like:
Now it looks like:
cc@ezyang@SherlockNoMad@EikanWang@jgong5@wenzhe-nrv