Skip to content

Guide to debugging in PyTorch#8998

Merged
yaoshiang merged 4 commits intomasterfrom
8997-add-guide-to-debugging
Apr 20, 2025
Merged

Guide to debugging in PyTorch#8998
yaoshiang merged 4 commits intomasterfrom
8997-add-guide-to-debugging

Conversation

@yaoshiang
Copy link
Copy Markdown
Collaborator

@yaoshiang yaoshiang commented Apr 17, 2025

This is a guide to debugging in PyTorch only.
I am not adding it to the top level TOC because I have a refactor of that coming soon.

This will be the start to eventually add PyTorch/XLA C++ debugging as a feature. But the first thing to do was to establish stable instructions for PyTorch C++ debugging.

PDF of rendered MD:
cpp_debugger.md.pdf

@yaoshiang yaoshiang requested a review from qihqi April 17, 2025 18:40
@yaoshiang yaoshiang linked an issue Apr 17, 2025 that may be closed by this pull request
Copy link
Copy Markdown
Collaborator

@qihqi qihqi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome!

Copy link
Copy Markdown
Collaborator

@mikegre-google mikegre-google left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few suggestions, otherwise it looks good.

Comment thread docs/source/contribute/cpp_debugger.md Outdated
Comment thread docs/source/contribute/cpp_debugger.md Outdated
Comment thread docs/source/contribute/cpp_debugger.md Outdated
Comment thread docs/source/contribute/cpp_debugger.md Outdated
@yaoshiang yaoshiang enabled auto-merge (squash) April 18, 2025 23:15
@yaoshiang yaoshiang merged commit 39aef3a into master Apr 20, 2025
64 of 68 checks passed
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

Successfully merging this pull request may close these issues.

Add guide to debugging

3 participants