1. NVIDIA Graphic driver

https://www.nvidia.co.kr/Download/index.aspx?lang=kr

https://gist.github.com/wangruohui/df039f0dc434d6486f5d4d098aa52d07

 

2. CUDA

https://developer.nvidia.com/cuda-downloads

$ export PATH=/usr/local/cuda/bin${PATH:+:${PATH}}

$ export LD_LIBRRRARY_PATH=/usr/local/cuda/lib74\${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

$ source ~/.bashrc

$ export CUDA_HOME=/usr/local/cuda

$ nvcc --version

 

3. CUDNN

https://developer.nvidia.com/rdp/cudnn-download

$ sudo tar -xzvf cudnn-9.0-linux-x64-v7.0.tgz 

$ cd cuda

$ sudo cp include/cudnn.h /usr/local/cuda/include

$ sudo cp lib64/libcudnn* /usr/local/cuda/lib64

$ sudo chmod a+r /usr/local/cuda/lib64/libcudnn*

$ cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2

 

 

4. ANACONDA (PATH)

export PATH=~/anaconda3/bin:$PATH

sudo chmod 777 -R /home/marek/anaconda3

 

5. PYTORCH

https://pytorch.org/

 

6. GOOGLE FUSE

https://github.com/GoogleCloudPlatform/gcsfuse/blob/master/docs/installing.md

https://cloud.google.com/sdk/downloads?authuser=2&hl=ko#apt-get

Mount with permission:

sudo gcsfuse -o allow_other --gid 0 --uid 0 --file-mode 777 --dir-mode 777 ssh_train ~/bucket/

 

7. Mount cloud storage

https://psychoria.tistory.com/521

sudo chmod 777 /data

 

 

reference

https://gist.github.com/wangruohui/df039f0dc434d6486f5d4d098aa52d07

 

+ Recent posts