Skip to content

[Bugfix][Diffusion] Restore supports_packed_mask_free on teacache FakeBackend - #5997

Merged
hsliuustc0106 merged 2 commits into
vllm-project:mainfrom
brandneway:fix/h3-teacache-fakebackend
Aug 10, 2026
Merged

hsliuustc0106 merged 2 commits into
vllm-project:mainfrom
brandneway:fix/h3-teacache-fakebackend

Conversation

@brandneway

Copy link
Copy Markdown
Contributor

Context

#5891 added supports_packed_mask_free to AttentionBackend and calls it in the
H3 packed-attention path (minimax_h3_transformer.py:421). The FakeBackend in
tests/diffusion/cache/test_teacache_extractors.py did not implement it, so after
#5891 merged, 7 TestMiniMaxH3Extractor tests fail with
AttributeError: type object 'FakeBackend' has no attribute 'supports_packed_mask_free',
leaving buildkite/vllm-omni red on main.

Fix

Add the classmethod to FakeBackend returning False (the abstract-backend default →
masked path), matching the fakes already in test_minimax_h3_contract.py.

Verification

AttributeError resolved (traceback now advances past the attention call). These tests
exercise NPU ops (npu_rms_norm) that require real NPU hardware, so they're validated in CI.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@vllm-omni-review-bot

Copy link
Copy Markdown

This PR appears to belong to: docs/design/module/cache_management.md.

Module owners: @Isotr0py @princepride @SamitHuang

Please take a look when you have a chance. If you would like an automated review, mention @vllm-omni-review-bot in a comment.

@david6666666 david6666666 added the merge-test label to trigger buildkite merge test CI label Aug 10, 2026
@david6666666
david6666666 enabled auto-merge (squash) August 10, 2026 12:47
@david6666666 david6666666 added merge-test label to trigger buildkite merge test CI and removed merge-test label to trigger buildkite merge test CI labels Aug 10, 2026
@hsliuustc0106
hsliuustc0106 disabled auto-merge August 10, 2026 14:20
@hsliuustc0106
hsliuustc0106 merged commit 422d8fd into vllm-project:main Aug 10, 2026
5 of 6 checks passed
khairulkabir1661 pushed a commit to khairulkabir1661/vllm-omni that referenced this pull request Sep 25, 2026
…eBackend (vllm-project#5997)

Signed-off-by: brandneway <gyuan4892@gmail.com>
Co-authored-by: Hongsheng Liu <liuhongsheng4@huawei.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-test label to trigger buildkite merge test CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants