stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: Inpaint sketch broken and causes crash
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
Since today's update (1 hour ago) inpaint sketch causes the browser to freeze after a few stroken then causes a browser restart.
venv "C:\Users\tomwe\sdwebui\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)] Commit hash: 79d802b48a70d2c7e4ca56639833171ac6996714 Installing requirements for Web UI
####################################################################################################### Initializing Dreambooth If submitting an issue on github, please provide the below text for debugging purposes:
Python revision: 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] Dreambooth revision: c2269b8585d994efa31c6582fc19a890253c804e SD-WebUI revision: 79d802b48a70d2c7e4ca56639833171ac6996714
Checking Dreambooth requirements... [+] bitsandbytes version 0.35.0 installed. [+] diffusers version 0.10.2 installed. [+] transformers version 4.25.1 installed. [+] xformers version 0.0.14.dev0 installed. [+] torch version 1.12.1+cu113 installed. [+] torchvision version 0.13.1+cu113 installed.
#######################################################################################################
Launching Web UI with arguments: --xformers SD-Webui API layer loaded LatentDiffusion: Running in eps-prediction mode DiffusionWrapper has 859.52 M params. Loading weights [e406a20c1b] from C:\Users\tomwe\sdwebui\models\Stable-diffusion\galaxytimemachinesGTM_v1.safetensors Applying xformers cross attention optimization. Textual inversion embeddings loaded(0): Model loaded in 3.0s (0.3s create model, 1.5s load weights). Running on local URL: http://127.0.0.1:7861
To create a public link, set share=True
in launch()
.
load checkpoint from C:\Users\tomwe\sdwebui\models\BLIP\model_base_caption_capfilt_large.pth
100%|██████████████████████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 12.56it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 12.12it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 17.67it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 15.51it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 12.24it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 11.38it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 12.36it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 11.38it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 12.56it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 11.43it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 12.48it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 11.46it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 12.29it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 13.41it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 13.45it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 11.77it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 12.59it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 13.47it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 13.39it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 12.62it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 13.23it/s]
Total progress: 100%|████████████████████████████████████████████████████████████████| 144/144 [00:13<00:00, 10.46it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 9.09it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 16/16 [00:01<00:00, 8.52it/s]
Traceback (most recent call last):
File "C:\Users\tomwe\sdwebui\venv\lib\site-packages\gradio\routes.py", line 337, in run_predict
output = await app.get_blocks().process_api(
File "C:\Users\tomwe\sdwebui\venv\lib\site-packages\gradio\blocks.py", line 1013, in process_api
inputs = self.preprocess_data(fn_index, inputs, state)
File "C:\Users\tomwe\sdwebui\venv\lib\site-packages\gradio\blocks.py", line 911, in preprocess_data
processed_input.append(block.preprocess(inputs[i]))
File "C:\Users\tomwe\sdwebui\venv\lib\site-packages\gradio\components.py", line 1492, in preprocess
im = processing_utils.decode_base64_to_image(x)
File "C:\Users\tomwe\sdwebui\venv\lib\site-packages\gradio\processing_utils.py", line 53, in decode_base64_to_image
content = encoding.split(";")[1]
IndexError: list index out of range
Steps to reproduce the problem
- Go to ....
- Press ....
- ...
What should have happened?
It should work.
Commit where the problem happens
79d802b48a70d2c7e4ca56639833171ac6996714
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
No response
Additional information, context and logs
No response
Same bug here, I tried to updated Torch and torchvision using the commandline flag as it says torch needs to be updated, don''t know if this is related, but it does not update nor change.
on OSX M1
If I change the model back from 1.5 inpainting to regular 1.5 it works again
Same Issue, never worked for me.
I have the same issue when accessing the web UI over the network with either Google Chrome or Safari. Using a chrome running on the same host as the web UI seems to be a bit more stable but eventually also encounters the same bug.
Have the same issue with sketch. Freezes immediately. Never worked.
I had the same issue. Check your browser screen resolution. It should be 100%. I have a 2k monitor and a resolution of 2560x1440, but I upscaled the screen to 125%. Then I returned the original windows screen resolution to 100% and the sketch worked fine. And don't forget to remove the img2img or inpaint settings in the launch .bat file if you have set them.
At least over LAN with --listen
it's unusable in its current state. Mouse wobbles, CPU gets saturated and then the browser crashes. This only seems to occur with Inpaint Sketch. Reproduced on Safari and Chrome.