DSight is the DNNDK performance profiling tool. It is a visual performance analysis tool for neural network model profiling. The following figure shows its usage.
By processing the log file produced by the N2cube tracer, DSight can generate an html file, which provides a visual analysis interface for the neural network model. The steps below describe how to use the profiler:
- Set N2Cube to profile mode using the command
dexplorer -m profile.
- Run the deep learning application. When finished, a profile file with
dpu_trace_[PID].profis generated for further checking and analysis (
PIDis the process ID of the deep learning application).
- Generate the html file with the DSight tool using the command:
dsight -p dpu_trace_[PID].prof. An html file with the name
- Open the generated html file with web browser.