While I’m trying to use dlprof to profile a simple Pytorch task. I got such an error:
#dlprof --mode pytorch -f true python dltest.py
[DLProf-06:34:55] Creating Nsys Scheduler
[DLProf-06:34:55] RUNNING: nsys profile -t cuda,nvtx -s none --show-output=true --force-overwrite=true --export=sqlite -o ./nsys_profile python dltest.py
Collecting data…
=====YES
Processing events…
Saving temporary “/tmp/nsys-report-38e3-4bee-d9be-c8a9.qdstrm” file to disk…
Creating final output files…
Processing [===============================================================100%]
Saved report file to “/tmp/nsys-report-38e3-4bee-d9be-c8a9.qdrep”
Exporting 846911 events: [=================================================100%]
Exported successfully to
/tmp/nsys-report-38e3-4bee-d9be-c8a9.sqlite
Report file moved to “/home/admin/hippo/worker/slave/xdl-456f8f0b1a83_xdl-456f8f0b1a83-worker_S313538_16_23/binary/xdl_python_package/./nsys_profile.qdrep”
Report file moved to “/home/admin/hippo/worker/slave/xdl-456f8f0b1a83_xdl-456f8f0b1a83-worker_S313538_16_23/binary/xdl_python_package/./nsys_profile.sqlite”
[DLProf-06:35:18] DLprof completed system call successfully
[DLProf-06:35:20] Initializing Nsight Systems database
[DLProf-06:35:20] Error Occurred:
[DLProf-06:35:20] near “(”: syntax error
Query: SELECT Count(*) FROM pragma_table_info(‘CUPTI_ACTIVITY_KIND_KERNEL’) WHERE name = ‘kernel_name’;
(python3.6.13)
Appreciate for any suggestion