AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
135.34k stars 25.84k forks source link

[Feature Request]: Clear cache requested by img2img, txt2img api #16132

Open joseph16388 opened 3 days ago

joseph16388 commented 3 days ago

Is there an existing issue for this?

What would your feature do ?

I want to clear the cache of img2img, txt2img api requests from the last round before deciding on the next round of drawing with the api, so that I don't have to wait for all the requests from the last round to complete before executing the second round of drawing 我想在决定下一轮次用api绘图前,先清除上一轮次的img2img,txt2img api请求的cache,这样我不用等待上一轮次的请求全部执行完毕后才开始执行第二轮绘图

Proposed workflow

我想在决定下一轮次用api绘图前,先清除上一轮次的img2img,txt2img api请求的cache,这样我不用等待上一轮次的请求全部执行完毕后才开始执行第二轮绘图

Additional information

No response

w-e-w commented 2 days ago

cache, what cache??? theres no cache are you asking about interrupt and clear all the queue jobs?

joseph16388 commented 2 days ago

cache, what cache??? theres no cache are you asking about interrupt and clear all the queue jobs?

yes, that's what I mean