nvprof: Warning: The user does not have permission to profile on the target device.

Hi,

There was a correction made to the web site.

The command you should be using to allow profiling tools access to the GPU performance counters should be

modprobe nvidia NVreg_RestrictProfilingToAdminUsers=0

This should resolve your issue.
For persistence across reboots, we’d recommend adding this to a /etc/modprobe.d config file as mentioned on
https://developer.nvidia.com/ERR_NVGPUCTRPERM

Sorry for the misinformation.

1 Like