Skip to content

CUDA Installer tool v1.1.0

Latest
Compare
Choose a tag to compare
@m-strzelczyk m-strzelczyk released this 15 Jun 12:40
cuda-installer-v1.1.0
fb6dc2a

Changes

A security issue with NVIDIA drivers forced us to decouple the driver and toolkit installation, so we can install a secure driver.

The driver version installed now is 550.90.07 and CUDA Toolkit version is 12.5.0.

Requirements

The system on which you want to run the script needs to meet the following
requirements:

  • Python interpreter in version 3.6 or newer installed.
  • Access to Internet (the script needs to download the driver and CUDA toolkit).
  • At least one GPU unit attached.

Running the tool

The cuda_installer.pyz script needs to be executed with root privileges
(for example sudo python3 cuda_installer.pyz).

Note: During the installation the script will trigger system reboots. After a
reboot, the script needs to be started again to continue the installation process.

After successfully installation, the tool will restart your system once more to make
sure everything is initialized properly and working system-wide.

You can use the following script as a startup script for your instance, to make the installation automatic:

#!/bin/bash
if test -f /opt/google/cuda-installer
then
  exit
fi

mkdir -p /opt/google/cuda-installer/
cd /opt/google/cuda-installer/ || exit

curl -fSsL -O https://github.com/GoogleCloudPlatform/compute-gpu-installation/releases/download/cuda-installer-v1.1.0/cuda_installer.pyz
python3 cuda_installer.pyz install_cuda