Skip to content

Auto Recover From CUDA error #204

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Auto Recover From CUDA error #204

wants to merge 13 commits into from

Conversation

dm18
Copy link

@dm18 dm18 commented Jan 12, 2024

Created bat file to re-launch automatic1111 is closed, or completely crashes.
Created setting to enable closing automatic1111 on cuda error
modified task_runner.py to exit when setting is enabled, and automatic1111 log message includes CUDA error.

I though I would share this, incase it's useful to other people.
Using this cuda error recovery method, I can usually run batches in automatic1111 for several days without issue

I tried using automatic's restart method, like automatic uses to install extension updates. But that was found to be ineffective. (didn't recover from cuda error) exiting automatics is effective recovery from cuda error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant