-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[feat] Add PyTorch Profiler. #5560
Conversation
Hello @tchaton! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-01-26 09:46:02 UTC |
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.
Some comments, I still need to pull this branch and play with it.
Also we want to check the docs render correctly and add this to https://pytorch-lightning.readthedocs.io/en/stable/profiler.html
Codecov Report
@@ Coverage Diff @@
## release/1.2-dev #5560 +/- ##
================================================
- Coverage 93% 92% -0%
================================================
Files 153 153
Lines 10743 10870 +127
================================================
+ Hits 9941 10054 +113
- Misses 802 816 +14 |
looks good to me. |
Nice work @tchaton and @quinor! Few questions:
|
Hey @SeanNaren The wall clock time is from my experience extended by the overhead of the profiling, that's definitely a good point to add to the docs. As for the multinode/multigpu, I would expect it to either fail in a weird way or profile a single worker in the ddp mode, but we did not test its behavior I don't think. I did not think of adding this to the docs since I was basing my code on the |
@tchaton let's add a note about this!
Totally fine! Let's just add a small note in the docs that this is not tested using DDP/Multiple processes, and we can address this in a follow up PR. |
Hey @SeanNaren, great comment ! I just added support for DDP :) Best, |
Co-authored-by: Sean Naren <[email protected]>
What does this PR do?
This PR adds support for PyTorch Profiler and the following features.
Fixes # (issue) <- this links related issue to this PR
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:
Did you have fun?
Make sure you had fun coding 🙃