Open Carey8175 opened 8 months ago
@Carey8175 Please upgrade your docker-compose
(not docker compose
) version >= 2.23.3.
@songkq 我尝试升级docker-compose 目前版本为:v2.24.5 也有类似问题。
我也有同样的问题,目前的docker-compse也为v2.24.5
之后我尝试安装了NVIDIA Container Toolkit,现在可以了 参考这篇文章https://blog.csdn.net/qq_35395195/article/details/131413664
@Carey8175 Please upgrade your
docker-compose
(notdocker compose
) version >= 2.23.3.
大佬 UBUNtu 22 装了docker compose 没装docker-compose .也报这个错误 。一定要安装这个吗?
我也有同样的问题,目前的docker-compse也为v2.24.5
之后我尝试安装了NVIDIA Container Toolkit,现在可以了 参考这篇文章https://blog.csdn.net/qq_35395195/article/details/131413664 大佬 UBUNtu 22 装了docker compose 没装docker-compose .也装了 NVIDIA Container Toolkit。 也报这个错误 。一定要安装docker-compose吗?
我也有同样的问题,目前的docker-compse也为v2.24.5
之后我尝试安装了NVIDIA Container Toolkit,现在可以了 参考这篇文章https://blog.csdn.net/qq_35395195/article/details/131413664
重启电脑就好了
For WSL2, follow the guidance to install Nvidia docker toolkit and the problem could be solved. https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html#configuring-docker
我也遇到此问题,仍然未解决。ubuntu22.04, Nvidia显卡驱动已更新,也尝试了install Nvidia docker toolkit。 我的环境: Docker Compose version v2.26.1-desktop.1。启动方式 bash run.sh。 网上能查到的方案都试过了,期待大佬提示。
一样的错误,不知道什么原因
我安装这个后,就没这个错误了 sudo apt install nvidia-container-runtime sudo systemctl restart docker
nvidia-container-runtime已被 NVIDIA Container Toolkit 取代
安装container-toolkit:https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html#installing-with-apt
是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?
当前行为 | Current Behavior
指令:bash ./run.sh -c local -i 0 -b hf -m MiniChat-2-3B -t minichat error:Error response from daemon: could not select device driver "nvidia" with capabilities: [[gpu]]
期望行为 | Expected Behavior
我有NVIDIA driver root@DESKTOP-LJOHNFU:/opt/QAnything# nvidia-smi Thu Feb 1 00:41:23 2024 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 525.147.05 Driver Version: 546.17 CUDA Version: 12.3 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |===============================+======================+======================| | 0 NVIDIA GeForce ... On | 00000000:01:00.0 On | N/A | | 31% 45C P0 114W / 370W | 812MiB / 12288MiB | 3% Default | | | | N/A | +-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=============================================================================| | 0 N/A N/A 539 G /Xwayland N/A | +-----------------------------------------------------------------------------+
运行环境 | Environment
QAnything日志 | QAnything logs
No response
复现方法 | Steps To Reproduce
No response
备注 | Anything else?
No response