[GH-ISSUE #20] Stable diffusion exiting when trying to generate #19

Closed
opened 2026-10-30 21:27:44 +00:00 by bsakaguchi · 7 comments
Owner

Originally created by @niikocap on GitHub (Apr 30, 2024).
Original GitHub issue: https://github.com/Haoming02/sd-webui-old-photo-restoration/issues/20

as i mention, it exits when i try to generate on the terminal it stops after processing any idea how can i fix this

Originally created by @niikocap on GitHub (Apr 30, 2024). Original GitHub issue: https://github.com/Haoming02/sd-webui-old-photo-restoration/issues/20 as i mention, it exits when i try to generate on the terminal it stops after processing any idea how can i fix this
Author
Owner

@Haoming02 commented on GitHub (Apr 30, 2024):

How about the console logs

<!-- gh-comment-id:2084539159 --> @Haoming02 commented on GitHub (Apr 30, 2024): How about the console logs
Author
Owner

@niikocap commented on GitHub (Apr 30, 2024):

image

here is the image
also even when no options is selected its still exits

<!-- gh-comment-id:2084553434 --> @niikocap commented on GitHub (Apr 30, 2024): ![image](https://github.com/Haoming02/sd-webui-old-photo-restoration/assets/51402422/9ab5dcbd-5bfc-4927-8726-faf9dc6a93ea) here is the image also even when no options is selected its still exits
Author
Owner

@niikocap commented on GitHub (Apr 30, 2024):

should i run install.py first?

<!-- gh-comment-id:2084597913 --> @niikocap commented on GitHub (Apr 30, 2024): should i run install.py first?
Author
Owner

@Haoming02 commented on GitHub (Apr 30, 2024):

Press any key to continue...

This has happened elsewhere before. Pretty sure it's something to do with the Webui instead...

Not sure what is causing it.

<!-- gh-comment-id:2084653642 --> @Haoming02 commented on GitHub (Apr 30, 2024): > Press any key to continue... This has happened elsewhere before. Pretty sure it's something to do with the Webui instead... Not sure what is causing it.
Author
Owner

@Haoming02 commented on GitHub (Apr 30, 2024):

What GPU are you using?

<!-- gh-comment-id:2084653865 --> @Haoming02 commented on GitHub (Apr 30, 2024): What GPU are you using?
Author
Owner

@niikocap commented on GitHub (Apr 30, 2024):

im using nvidia 950m i use --lowvram

<!-- gh-comment-id:2084775451 --> @niikocap commented on GitHub (Apr 30, 2024): im using nvidia 950m i use --lowvram
Author
Owner

@Haoming02 commented on GitHub (May 8, 2024):

I sometimes get the same error about threading just generating images normally. Since it stems from the Webui, I can't really fix it on my end.

If it keeps happening though, you can try edit this line, https://github.com/Haoming02/sd-webui-old-photo-restoration/blob/main/scripts/main_function.py#L25, to:

GPU_ID = -1
<!-- gh-comment-id:2099683298 --> @Haoming02 commented on GitHub (May 8, 2024): I sometimes get the same error about threading just generating images normally. Since it stems from the Webui, I can't really fix it on my end. If it keeps happening though, you can try edit this line, https://github.com/Haoming02/sd-webui-old-photo-restoration/blob/main/scripts/main_function.py#L25, to: ```py GPU_ID = -1 ```
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Haoming02/sd-webui-old-photo-restoration#19
No description provided.