StabilityMatrix icon indicating copy to clipboard operation
StabilityMatrix copied to clipboard

AssertionError: Torch not compiled with CUDA enabled

Open hankfogler opened this issue 1 year ago • 3 comments

AssertionError: Torch not compiled with CUDA enabled

I'm getting this error "AssertionError: Torch not compiled with CUDA enabled" when I am trying to launch a package called Stable Diffusion WebUI AMDGPU Forge.

Steps to reproduce

No response

Relevant logs


Version

v2.14.0

What Operating System are you using?

Windows

hankfogler avatar May 03 '25 23:05 hankfogler

Based on my experiments you need to do the following:

  • Check in Settings -> System Settings that your GPU is selected as Default GPU
  • Go to the Package directory of your chosen UI and delete the venv folder
  • Launch your package from the SM interface. It will see that it's missing a lot of things and install them. After this installation process it wil launch your UI. In my case it errored out the first time, but clicking restart solved that. I'm not using an AMD GPU, but a Nvidia RTX 5000 Mobile GPU. I did have the same issue though

bakker avatar May 20 '25 12:05 bakker

This issue is stale because it has been open 60 days with no activity. Remove the stale label or comment, else this will be closed in 7 days.

github-actions[bot] avatar Jul 20 '25 02:07 github-actions[bot]

This issue was closed because it has been stale for 7 days with no activity.

github-actions[bot] avatar Jul 27 '25 02:07 github-actions[bot]