ArtVentureX / sd-webui-agent-scheduler

599 stars 60 forks source link

Auto Recover From CUDA error #204

Open dm18 opened 5 months ago

dm18 commented 5 months ago

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.