pytorch
bda9d7ba - [pytorch][2/3] Pytorch profiler permits CPU events with CUPTI Range profiler mode (#97048)

Commit
1 year ago
[pytorch][2/3] Pytorch profiler permits CPU events with CUPTI Range profiler mode (#97048) Summary: ## Motivation Initial version of CUPTI Range profile was conservative in turning of all other event types in kineto/pytorch profiler. However, there is value in enabling CPU side activity logging. This let's us correlate the CPU operator -> GPU kernel statistics, helps us analyze flops/other performance metrics at the operator level. ## Details 1. Update pytorch profiler experimental configs parsing to allow setting CPU activities along with range profiler. Only enable on per kernel measurement mode. 1. Fixed Clang tidy issues (added nolint for 2 of them) Test Plan: Testplan see bottom diff Differential Revision: D44165079 Pull Request resolved: https://github.com/pytorch/pytorch/pull/97048 Approved by: https://github.com/aaronenyeshi
Author
Committer
Parents
Loading