|
@@ -11,18 +11,18 @@ fi
|
|
|
|
|
|
if [ ! -f /home/wareck/.cuda_install ]
|
|
if [ ! -f /home/wareck/.cuda_install ]
|
|
then
|
|
then
|
|
-if [ ! -f cuda_12.3.2_545.23.08_linux.run ]
|
|
|
|
|
|
+if [ ! -f cuda_12.4.0_550.54.14_linux.run ]
|
|
then
|
|
then
|
|
-wget https://developer.download.nvidia.com/compute/cuda/12.3.2/local_installers/cuda_12.3.2_545.23.08_linux.run
|
|
|
|
|
|
+wget wget https://developer.download.nvidia.com/compute/cuda/12.4.0/local_installers/cuda_12.4.0_550.54.14_linux.run
|
|
fi
|
|
fi
|
|
-chmod +x cuda_12.3.2_545.23.08_linux.run
|
|
|
|
|
|
+chmod +x cuda_12.4.0_550.54.14_linux.run
|
|
sudo service lightdm stop
|
|
sudo service lightdm stop
|
|
touch /home/wareck/.cuda_install
|
|
touch /home/wareck/.cuda_install
|
|
sudo init 3
|
|
sudo init 3
|
|
fi
|
|
fi
|
|
echo "Updating ..."
|
|
echo "Updating ..."
|
|
sudo rm /tmp/.X1-lock
|
|
sudo rm /tmp/.X1-lock
|
|
-sudo ./cuda_12.3.2_545.23.08_linux.run --silent --driver
|
|
|
|
|
|
+sudo ./cuda_12.4.0_550.54.14_linux.run --silent --driver
|
|
sudo rm /home/wareck/.cuda_install
|
|
sudo rm /home/wareck/.cuda_install
|
|
|
|
|
|
if [ -f .foxy ]
|
|
if [ -f .foxy ]
|