When i run dlprof to profile tensort sample sample_onnx_mnist, there is error happening as below:
Exported successfully to
/tmp/nsys-report-5ba1-d87b-4be6-92c6.sqlite
Report file moved to “/usr/src/tensorrt/bin/./output-mnist/nsys_profile.qdstrm”
Report file moved to “/usr/src/tensorrt/bin/./output-mnist/nsys_profile.qdrep”
Report file moved to “/usr/src/tensorrt/bin/./output-mnist/nsys_profile.sqlite”
[DLProf-11:34:23] DLprof completed system call successfully
[DLProf-11:34:23] Initializing Nsight Systems database
[DLProf-11:34:23] Reading System Information from Nsight Systems database
[DLProf-11:34:23] Reading Domains from Nsight Systems database
[DLProf-11:34:23] Error Occurred:
[DLProf-11:34:23] Nsight Systems did not detect any NVTX traces. Please check your script and try again.
cmd line:
dlprof --mode=tensorrt --output_path ./output-mnist/ ./sample_onnx_mnist
But the sample char-rnn can be profiled using dlprof, so my question is whether need user to annotate source code manually using NVTX for tensorrt?