参考这里
echo 'options nvidia "NVreg_RestrictProfilingToAdminUsers=0"' >> /etc/modprobe.d/nsys.conf
后续在使用过程中会出现 /tmp/nsight-compute-lock
文件存在导致其他用户想要使用 ncu
时必须删掉该文件 (多数情况下是没有权限的). 解决方法:
TMP=$HOME/tmp ncu ...
> /etc/modprobe.d/nsys.conf 然后重新加载 NVIDIA 驱动. 后续在使用过程中会出现..." />
参考这里
echo 'options nvidia "NVreg_RestrictProfilingToAdminUsers=0"' >> /etc/modprobe.d/nsys.conf
后续在使用过程中会出现 /tmp/nsight-compute-lock
文件存在导致其他用户想要使用 ncu
时必须删掉该文件 (多数情况下是没有权限的). 解决方法:
TMP=$HOME/tmp ncu ...