-
-
Save charly-vega/6b1cd7112fcad9404e90aaa98f05d8d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum update -y | |
# load the latest kernel version, really dont skip this | |
sudo reboot | |
# http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/accelerated-computing-instances.html#install-nvidia-driver | |
sudo yum install -y gcc kernel-devel-`uname -r` | |
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/375.66/NVIDIA-Linux-x86_64-375.66.run | |
sudo /bin/bash ./NVIDIA-Linux-x86_64-375.66.run --no-drm | |
# load the kernel update | |
sudo reboot | |
# configure the GPU settings to be persistent | |
sudo nvidia-smi -pm 1 | |
# disable the autoboost feature for all GPUs on the instance | |
sudo nvidia-smi --auto-boost-default=0 | |
# set all GPU clock speeds to their maximum frequency | |
sudo nvidia-smi -ac 2505,875 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment