-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nvidia-container-cli: mount error #2
Comments
Are you using Windows Docker? Our image is packaged on Linux, and when loaded on Windows, it encounters Nvidia-related errors for which there is currently no solution. We plan to package a Windows version of the Docker image. |
Or you can refer to NVIDIA/nvidia-container-toolkit#289. You need to delete some Nvidia-related .so files in the container and then repackage the image. |
I use WSL2 on Windows, any solution for WSL2? |
thx, I will try |
I try the solution, and successfully enter the front end page
But new problem came out, all the apis (eg. /api/local_doc_qa/list_knowledge_base) are not working and return 502 error |
You can build a new Dockerfile and remove that files: # 基于现有镜像
FROM freeren/qanything:v1.0.7
# 执行删除操作
RUN rm -rf /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1 /usr/lib/x86_64-linux-gnu/libcuda.so.1 /usr/lib/x86_64-linux-gnu/libcudadebugger.so.1 /usr/lib/x86_64-linux-gnu/libnvidia-encode.so.1 /usr/lib/x86_64-linux-gnu/libnvidia-opticalflow.so.1 /usr/lib/x86_64-linux-gnu/libnvcuvid.so.1
|
after I run the commnad
docker-compose up -d
the following error came out
[error ](nvidia-container-cli: mount error: file creation failed: /var/lib/docker/overlay2/72dc9ee5772968b2295c4827d10cc1ad8f74b2f241cae14396bf28f457537848/merged/usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1: file exists: unknown)
The text was updated successfully, but these errors were encountered: