Skip to content

[BugFix] AttributeError: 'AsyncOmniDiffusion' object has no attribute 'abort'#624

Merged
hsliuustc0106 merged 5 commits intovllm-project:mainfrom
ZeldaHuang:fix_diffsion_abort
Jan 5, 2026
Merged

[BugFix] AttributeError: 'AsyncOmniDiffusion' object has no attribute 'abort'#624
hsliuustc0106 merged 5 commits intovllm-project:mainfrom
ZeldaHuang:fix_diffsion_abort

Conversation

@ZeldaHuang
Copy link
Contributor

PLEASE FILL IN THE PR DESCRIPTION HERE ENSURING ALL CHECKLIST ITEMS (AT THE BOTTOM) HAVE BEEN CONSIDERED.
ref #605

Purpose

temporary fix the issue, need to implement diffsion engine abort later.

Test Plan

Test Result


Essential Elements of an Effective PR Description Checklist
  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan, such as providing test command.
  • The test results, such as pasting the results comparison before and after, or e2e results
  • (Optional) The necessary documentation update, such as updating supported_models.md and examples for a new model.
  • (Optional) Release notes update. If your change is user facing, please update the release notes draft.

BEFORE SUBMITTING, PLEASE READ https://github.com/vllm-project/vllm-omni/blob/main/CONTRIBUTING.md (anything written below this line will be removed by GitHub Actions)

Signed-off-by: ZeldaHuang <hzm414167@alibaba-inc.com>
Signed-off-by: ZeldaHuang <hzm414167@alibaba-inc.com>
Signed-off-by: ZeldaHuang <hzm414167@alibaba-inc.com>
Signed-off-by: ZeldaHuang <hzm414167@alibaba-inc.com>
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6e4198af9f

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +365 to +367
def abort(self, request_id: str | Iterable[str]) -> None:
# TODO implement it
pass

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Implement diffusion abort or signal failure

This new abort implementation is a no-op, so when a request is cancelled (e.g., AsyncOmni sends an ABORT task for a diffusion stage), the generation continues running to completion and only the output is dropped later. That means cancelled requests still consume GPU/CPU and queue slots, which can become significant under high cancellation rates or timeouts. If abort can’t be implemented yet, consider explicitly raising/notifying so callers can handle the lack of cancellation instead of assuming it succeeded.

Useful? React with 👍 / 👎.

Signed-off-by: ZeldaHuang <hzm414167@alibaba-inc.com>
Copy link
Collaborator

@hsliuustc0106 hsliuustc0106 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@hsliuustc0106 hsliuustc0106 added the ready label to trigger buildkite CI label Jan 5, 2026
@hsliuustc0106 hsliuustc0106 merged commit f9b8bfd into vllm-project:main Jan 5, 2026
7 checks passed
DefTruth pushed a commit to xlite-dev/vllm-omni that referenced this pull request Jan 5, 2026
… 'abort' (vllm-project#624)

Signed-off-by: ZeldaHuang <hzm414167@alibaba-inc.com>
Signed-off-by: DefTruth <qiustudent_r@163.com>
tzhouam pushed a commit to tzhouam/vllm-omni that referenced this pull request Jan 5, 2026
… 'abort' (vllm-project#624)

Signed-off-by: ZeldaHuang <hzm414167@alibaba-inc.com>
princepride pushed a commit to princepride/vllm-omni that referenced this pull request Jan 10, 2026
… 'abort' (vllm-project#624)

Signed-off-by: ZeldaHuang <hzm414167@alibaba-inc.com>
sniper35 pushed a commit to sniper35/vllm-omni that referenced this pull request Jan 10, 2026
… 'abort' (vllm-project#624)

Signed-off-by: ZeldaHuang <hzm414167@alibaba-inc.com>
ZJY0516 pushed a commit to LawJarp-A/vllm-omni that referenced this pull request Jan 10, 2026
… 'abort' (vllm-project#624)

Signed-off-by: ZeldaHuang <hzm414167@alibaba-inc.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready label to trigger buildkite CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants