How to profile model training? #8754
Unanswered
systemdevart
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Nvprof is deprecated since a year or two. The recommended way is below - https://pytorch.org/tutorials/recipes/recipes/profiler_recipe.html You can also use Nsys profiler directly by setting up the code locally in editable mode, and pytorchs tools - https://dev-discuss.pytorch.org/t/using-nsight-systems-to-profile-gpu-workload/59 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the official PyTorch documentation, there is a recommendation to use nvprof, but after starting the training script using nvprof, it simply exits with the warning:
For dlprof, there is no clear way to use it with Pytorch Lightning, so my question is: what is the recommended way to profile the model training?
Beta Was this translation helpful? Give feedback.
All reactions