stable-diffusion-webui-docker
stable-diffusion-webui-docker copied to clipboard
Unexpected error from cudaGetDeviceCount()
Has this issue been opened before?
Describe the bug
With the current Nvidia Driver from 2024-05-21 (version 555.85) the container does not start with the issue being:
RuntimeError: Unexpected error from cudaGetDeviceCount(). Did you run some cuda functions before calling NumCudaDevices() that might have already set an error? Error 500: named symbol not found
From my research this comes from a version mismatch between the CUDA components. I tried to find an updated version for
FROM pytorch/pytorch:2.1.2-cuda12.1-cudnn8-runtime
With the CUDA 12.5 version but i couldn't find it yet. My solution was to downgrade my NVIDIA drivers to version 552.44 which made it work again.
Which UI
tested with auto
Hardware / Software
- OS: Windows 10
- OS version: 22H2
- Docker Version: 26.1.1
- Docker compose version: v2.27.0-desktop.2
- Repo version: latest
- RAM: 64GB
- GPU/VRAM: RTX 3080
Additional context I opened this mainly for reference if other people start struggling