背景介绍
- 在用docker安装部署m3e-large向量模型时报错
解决方案
-
CentOS出现docker: Error response from daemon: could not select device driver “” with capabilities: [[gpu]].
distribution=$(. /etc/os-release;echo $ID$VERSION_ID) && curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.repo | sudo tee /etc/yum.repos.d/nvidia-docker.repo yum clean expire-cache yum install -y nvidia-docker2 systemctl restart docker