Skip to content

[Bugfix] Fix cache dit for Longcat & LTX2#2860

Merged
hsliuustc0106 merged 3 commits intovllm-project:mainfrom
alex-jw-brooks:fix_cache_cfg
Apr 17, 2026
Merged

[Bugfix] Fix cache dit for Longcat & LTX2#2860
hsliuustc0106 merged 3 commits intovllm-project:mainfrom
alex-jw-brooks:fix_cache_cfg

Conversation

@alex-jw-brooks
Copy link
Copy Markdown
Contributor

@alex-jw-brooks alex-jw-brooks commented Apr 16, 2026

Purpose

While working on the cache dit backend simplification (#2527), I noticed that the results for LongCat Image and LTX2 have large quality degradation when cache DIT is enabled.

For example, running LongCat Image:
(Top is with cache on, bottom is with cache off).
comparison_grid_longcat

Similarly, with LTX2:
No cache:

seed_131_no_cache.mp4

With cache:

seed_131_cache.mp4

This is because we don't pass has_separate_cfg=True for these models, which contaminates the results (see the adapter that was originally added for longcat image to cache_dit here).

Test Plan

After passing the has_separate_cfg, the results should not degrade severely.

Test Result

Results are much better and more in line with other models.

LongCat image after fix:
comparison_grid_longcat_fixed

LTX2 cached results after fix:

seed_131_fixed.mp4

@wtomin @SamitHuang PTAL, thanks!

Signed-off-by: Alex Brooks <albrooks@redhat.com>
@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.

@alex-jw-brooks alex-jw-brooks changed the title Fix cache dit for Longcat & LTX2 [Bugfix] Fix cache dit for Longcat & LTX2 Apr 16, 2026
@hsliuustc0106
Copy link
Copy Markdown
Collaborator

add regression tests please

Copy link
Copy Markdown
Collaborator

@wtomin wtomin left a comment

Choose a reason for hiding this comment

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

LGTM.

@wtomin wtomin added the ready label to trigger buildkite CI label Apr 17, 2026
Signed-off-by: Alex Brooks <albrooks@redhat.com>
@alex-jw-brooks
Copy link
Copy Markdown
Contributor Author

Thanks @wtomin @hsliuustc0106 - I added some tests to make sure these + wan22 pass has_separate_cfg=True through to the block adapter 🙂

@hsliuustc0106 hsliuustc0106 merged commit 536f59b into vllm-project:main Apr 17, 2026
8 checks passed
lvliang-intel pushed a commit to lvliang-intel/vllm-omni that referenced this pull request Apr 20, 2026
Signed-off-by: Alex Brooks <albrooks@redhat.com>
Co-authored-by: Didan Deng <33117903+wtomin@users.noreply.github.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