Skip to content

[Bug]: Torch is not able to use GPU #571

Open
@gendalv

Description

Checklist

  • The issue exists after disabling all extensions
  • The issue exists on a clean installation of webui
  • The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • The issue exists in the current version of the webui
  • The issue has not been reported before recently
  • The issue has been reported before but has not been fixed yet

What happened?

I've managed to install original AUTOMATIC1111 ~3 years ago and it's still working, because magic, but it doesn't have sdxl support (models aren't loading), so I'm trying to upgrade.

I've tried github/SD portable, but I'm getting the same message, if I add the recommended in the message command to the webui-user.bat - it launches, but it doesn't load any models, including the older SD1.5 based.

So I'm trying this now, since it's supposed to be AMD-specific.

I'm not using command line or .sh files

Steps to reproduce the problem

download stable-diffusion-webui-amdgpu-1.10.0-amd.zip
run webui-user.bat
run again webui-user.bat get stuck on that message

What should have happened?

happiness

What browsers do you use to access the UI ?

No response

Sysinfo

same as in the version that works:
windows 11
6600xt + 12gen intel + 32gb
Python 3.10.6, Git portable

Console logs

'core' is not recognized as an internal or external command,
operable program or batch file.
'core' is not recognized as an internal or external command,
operable program or batch file.
'core' is not recognized as an internal or external command,
operable program or batch file.
'core' is not recognized as an internal or external command,
operable program or batch file.
'core' is not recognized as an internal or external command,
operable program or batch file.
'core' is not recognized as an internal or external command,
operable program or batch file.
'core' is not recognized as an internal or external command,
operable program or batch file.
'core' is not recognized as an internal or external command,
operable program or batch file.
venv "D:\Stable Diffusion AMDgpu\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: 1.10.0
Commit hash: <none>
Traceback (most recent call last):
  File "D:\Stable Diffusion AMDgpu\launch.py", line 48, in <module>
    main()
  File "D:\Stable Diffusion AMDgpu\launch.py", line 39, in main
    prepare_environment()
  File "D:\Stable Diffusion AMDgpu\modules\launch_utils.py", line 587, in prepare_environment
    raise RuntimeError(
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check

Additional information

No response

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions