Skip to content

[bug]: Cancelling a pending queue item forces the currently rendering item to terminate and get marked complete #7414

Closed
@Vargol

Description

@Vargol

Is there an existing issue for this problem?

  • I have searched the existing issues

Operating system

macOS

GPU vendor

Apple Silicon (MPS)

GPU model

M3

GPU VRAM

24

Version number

v5.4.3rc1

Browser

Version 18.1.1 (20619.2.8.11.12)

Python dependencies

{
"accelerate": "1.0.1",
"compel": "2.0.2",
"cuda": null,
"diffusers": "0.31.0",
"numpy": "1.26.4",
"opencv": "4.9.0.80",
"onnx": "1.16.1",
"pillow": "10.4.0",
"python": "3.11.10",
"torch": "2.4.1",
"torchvision": "0.19.1",
"transformers": "4.41.1",
"xformers": null
}

What happened

Canceling a pending item on the render queue caused the currently rendering item to terminate and get marked complete the next time the queue status was updated.

What you expected to happen

The pending item to be cancelled (which occurs) , the other items to maintain their current status and the currently running render to continue to its proper conclusion

How to reproduce the problem

  1. Start three separate simple renders from the linear UI or workflow UI , these should take long enough for the user to perform the rest of the steps if you're on a fast computer, so that there are 3 items in the queue.
  2. Go to the queue manager and cancel the bottom item.
  3. Keep an eye of the currently running item, you will see it go to complete before it is finished and if you check the terminal you will see the render stats even though the render was incomplete.

Additional context

No response

Discord username

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions