[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
|
# install deep learning tools
|
||||||
case "$PM" in
|
case "$PM" in
|
||||||
apt)
|
apt)
|
||||||
|
# auto install nvidia driver
|
||||||
|
sudo ubuntu-drivers autoinstall
|
||||||
# cuda
|
# cuda
|
||||||
. /etc/lsb-release
|
. /etc/lsb-release
|
||||||
if [ "$DISTRIB_RELEASE" = "18.04" ] && [ "$(uname -m)" = 'x86_64' ]; then
|
if [ "$DISTRIB_RELEASE" = "18.04" ] && [ "$(uname -m)" = 'x86_64' ]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user