Skip to content

Instantly share code, notes, and snippets.

@kyeshmz
Last active September 9, 2019 07:43
Show Gist options
  • Save kyeshmz/50ce934fda8ee06b0ffa772250ef5cb6 to your computer and use it in GitHub Desktop.
Save kyeshmz/50ce934fda8ee06b0ffa772250ef5cb6 to your computer and use it in GitHub Desktop.

Revisions

  1. kyeshmz revised this gist Sep 9, 2019. 3 changed files with 17 additions and 1 deletion.
    10 changes: 9 additions & 1 deletion Setup.sh
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,10 @@
    echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/extras/CUPTI/lib64' >> ~./bashrc

    wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.0.130-1_amd64.deb
    sudo dpkg -i cuda-repo-ubuntu1804_10.0.130-1_amd64.deb
    sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
    sudo apt-get update
    wget http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb
    sudo apt install ./nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb
    sudo apt-get update
    sudo apt-get install --no-install-recommends nvidia-driver-418
    sudo reboot
    7 changes: 7 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    nvidia-smi
    sudo apt-get install --no-install-recommends \
    cuda-10-0 \
    libcudnn7=7.4.1.5-1+cuda10.0 \
    libcudnn7-dev=7.4.1.5-1+cuda10.0

    sudo reboot
    1 change: 1 addition & 0 deletions gistfile2.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    nvidia-smi
  2. kyeshmz created this gist Sep 9, 2019.
    2 changes: 2 additions & 0 deletions Setup.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/extras/CUPTI/lib64' >> ~./bashrc