查看gpu信息
1、lspci | grep -i nvidia
11:00.0 3D controller: NVIDIA Corporation Device 1eb8 (rev a1)
2、nvidia-smi
+-----------------------------------------------------------------------------+ | NVIDIA-SMI 515.48.07 Driver Version: 515.48.07 CUDA Version: 11.7 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |===============================+======================+======================| | 0 Tesla T4 Off | 00000000:11:00.0 Off | 0 | | N/A 54C P0 29W / 70W | 1227MiB / 15360MiB | 0% Default | | | | N/A | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=============================================================================| | 0 N/A N/A 18968 C python 1223MiB | +-----------------------------------------------------------------------------+
3、根据lspic查到的设备型号去查询
http://pci-ids.ucw.cz/mods/PC/10de?action=help?help=pci