-
Notifications
You must be signed in to change notification settings - Fork 471
[Model] support LTX-2 text-to-video image-to-video #841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
david6666666
wants to merge
35
commits into
vllm-project:main
Choose a base branch
from
david6666666:ltx2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+4,480
−99
Open
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
f2ee36b
add ltx2
david6666666 ca6820f
adapt #797
david6666666 e697209
fix example
david6666666 eedefb8
support cfg
david6666666 9ac7ed9
support tp
david6666666 5668d4c
support tp2
david6666666 d571942
support tp3
david6666666 31244db
support tp4
david6666666 3393702
modify cache-dit config
david6666666 32c1d52
fix pre-commit and comment
david6666666 1bbe93e
fix codex
david6666666 30ddb16
fix comment 1
david6666666 4df4ac2
fix comment 2
david6666666 4f233ae
fix pre-commit
david6666666 7480bed
fix comment ZJY
david6666666 d25b07e
fix bug1
david6666666 2fba252
fix comment
david6666666 41e3f88
Merge branch 'main' into ltx2
david6666666 443da6c
fix pre-commit
david6666666 6527027
remove redun code
david6666666 781b70d
remove redun code 2
david6666666 55091e9
fix 1
david6666666 7f78347
fix comment 1
david6666666 e9cd92d
fix comment 2
david6666666 c7dccdd
fix comment 3
david6666666 3ec6b0f
fix comment 3
david6666666 fcf0cdc
fix comment 3
david6666666 9f6239a
fix comment 3
david6666666 83c546c
fix pre-commit
david6666666 c0bfa07
fix comment 4
david6666666 e0ee0d9
fix comment 5
david6666666 4ed6ec7
support online serving
david6666666 4518808
support online serving 1
david6666666 7d88144
support online serving 2
david6666666 f69a5c3
support online serving 3
david6666666 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
300 changes: 257 additions & 43 deletions
300
examples/offline_inference/image_to_video/image_to_video.py
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Complex and fragile output unpacking logic. Lines 227-275 contain deeply nested conditionals to extract frames and audio from various possible output formats. This is brittle and hard to maintain. Consider creating a dedicated helper function or class to standardize output format handling, possibly in a shared utility module. The same complex logic is also duplicated in image_to_video.py lines 303-351.