ArtVentureX / sd-webui-agent-scheduler

627 stars 65 forks source link

Which file are queue tasks stored in? A1111 Web UI won't start with pending jobs in Agent Scheduler queue (due to a prior crash)! #210

Closed raffetazarius closed 8 months ago

raffetazarius commented 8 months ago

Could you kindly tell me which file in the /extension/sd-webui-agent/scheduler/folder that pending queued jobs are stored in please?

When A1111 Web UI crashes, with pending tasks in the Agent Scheduler queue, I cannot start the Web UI again, and am blocked by:

-[MTLIOAccelCommandBuffer validate]:207: failed assertion 'commit an already committed command buffer'

If I remove the Agent Scheduler Extension, the UI loads up, but I don't wanna have to do that EVERY time the UI crashes with unprocessed queued generations. Then I have to reinstall the extension, etc. etc.

I'd rather just delete or manually clean out the queue so that I can restart the Web UI.

raffetazarius commented 8 months ago

Actually I found it - no worries!

/Users/donalrafferty/stable-diffusion-webui/extensions/sd-webui-agent-scheduler/**task_scheduler.sqlite3**

Just needed to remove the queued jobs from that database and the Web UI would load again!