-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Feature] Add PyTorch Profiler to analyze training process #937
Conversation
Codecov Report
@@ Coverage Diff @@
## master #937 +/- ##
==========================================
- Coverage 65.73% 64.53% -1.21%
==========================================
Files 150 152 +2
Lines 9517 9761 +244
Branches 1726 1776 +50
==========================================
+ Hits 6256 6299 +43
- Misses 2938 3136 +198
- Partials 323 326 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
ping @xvjiarui |
Profiler is a tool that allows the collection of the performance metrics during the training and inference. More details on Profiler can be found at https://pytorch.org/docs/1.8.1/profiler.html#torch.profiler.profile
> tensorboard --logdir=work_dir
Modify the
num_worker
according to thePerformance Recommendation
.As we can see, the consumption time of
DataLoader
is reduced.Reference: