Created
June 6, 2017 19:53
-
-
Save Mikulas/b7c44f5c7d29571e5d745c2edf0ca4bc 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 | |
# 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