runtime支持的系统和平台

https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html


ubuntu安装 nvidia-docker2


centos8 runtime安装
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/building_running_and_managing_containers/index

查看信息

#查看驱动版本
cat /proc/driver/nvidia/version
#查看gpu日志
cat /var/log/dpkg.log |grep nvidia

#查看显示
lspci |grep -i vga

nvidia-smi命令详解

https://blog.csdn.net/huangfei711/article/details/79230446

lspci | grep NVIDIA
nvidia-smi
nvidia-smi topo -m
#查看授权信息
nvidia-smi -q | grep -A 4 vGPU


watch -n 10 nvidia-smi #周期查看-n后边跟的是s为单位

gpu使用率为0

tensorflow-gpu版本和cuda不一致

虚拟gpu参考
https://askubuntu.com/questions/1379119/how-to-set-the-numa-node-for-an-nvidia-gpu-persistently