主要問題 kernel version 444.11 does not match DSO version 474.130.0
驅(qū)動(dòng)版本過低導(dǎo)致
1. 先找到顯卡的驅(qū)動(dòng)信息,在Download Drivers | NVIDIA
這找到對應(yīng)的顯卡驅(qū)動(dòng)并下載
2. **安裝驅(qū)動(dòng) sudo chmod +x ****nvidia.run **
3. 可能遇到安裝問題
切換到管理員
init 3
$ sh NIVIDIA-Linux-x86_64-295.53.run
依次輸入按照默認(rèn)選項(xiàng)完成安裝即可
4. 安裝docker
如果之前安裝舊版本渴杆,需要先卸載:
$ sudo apt-get remove docker docker-engine docker.io containerd runc
$ apt-get update
$ sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
$ sudo apt-key fingerprint 0EBFCD88
$ sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
(lsb_release -cs) \
test"
$ sudo apt-get update
$ sudo apt-get install docker-ce docker-ce-cli containerd.io
接下來安裝docker-cudatoolkit
$ distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
$ curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -
$ curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.repo | sudo tee /etc/yum.repos.d/nvidia-docker.repo
$ curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list
$ sudo apt-get update && sudo apt-get install -y nvidia-container-toolkit
$ sudo systemctl restart docker
$ sudo docker run -it --gpus "device=0" --rm -v /home/user/test1206:/siton -p 8502:8502 siton:2.5 bash
也不知道哪些才是有用的,執(zhí)行了這些docker就能跑了