Hi, I run ncu command as a root user, but why I still got this error:
==ERROR== ERR_NVGPUCTRPERM - The user does not have permission to access NVIDIA GPU Performance Counters on the target device 0. For instructions on enabling permissions and to get more information see https://developer.nvidia.com/ERR_NVGPUCTRPERM
You need to enable access to performance counters outside of docker, or ensure docker is run as root and retains root’s privileges for the user inside the container. Being “root” in the container alone is meaningless for the sake of allowing access to the performance counters, as these accesses are validates by the kernel module.