3 ms·
It would be nice if there was an AMI for the latest LTS version of Ubuntu with the CUDA drivers installed and working. Last time I tried some CUDA work on AWS
by michaelt 12y ago
It would be nice if there was an AMI for the latest LTS version of Ubuntu with the CUDA drivers installed and working.
Last time I tried some CUDA work on AWS I spent the best part of a day trying to just get the drivers set up right for a basic test app to work on 14.04 - eventually I gave up and went back to 12.04 which, in 2015, didn't give me much confidence in CUDA as something I can expect decent support for.
- alepper 12y agoI have this kicking around from some experiments a month or two ago: sudo apt-get update sudo apt-get install build-essential linux-image-extra-virtual sudo reboot echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf cat > /etc/modprobe.d/blacklist-nouveau.conf blacklist nouveau blacklist lbm-nouveau options nouveau modeset=0 alias nouveau off alias lbm-nouveau off <Ctrl+D> sudo update-initramfs -u sudo reboot sudo apt-get install linux-headers-$(uname -r) wget http://uk.download.nvidia.com/XFree86/Linux-x86_64/346.35/NVIDIA-Linux-x86_64-346.35.run chmod +x NVIDIA-Linux-x86_64-346.35.run sudo ./NVIDIA-Linux-x86_64-346.35.run nvidia-smi -q | less This is obviously not production-ready, and is heavily cribbed from online (I couldn't quickly re-find where) but is good enough if you just want to play. EDIT: I think this was the original: http://ubuntuhandbook.org/index.php/2015/01/install-nvidia-346-35-ubuntu-1404/ http://ubuntuhandbook.org/index.php/2015/01/install-nvidia-3...
- moonbug 12y agoCanonical's packaging of the Nvidia drivers is risible. It really is easier just to pull the driver and CUDA installers from the nv site and install manually. Or use the Amazon Linux AMIs which just DTRT.
- msoad 12y agoYes, considering how expensive(in terms of price per hour) it is to just manually install drivers on those machines.