Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print class name along with method in stack traces #65

Open
ezyang opened this issue Sep 13, 2024 · 0 comments
Open

Print class name along with method in stack traces #65

ezyang opened this issue Sep 13, 2024 · 0 comments

Comments

@ezyang
Copy link
Contributor

ezyang commented Sep 13, 2024

We often have something like foo.py:49 in forward, which is useless when there are a lot of modules in the same file. Printing instead MyFancyModule.forward would be better.

May need to adjust PyTorch side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant