stable-diffusion-webui-amdgpu-forge icon indicating copy to clipboard operation
stable-diffusion-webui-amdgpu-forge copied to clipboard

(WINDOWS) Failed to load ZLUDA: Could not find module 'D:\SDForgeZluda\stable-diffusion-webui-amdgpu-forge\.zluda\nvcuda.dll' (or one of its dependencies). Try using the full path with constructor syntax.

Open Foxystemn opened this issue 11 months ago • 2 comments

I reinstalled windows 10 with the "Update this device" instead of doing a fresh install, tried to run the webui but it gived me this error:

D:\SDForgeZluda\stable-diffusion-webui-amdgpu-forge>webui.bat venv "D:\SDForgeZluda\stable-diffusion-webui-amdgpu-forge\venv\Scripts\Python.exe" fatal: No names found, cannot describe anything. Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] Version: f2.0.1v1.10.1-1.10.1 Commit hash: ab451a8374777449deb51b4378c92d28b2eaf96a ROCm: agents=['gfx1100'] ROCm: version=6.2, using agent gfx1100 ZLUDA support: experimental Failed to load ZLUDA: Could not find module 'D:\SDForgeZluda\stable-diffusion-webui-amdgpu-forge.zluda\nvcuda.dll' (or one of its dependencies). Try using the full path with constructor syntax. Using CPU-only torch Installing requirements Launching Web UI with arguments: Traceback (most recent call last): File "D:\SDForgeZluda\stable-diffusion-webui-amdgpu-forge\launch.py", line 54, in main() File "D:\SDForgeZluda\stable-diffusion-webui-amdgpu-forge\launch.py", line 50, in main start() File "D:\SDForgeZluda\stable-diffusion-webui-amdgpu-forge\modules\launch_utils.py", line 677, in start import webui File "D:\SDForgeZluda\stable-diffusion-webui-amdgpu-forge\webui.py", line 21, in initialize_forge() File "D:\SDForgeZluda\stable-diffusion-webui-amdgpu-forge\modules_forge\initialization.py", line 58, in initialize_forge from backend import memory_management File "D:\SDForgeZluda\stable-diffusion-webui-amdgpu-forge\backend\memory_management.py", line 133, in total_vram = get_total_memory(get_torch_device()) / (1024 * 1024) File "D:\SDForgeZluda\stable-diffusion-webui-amdgpu-forge\backend\memory_management.py", line 100, in get_torch_device return torch.device(torch.cuda.current_device()) File "D:\SDForgeZluda\stable-diffusion-webui-amdgpu-forge\venv\lib\site-packages\torch\cuda_init_.py", line 1026, in current_device lazy_init() File "D:\SDForgeZluda\stable-diffusion-webui-amdgpu-forge\venv\lib\site-packages\torch\cuda_init.py", line 363, in _lazy_init raise AssertionError("Torch not compiled with CUDA enabled") AssertionError: Torch not compiled with CUDA enabled Presione una tecla para continuar . . .

I have a RX 7900 XTX, i used to have no errors, i tried installing HIP SDK Rocm 6.2 but i cant manage to make the webui work again,

Foxystemn avatar May 31 '25 03:05 Foxystemn

i have the latest AMD gpu driver too, i copied the zluda 3.9.5 files to my sdforge zluda folder but nothing happens

Foxystemn avatar May 31 '25 04:05 Foxystemn

Downgrade your AMD gpu driver to 25.4.1

Mimiloki avatar Jun 01 '25 11:06 Mimiloki