You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As runner_service is implemented with huggingface pipelines, this is dependent on huggingface/diffusers#374 being resolved.
That said, pipeline callbacks just got merged (huggingface/diffusers#521). It should be possible to stop the pipeline somehow from a callback.
Fulfiling this PR means to:
add DEL /task/{task_id} endpoint
on every step (in pipeline callback), poll to see if it's been cancelled
if so, stop image generation, and send AbortedEvent(reason="cancelled"), unless generation had just finished, in which case send a FinishedEvent anyway
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
As
runner_service
is implemented with huggingface pipelines, this is dependent on huggingface/diffusers#374 being resolved.That said, pipeline callbacks just got merged (huggingface/diffusers#521). It should be possible to stop the pipeline somehow from a callback.
Fulfiling this PR means to:
DEL /task/{task_id}
endpointAbortedEvent(reason="cancelled")
, unless generation had just finished, in which case send aFinishedEvent
anywayThe text was updated successfully, but these errors were encountered: