일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
- Anaconda
- TensorFlow
- face_recognition
- python3
- pyTorch
- object detection
- 딥러닝
- install
- python
- Deep Learning
- YouTube 8M
- linux
- ppc64le
- ubuntu
- dataset
- colab
- colaboratory
- urllib
- Windows 10
- keras
- Jupyter notebook
- windows
- FIle
- gpu memory
- shakeratos
- dlib
- raspberry pi
- error
- download
- CUDA
- Today
- Total
Shakerato
Nvidia Driver and CUDA install on ppc64le Ubuntu 본문
[Uninstall all installed]
dpkg -l | grep -i nvidia
sudo apt-get remove --purge '^nvidia-.*'
dpkg -l | grep -i cuda
sudo apt-get remove --purge '^cuda-.*'
[Install nvidia-driver]
Download nvidia-driver file from nvidia website (I'm trying to install version 410.x)
dpkg -i nvidia-driver-local-repo-ubuntu1604-410.x_ppc64el.deb
apt-get update
apt-cache search nvidia
sudo apt-get install nvidia-410
{REBOOT your computer}
apt-get install dkms nvidia-modprobe
cat /proc/driver/nvidia/version
>410.x
nvidia-smi
>410.x
[Install CUDA, when you install CUDA, nvidia driver is also automatically installed]
Search a repo file what you want on this website
http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/ppc64el
Download this file and upload to your server (I'm trying to install CUDA 9.2) http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/ppc64el/cuda-repo-ubuntu1604_9.2.148-1_ppc64el.deb
dpkg -i cuda-repo-ubuntu1604_9.2.148-1_ppc64el.deb
apt-get update
apt-cache search cuda
apt-get install cuda-9-2
{REBOOT your computer}
apt install nvidia-cuda-toolkit
nvidia-smi
> cuda 10.x (I don't know why it displays cuda 10.x)
nvcc --version
> Cuda compilation tools 7.x
cat /usr/local/cuda/version.txt
> cuda 9.2
[Install cudnn]
Download from https://developer.nvidia.com/rdp/cudnn-download
I select CUDADownload cuDNN v7.6.4 for CUDA 9.2
- Library for Linux and Ubuntu (Power architecture)
, download file 'cuDNN Library for Linux(Power)' , and upload to server
sudo tar -xvf cudnn-9.2-linux-ppc64le-v7.6.4.38.solitairetheme8 -C /usr/local
cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2
> #define CUDNN_MAJOR 7
'Research' 카테고리의 다른 글
slow texting through ssh (0) | 2019.10.10 |
---|---|
pytorch load pre-trained model, Missing key(s) in state_dict (0) | 2019.10.09 |
apt-get error 'Couldn't create temporary file ...' (0) | 2019.10.07 |
리눅스 한글 문제 해결 ('ascii' codec can't encode characters) (0) | 2019.08.19 |
apache (httpd) web server setup on ppc64le server (0) | 2019.04.23 |