[feature] add auto install driver for ubuntu
This commit is contained in:
parent
345ea0f46d
commit
f10044bbaf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user