You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
I've reinstalled VENV it didn't help
Steps to reproduce the problem
Installed the Automatic WebUI. and it just showed this problem.
By the documentation I've been instructed to post the enviroment. I've attached it in system info.
What should have happened?
The webUI should've started
What browsers do you use to access the UI ?
Google Chrome
Sysinfo
python -m torch.utils.collect_env
Output@
PyTorch version: 2.1.2+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A
OS: Microsoft Windows 11 Home
GCC version: Could not collect
Clang version: Could not collect
CMake version: Could not collect
Libc version: N/A
Python version: 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] (64-bit runtime)
Python platform: Windows-10-10.0.22631-SP0
Is CUDA available: False
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 3050 Laptop GPU
Nvidia driver version: 511.69
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
Happened to me this morning on an install that has been running fine for months. Updated extensions, (I think adetailer and controlnet updated), and when I re-launched the webui, got the same error. (Edit: Rolling back the extensions and disabling the extensions did not help.)
Updated Nvidia driver and CUDA, still got the same error.
What worked for me was re-installing Torch, (added --reinstall-torch to COMMANDLINE_ARGS in webui-user.bat), and re-running it. (Downloaded the latest Torch (about 2.5GB).)
(Remember to remove that parameter before you run it again or it'll install every time.)
(It did throw an error about Xformers, but I'm using --opt-sdp-attention instead and it didn't seem to affect anything.)
No xformers fit for torch-2.1.2+cu121. When u pip install any version xformers , the torch-2.1.2+cu121 will be uninstall automatically and install torch-2.1 or 2.3 automatically.
Checklist
What happened?
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
I've reinstalled VENV it didn't help
Steps to reproduce the problem
Installed the Automatic WebUI. and it just showed this problem.
By the documentation I've been instructed to post the enviroment. I've attached it in system info.
What should have happened?
The webUI should've started
What browsers do you use to access the UI ?
Google Chrome
Sysinfo
python -m torch.utils.collect_env
Output@
PyTorch version: 2.1.2+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A
OS: Microsoft Windows 11 Home
GCC version: Could not collect
Clang version: Could not collect
CMake version: Could not collect
Libc version: N/A
Python version: 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] (64-bit runtime)
Python platform: Windows-10-10.0.22631-SP0
Is CUDA available: False
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 3050 Laptop GPU
Nvidia driver version: 511.69
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Architecture=9
CurrentClockSpeed=3201
DeviceID=CPU0
Family=107
L2CacheSize=4096
L2CacheSpeed=
Manufacturer=AuthenticAMD
MaxClockSpeed=3201
Name=AMD Ryzen 7 5800H with Radeon Graphics
ProcessorType=3
Revision=20480
Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] torch==2.1.2+cu121
[pip3] torchvision==0.16.2+cu121
[conda] Could not collect
Console logs
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
The text was updated successfully, but these errors were encountered: