-
Notifications
You must be signed in to change notification settings - Fork 27.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
possible fix for empty list of optimizations #10605
- Loading branch information
1 parent
3f50b7d
commit b186045
Showing
2 changed files
with
29 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b186045
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this error casued by this fix?
Launching Web UI with arguments: --lowvram --no-half --xformers --skip-torch-cuda-test
Warning: caught exception 'No CUDA GPUs are available', memory monitor disabled
Traceback (most recent call last):
File "D:\Personal\AI\stable-diffusion-webui\launch.py", line 38, in
main()
File "D:\Personal\AI\stable-diffusion-webui\launch.py", line 34, in main
start()
File "D:\Personal\AI\stable-diffusion-webui\modules\launch_utils.py", line 334, in start
webui.webui()
File "D:\Personal\AI\stable-diffusion-webui\webui.py", line 366, in webui
initialize()
File "D:\Personal\AI\stable-diffusion-webui\webui.py", line 251, in initialize
initialize_rest(reload_script_modules=False)
File "D:\Personal\AI\stable-diffusion-webui\webui.py", line 291, in initialize_rest
modules.sd_hijack.list_optimizers()
File "D:\Personal\AI\stable-diffusion-webui\modules\sd_hijack.py", line 38, in list_optimizers
new_optimizers = [x for x in new_optimizers if x.is_available()]
File "D:\Personal\AI\stable-diffusion-webui\modules\sd_hijack.py", line 38, in
new_optimizers = [x for x in new_optimizers if x.is_available()]
File "D:\Personal\AI\stable-diffusion-webui\modules\sd_hijack_optimizations.py", line 51, in is_available
return shared.cmd_opts.force_enable_xformers or (shared.xformers_available and torch.version.cuda and (6, 0) <= torch.cuda.get_device_capability(shared.device) <= (9, 0))
File "D:\Personal\AI\stable-diffusion-webui\venv\lib\site-packages\torch\cuda_init_.py", line 381, in get_device_capability
prop = get_device_properties(device)
File "D:\Personal\AI\stable-diffusion-webui\venv\lib\site-packages\torch\cuda_init_.py", line 395, in get_device_properties
_lazy_init() # will define get_device_properties
File "D:\Personal\AI\stable-diffusion-webui\venv\lib\site-packages\torch\cuda_init.py", line 247, in _lazy_init
torch._C._cuda_init()
RuntimeError: No CUDA GPUs are available