Getting Started with Intel Gaudi Profiler

This guide provides simple steps to easily profile Intel Gaudi software applications without making any changes to the code.

  1. Modify a configuration file in the Intel Gaudi profiling subsystem.

$ hl-prof-config -e off -phase=multi-enq -g 1-20 -s my_profiling_session
  1. Set an environment variable to enable the Intel Gaudi profiling subsystem.

  1. Execute any Intel Gaudi software-based application (such as PyTorch or the Intel Gaudi software API). Once done, you should be able to locate a file with my_profiling_session prefix and .hltv suffix in your working directory.

  2. Upload the file to and view the API calls and hardware trace events.



The hl-prof-config command is configured to capture the model execution from the first graph launch until the 20th graph launch. If it appears that some significant part of the model is missing, you can modify the hl-prof-config flag to -g 1-20.