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

[Bug]: Submit button in Settings missing & indexerror

Open DOUBLEXX666 opened this issue 3 years ago • 7 comments

What happened?

Indexerror:

File "C:\Users\user\miniconda3\envs\ldm\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 563, in _run_script exec(code, module.dict) File "D:\AI\sygil-webui\scripts\webui_streamlit.py", line 203, in layout() File "C:\Users\user\miniconda3\envs\ldm\lib\site-packages\loguru_logger.py", line 1226, in catch_wrapper return function(*args, **kwargs) File "D:\AI\sygil-webui\scripts\webui_streamlit.py", line 192, in layout layout() File "C:\Users\user\miniconda3\envs\ldm\lib\site-packages\loguru_logger.py", line 1226, in catch_wrapper return function(*args, **kwargs) File "scripts\Settings.py", line 56, in layout help=f"Select which GPU to use. Default: {device_list[0]}").split(":")[0])

Version

0.0.1 (Default)

What browsers are you seeing the problem on?

Chrome

Where are you running the webui?

Windows

Custom settings

No response

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

DOUBLEXX666 avatar Dec 31 '22 06:12 DOUBLEXX666

do you have multiple GPUs (linke integrated and dedicated)? What GPU are you running?

cstueckrath avatar Jan 03 '23 10:01 cstueckrath

I currently have a RX 5700 xt

DOUBLEXX666 avatar Jan 05 '23 01:01 DOUBLEXX666

you have an AMD GPU and try running Sygil in Windows. This will not work. You either have to use a dedicated Linux installation or wait a few weeks until we integrate a new backend that will allow to use Vulkan. If you do not want to wait go here: https://github.com/nod-ai/SHARK Read the FAQs carefully, especially https://github.com/nod-ai/SHARK#install-your-hardware-drivers

cstueckrath avatar Jan 05 '23 09:01 cstueckrath

I have the same issue, but I have Windows with GTX1650 and integrated intel. And everything worked well until today. Now I have the same problem with index error and "AssertionError: Torch not compiled with CUDA enabled" if I try to launch the generation, but I think it has the same reason. I've checked requirements from requirements.txt log.txt

IndexError: list index out of range 2023-01-12 18:36:17.412 Uncaught app exception Traceback (most recent call last): File "F:\Miniconda3\envs\ldm\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 563, in _run_script exec(code, module.dict) File "F:\Stable diffusion\sygil-webui\scripts\webui_streamlit.py", line 203, in layout() File "F:\Miniconda3\envs\ldm\lib\site-packages\loguru_logger.py", line 1226, in catch_wrapper return function(*args, **kwargs) File "F:\Stable diffusion\sygil-webui\scripts\webui_streamlit.py", line 192, in layout layout() File "F:\Miniconda3\envs\ldm\lib\site-packages\loguru_logger.py", line 1226, in catch_wrapper return function(*args, **kwargs) File "scripts\Settings.py", line 56, in layout help=f"Select which GPU to use. Default: {device_list[0]}").split(":")[0]) IndexError: list index out of range

BADNaMe-RK avatar Jan 12 '23 15:01 BADNaMe-RK

FIXED! It seems that I made some mess with pytorch versions and cuda. Probably I installed an unsupported version of pytorch.

BADNaMe-RK avatar Jan 13 '23 13:01 BADNaMe-RK

thx @BADNaMe-RK also fixes the problem for me with windows 11 and rtx 2060

kiam001 avatar Jan 10 '24 20:01 kiam001

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

yiqiangjun avatar Jan 10 '24 20:01 yiqiangjun