Repository navigation
[Feature] Add official LTX multimodal guidance and precision guard - #5148
Merged
Merged
Conversation
mglyn
force-pushed
the
dev_ltx23_2
branch
2 times, most recently
from
July 17, 2026 07:27
ee30758 to
82f417c
Compare
mglyn
marked this pull request as ready for review
July 17, 2026 07:31
mglyn
requested review from
Gaohan123,
Isotr0py,
RuixiangMa,
SamitHuang,
ZJY0516,
congw729,
david6666666,
hsliuustc0106,
princepride,
wtomin,
xuechendi,
yenuo26 and
ywang96
as code owners
July 17, 2026 07:31
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
mglyn
force-pushed
the
dev_ltx23_2
branch
2 times, most recently
from
July 20, 2026 12:13
e7c1854 to
b74bc4c
Compare
mglyn
force-pushed
the
dev_ltx23_2
branch
2 times, most recently
from
July 22, 2026 07:06
d04e474 to
0aa3392
Compare
Signed-off-by: mglyn <1203789601@qq.com>
Signed-off-by: mglyn <1203789601@qq.com>
Signed-off-by: mglyn <1203789601@qq.com>
Signed-off-by: mglyn <1203789601@qq.com>
Signed-off-by: mglyn <1203789601@qq.com>
Signed-off-by: mglyn <1203789601@qq.com>
Signed-off-by: mglyn <1203789601@qq.com>
Signed-off-by: mglyn <1203789601@qq.com>
Signed-off-by: mglyn <1203789601@qq.com>
david6666666
enabled auto-merge (squash)
July 28, 2026 09:22
This was referenced Jul 28, 2026
This was referenced Jul 30, 2026
nagisa-kunhah
pushed a commit
to nagisa-kunhah/vllm-omni
that referenced
this pull request
Jul 30, 2026
…llm-project#5148) Signed-off-by: mglyn <1203789601@qq.com>
4 tasks done
khairulkabir1661
pushed a commit
to khairulkabir1661/vllm-omni
that referenced
this pull request
Sep 25, 2026
…llm-project#5148) Signed-off-by: mglyn <1203789601@qq.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This PR builds on the shared LTX-2/LTX-2.3 runtime at #5147. It adds official one-stage multimodal guidance, aligns inference with the Lightricks reference, and replaces the Diffusers-based LTX-2.3 accuracy check with a pinned official reference guard.
Follow-up two-stage/HQ support, and subsequent LTX runtime work are tracked continuously in #4985.
LTX2Pipelineis now the unified one-stage entry for LTX-2/LTX-2.3 T2V and I2V: checkpoint metadata selects the model version, whileimage=selects I2V. The former one-stage registry namesLTX2ImageToVideoPipeline,LTX23Pipeline, andLTX23ImageToVideoPipelineare intentionally removed. The distilled two-stage path is now exposed asLTX2DistilledPipeline, replacing the legacy two-stage names; the regularLTX2TwoStagePipelineis reserved for a follow-up PR. The LTX-2 recipe documents the keyword-only API and registry-name migrations.The official recipe uses up to four Transformer passes per denoise step: positive (
cond), negative CFG (uncond), STG perturbation (ptb), and cross-modality perturbation (mod). This intentional compute increase replaces the previous partial guidance behavior.It also provides independent video/audio guidance controls, request-level custom sigma schedules, shared connector/denoiser attention selection, validation for incompatible request batches and CFG parallelism, consolidated LTX documentation, and a raw video/audio accuracy guard against pinned source and model revisions.
The distilled-only two-stage path remains positive-only. Full two-stage/HQ guidance is a separate follow-up.
Test Plan
git diff --check.vLLM Version:
0.25.0vLLM-Omni Commit:
ebe35d5d86093d5ea52ae2d6e1f2bd9ca42e226aTest Result
Numerical behavior changed to match the official pipeline
These are pipeline behavior fixes, not tolerance adjustments. Packed-token sampling changes the random-number layout, while separate positive/negative Gemma forwards do not reproduce the official batched conditioning output.
Official precision guard
The old guard compared against Diffusers. The new guard runs a pinned Lightricks checkout and compares raw video/audio tensors, avoiding MP4 writer and codec differences.
9377758131b1ffde4b7f766804590a6617bf2ab9.max_batch_size=4matches Omni's fused four-pass batch.Local single-L20 probe (
512x384, 25 frames, 20 steps, full guidance):Official-resolution E2E result videos
Configuration: single NVIDIA L20, layerwise-offload, eager execution,
768x512, 121 frames, 24 fps, seed 42, LTX-2 40 steps, and LTX-2.3 30 steps. Full guidance uses the official one-stage recipe.Prompt:
LTX-2 T2V
req_0000.mp4
LTX-2 I2V
req_0000.mp4
LTX-2.3 T2V
req_0000.mp4
LTX-2.3 I2V
req_0000.mp4