[Bug]: img2img Keeps breaking (Stops Generating)
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
I'm using paperspace and everytime I use the img2img for inpainting it breaks after 1 or 2 generations.
The button for generate is there, but you click it and nothing happens. The workaround for me is to refresh the page which makes the whole process a lot slower
Steps to reproduce the problem
- Go to img2img tab
- Press generate
What should have happened?
Images should generate normally but they're not
Commit where the problem happens
master
What platforms do you use to access the UI ?
Other/Cloud
What browsers do you use to access the UI ?
Brave
Command Line Arguments
xformers and --enable-insecure-extension-access
List of extensions
kohya's additional networks locon
Console logs
Below console log shows no errors but basically clicking on generate won't do anything so nothing will show
This share link expires in 72 hours. For free permanent hosting and GPU upgrades (NEW!), check out Spaces: https://huggingface.co/spaces
Startup time: 14.6s (import gradio: 1.7s, import ldm: 2.4s, other imports: 1.0s, load scripts: 1.5s, load SD checkpoint: 4.7s, create ui: 0.6s, gradio launch: 2.6s).
Textual inversion embeddings loaded(1): bad_prompt_version2
0%| | 0/20 [00:00<?, ?it/s]
10%|████▍ | 2/20 [00:00<00:01, 15.60it/s]
25%|███████████ | 5/20 [00:00<00:00, 19.33it/s]
40%|█████████████████▌ | 8/20 [00:00<00:00, 21.07it/s]
55%|███████████████████████▋ | 11/20 [00:00<00:00, 21.74it/s]
70%|██████████████████████████████ | 14/20 [00:00<00:00, 22.21it/s]
85%|████████████████████████████████████▌ | 17/20 [00:00<00:00, 22.51it/s]
100%|███████████████████████████████████████████| 20/20 [00:00<00:00, 21.80it/s]
Total progress: 100%|███████████████████████████| 20/20 [00:00<00:00, 20.95it/s]
Running DDIM Sampling with 68 timesteps
Decoding image: 0%| | 0/68 [00:00<?, ?it/s]
Decoding image: 3%|▊ | 2/68 [00:00<00:04, 13.26it/s]
Decoding image: 6%|█▋ | 4/68 [00:00<00:04, 13.93it/s]
Decoding image: 9%|██▍ | 6/68 [00:00<00:04, 14.03it/s]
Decoding image: 12%|███▎ | 8/68 [00:00<00:04, 14.12it/s]
Decoding image: 15%|███▉ | 10/68 [00:00<00:04, 14.20it/s]
Decoding image: 18%|████▊ | 12/68 [00:00<00:03, 14.40it/s]
Decoding image: 21%|█████▌ | 14/68 [00:00<00:03, 14.57it/s]
Decoding image: 24%|██████▎ | 16/68 [00:01<00:03, 14.67it/s]
Decoding image: 26%|███████▏ | 18/68 [00:01<00:03, 14.78it/s]
Decoding image: 29%|███████▉ | 20/68 [00:01<00:03, 14.81it/s]
Decoding image: 32%|████████▋ | 22/68 [00:01<00:03, 14.75it/s]
Decoding image: 35%|█████████▌ | 24/68 [00:01<00:02, 14.81it/s]
Decoding image: 38%|██████████▎ | 26/68 [00:01<00:02, 14.98it/s]
Decoding image: 41%|███████████ | 28/68 [00:01<00:02, 15.18it/s]
Decoding image: 44%|███████████▉ | 30/68 [00:02<00:02, 15.10it/s]
Decoding image: 47%|████████████▋ | 32/68 [00:02<00:02, 15.16it/s]
Decoding image: 50%|█████████████▌ | 34/68 [00:02<00:02, 15.24it/s]
Decoding image: 53%|██████████████▎ | 36/68 [00:02<00:02, 15.22it/s]
Decoding image: 56%|███████████████ | 38/68 [00:02<00:01, 15.12it/s]
Decoding image: 59%|███████████████▉ | 40/68 [00:02<00:01, 15.14it/s]
Decoding image: 62%|████████████████▋ | 42/68 [00:02<00:01, 15.03it/s]
Decoding image: 65%|█████████████████▍ | 44/68 [00:02<00:01, 14.74it/s]
Decoding image: 68%|██████████████████▎ | 46/68 [00:03<00:01, 14.24it/s]
Decoding image: 71%|███████████████████ | 48/68 [00:03<00:01, 13.99it/s]
Decoding image: 74%|███████████████████▊ | 50/68 [00:03<00:01, 13.86it/s]
Decoding image: 76%|████████████████████▋ | 52/68 [00:03<00:01, 14.00it/s]
Decoding image: 79%|█████████████████████▍ | 54/68 [00:03<00:01, 13.95it/s]
Decoding image: 82%|██████████████████████▏ | 56/68 [00:03<00:00, 14.16it/s]
Decoding image: 85%|███████████████████████ | 58/68 [00:03<00:00, 14.23it/s]
Decoding image: 88%|███████████████████████▊ | 60/68 [00:04<00:00, 14.48it/s]
Decoding image: 91%|████████████████████████▌ | 62/68 [00:04<00:00, 14.63it/s]
Decoding image: 94%|█████████████████████████▍ | 64/68 [00:04<00:00, 14.56it/s]
Decoding image: 97%|██████████████████████████▏| 66/68 [00:04<00:00, 14.43it/s]
Decoding image: 100%|███████████████████████████| 68/68 [00:04<00:00, 14.55it/s]
Additional information
No response
I didn't face any problem with generating multiple generations of images when I use the img2img for inpainting the input image . It's possible that they were running into a memory or processing issue on your machine, which is why they needed to reload the browser.
Try clearing your browser cache or use a different browser to see if that helps. It could also be helpful to check your computer's resource usage while running the program to see if there are any issues there because without more details it's difficult to determine the exact cause of the issue .
Closing as stale.