NvidiaのドライバやCUDAがインストールされていない場合にGPUの存在を確認するコマンド | VasteeLab

lspci | grep -i nvidia lspci: command not found がでた場合は, apt install pciutils ...