DL Prof error

Hi,
I am using DLprof to measure. I have 2 issues.

1. When i use dlprof to run python file. Error listed below
[DLProf-08:46:53] DLprof completed system call successfully
[DLProf-08:46:54] Initializing Nsight Systems database
[DLProf-08:46:54] Error Occurred:
[DLProf-08:46:54] no such table: main.CUPTI_ACTIVITY_KIND_RUNTIME
Query: CREATE INDEX runtime_start ON CUPTI_ACTIVITY_KIND_RUNTIME (start);

Thought the file is nsys_profile.sqlite and nsys_profile.qdrep is created. I am unable to run it using dlprofviewer

2. With the sqlite file. I see the below error
dlprofviewer nsys_profile.sqlite
Traceback (most recent call last):
File “/home/arko/workspace/camper/dist/export/python/virtualenv/3.10.11/bin/dlprofviewer”, line 8, in
sys.exit(main())
File “/home/arko/workspace/camper/dist/export/python/virtualenv/3.10.11/lib/python3.10/site-packages/dlprofviewer/main.py”, line 58, in main
raise ValueError(msg)
ValueError: The file specified “nsys_profile.sqlite” is not a DLProf database. If no dlprof database exists, there was an error running DLProf. Look at the DLProf output for errors.

My code snippet is simple

nvtx.init(enable_function_stack=True)
with torch.autograd.profiler.emit_nvtx():
for epoch:
for batch :
train

❯sqlite3 --version
3.41.2 2023-03-22 11:56:21 0d1fc92f94cb6b76bffe3ec34d69cffde2924203304e8ffc4155597af0c191da

❯ dlprof --version
NVIDIA (R) Deep Learning Profiler
Copyright (c) 2019-2021 NVIDIA Corporation
v1.8.0 built on 2021-12-01 08:22:18 (Build 29839685)

Hi arkos, unfortunately DLProf has been sunset and is no longer supported. We recommend that you try nsight systems or the native pytorch profiler.