Last active
March 13, 2020 15:58
-
-
Save bkbilly/12eb72686af9c816094f792762ab601a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
apt install python3-pip htop lm-sensors | |
pip3 install --upgrade pip | |
apt remove python3-wrapt | |
apt remove python3-scipy | |
apt install cmake libncurses5-dev libncursesw5-dev git | |
git clone https://github.com/Syllo/nvtop.git | |
mkdir -p nvtop/build | |
cd nvtop/build | |
cmake .. | |
cmake .. -DNVML_RETRIEVE_HEADER_ONLINE=True | |
make | |
make install | |
cd ~ | |
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.1.243-1_amd64.deb | |
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub | |
dpkg -i cuda-repo-ubuntu1804_10.1.243-1_amd64.deb | |
wget http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb | |
apt install ./nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb | |
apt-get update | |
apt-get install --no-install-recommends nvidia-driver-430 | |
apt-get install --no-install-recommends cuda-10-1 libcudnn7=7.6.4.38-1+cuda10.1 libcudnn7-dev=7.6.4.38-1+cuda10.1 | |
apt-get install -y --no-install-recommends libnvinfer6=6.0.1-1+cuda10.1 libnvinfer-dev=6.0.1-1+cuda10.1 libnvinfer-plugin6=6.0.1-1+cuda10.1 | |
pip3 install tensorflow-gpu | |
pip3 install matplotlib opencv-python numpy | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment