[feature] add auto install driver for ubuntu

This commit is contained in:
Klesh Wong 2021-01-04 16:25:17 +08:00
parent 345ea0f46d
commit f10044bbaf

View File

@ -9,6 +9,8 @@ DIR=$(dirname "$(readlink -f "$0")")
# install deep learning tools
case "$PM" in
apt)
# auto install nvidia driver
sudo ubuntu-drivers autoinstall
# cuda
. /etc/lsb-release
if [ "$DISTRIB_RELEASE" = "18.04" ] && [ "$(uname -m)" = 'x86_64' ]; then