mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #2527] issue: Unable to run CUDA variant #12917
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @netphantom on GitHub (May 23, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/2527
Bug Report
Description
The command shown in the README does not allow to run the open-webui version with CUDA support
Bug Summary:
[Provide a brief but clear summary of the bug]
I run the command:
docker run -d -p 3000:8080 --gpus all --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:cudaBut the container returns an error:
Steps to Reproduce:
Just run the command in the README.md.
Expected Behavior:
The delpoyed container with CUDA support
Actual Behavior:
The container crashes and does not startup
Environment
Open WebUI Version: latest
Ollama (if applicable): 0.1.31
Operating System: Manjaro
Browser (if applicable): [e.g., Chrome 100.0, Firefox 98.0]
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
See Bug error
Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Installation Method
CLI
Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
@hhuseyincihangir commented on GitHub (May 23, 2024):
I'm having the same problem.
@justinh-rahb commented on GitHub (May 23, 2024):
Recent version of either Docker Desktop + Nvidia driver for Windows, or Docker runtime + Nvidia driver + Nvidia container toolkit for Linux are required for CUDA support to work in containers.
@bigsk1 commented on GitHub (May 24, 2024):
Having same issue, was working a few days ago, new nvidia game ready drivers just were installed, my nvidia tool kit for linux hasn't changed - which was cuda-repo-wsl-ubuntu-12-2-local_12.2.1-1_amd64
Docker logs last lines
@jannikstdl commented on GitHub (May 24, 2024):
Can you provide us the content of
/etc/docker/daemon.jsonin your Linux or WSL Docker Environment?@netphantom commented on GitHub (May 24, 2024):
This is mine
@kelheor commented on GitHub (May 27, 2024):
I have similar issue:
I'm using WSL 2 / Ubuntu 22.04.3 LTS
@justinh-rahb commented on GitHub (May 27, 2024):
A number of people have reported issues with the recently released Nvidia driver and CUDA 12.5. We've seen reports of the issues being resolved if you downgrade to previously available versions.
@kelheor commented on GitHub (May 27, 2024):
I'm using CUDA 12.1
Any chance that it will be fixed on your side? Or better wait for the next driver from NVidia?
@Erik262 commented on GitHub (May 29, 2024):
Same here, but it worked flawlessly before when using the ollama server separately instead of having everything in one container, which I would prefer.
In my case its even not looking for GPU at all. but nvidia-smi command shows GPU correctly.

@zimdin12 commented on GitHub (May 29, 2024):
For me problems started after updating to nvidia driver version 555.85. confirmed in 2 PC's
I am now curious if ollama v.39 solves that problem (I shall give it a try)
Edit: i noticed that my error might be different. :)
@cliffwoolley commented on GitHub (May 29, 2024):
There might be multiple issues mixed here:
For those using WSL2 and NVIDIA Driver 555.xx reporting "named symbol not found" (@bigsk1 @kelheor @zimdin12 ), please see https://github.com/NVIDIA/nvidia-container-toolkit/issues/520 .
The OP from @netphantom however mentioned "CUDA unknown error" and did not specifically mention WSL2, which might therefore be different.
@bigsk1 commented on GitHub (May 30, 2024):
must be docker-desktop as referanced in the Nvidia Github, i just updated to 12.5 cuda toolkit on both wsl and windows. The fix is use older Nvidia driver or wait for bundled toolkit fix. Guess I'm running the :main :)
@netphantom commented on GitHub (May 30, 2024):
As reported in the first post, I am using Arch/Manjaro, no WSL for me :)
@HarukaRepo commented on GitHub (Sep 16, 2024):
Run on Geforce GTX 1660TI Mobile