Enhancement: Add nsys and pytorch profiler debug trace support (#744)
To improve benchmark debugging, the following debug methods were added:
pytorch profiler in model benchmark
- SB_ENABLE_PYTORCH_PROFILER: switch to enable/disable
- SB_TORCH_PROFILER_TRACE_DIR: log path
These 2 runtime variables need to be configured in SB config file.
nsys in SB runner
- SB_ENABLE_NSYS: switch to enable/disable
- SB_NSYS_TRACE_DIR: log path
These 2 runtime variables need to be configured in runner's ENV
---------
Co-authored-by:
Hongtao Zhang <hongtaozhang@microsoft.com>
Showing
Please register or sign in to comment