-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[None][feat] Cosmos3 video-to-video (V2V) generation #16155
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
Merged
Merged
Changes from all commits
Commits
Show all changes
68 commits
Select commit
Hold shift + click to select a range
34a74cb
cosmos3 action init
NVShreyas b98df20
updates
NVShreyas 9841567
add action fps optional input
NVShreyas 2cc00f2
V2V for cosmos3
bastefaniak 9128513
Add content-based classification for video input_reference
ishovkun 05ed136
Add Cosmos3 V2V docs, tests, and serve endpoint coverage
ishovkun 433feb9
Add Cosmos3 V2V prompt file and document media I/O deps
ishovkun ae5b03d
Resolve merge conflict and apply formatting fixes
ishovkun 14d4555
Add URI support for reference image in Cosmos3 action
ishovkun 4e7c403
Clean up temp file on input_reference parse failure
ishovkun f48a358
Add docstrings to Cosmos3 action helper functions
ishovkun f212942
Enforce path_or_list extra-param type validation
ishovkun 300cd9b
Remove av from requirements; document manual install
ishovkun afff945
Update output dataclass tests for action fields
ishovkun 8ad2386
Pass raw_timestep in Cosmos3 action transformer tests
ishovkun 2716347
Remove Cosmos3 action generation from the V2V PR
ishovkun cbd5419
Replace PyAV with ffprobe for video stream detection
ishovkun 82f351f
Remove single-image support mention from V2V video_path docs
ishovkun 29d62ec
Refactor image-to-latent encoding to reuse `_encode_video_tensor`
ishovkun a92f8bb
Remove unused height/width params from conditioning video encoder
ishovkun 4a0702d
Fix `post_step_fn` signature in Cosmos3 pipeline
ishovkun e698f6d
Simplify `post_step_fn` to single-argument interface
ishovkun ebe02d8
Skip action module weights during Cosmos3 checkpoint load
ishovkun 2209843
Replace ffprobe with PyAV for video reference detection; make pyav
ishovkun 79274ea
Replace PyAV with OpenCV for Cosmos3 video decoding
ishovkun 8a524ed
Drop type-suffix from stored reference files
ishovkun 29f64a2
Add .zed and .plans/ to .gitignore
ishovkun 7e20e1e
Refactor Cosmos3 V2V to use `multi_modal_data` for video reference
ishovkun a5843aa
Fix numpy import: use top-level import instead of importorskip
ishovkun 6eecba3
Decode video references in memory, skip disk materialization
ishovkun cf054b9
Rename media probe functions to reflect decodability guarantee
ishovkun a699afe
Migrate Cosmos3 V2V reference from VideoData to uint8 tensor
ishovkun 3f9fe50
Clean comment
ishovkun 0119564
Add per-param validators to ExtraParamSchema for preflight 400s
ishovkun a3183a9
Make `--use_system_prompt` optional with model-driven default
ishovkun 9eaa5ef
Add V2V transport reducer to crop reference video before serialization
ishovkun 750598b
Fix Cosmos3 V2V post-step latent anchoring and pin condition
ishovkun 6925f0f
Tighten Cosmos3 extra-param validation and error handling
ishovkun 87a7b22
Add Cosmos3-Nano V2V LPIPS integration test
ishovkun e1cc401
Document and test supported input_reference formats
ishovkun b9168e5
Add worker-side NVDEC reference decoding via PyNvVideoCodec
ishovkun a97f31b
Route video references by container signature, not decode probing
ishovkun 7cb9ff3
Classify worker failures as client or capacity across all surfaces
ishovkun 51c5f53
Make encoded bytes the sole Cosmos3 V2V reference contract
ishovkun 71f00e9
Pass encoded video bytes from the Cosmos3 offline example
ishovkun ed441d4
Feed the V2V LPIPS gate from a checked-in H.264 fixture
ishovkun a188655
Document VisualGenResult failure classes and test them
ishovkun 5f8883b
Parameterize the batch failure test over all error classes
ishovkun d3f1e7f
Route ISO-BMFF still images away from the video decoder
ishovkun 3a235d3
Parse the ISO-BMFF ftyp box instead of peeking at a fixed window
ishovkun 4577943
Report VisualGen failures with built-in exception types
ishovkun 84eca2a
Stop decoding reference images at the serve boundary
ishovkun 9c4505c
Merge upstream/main into cosmos_v2v
ishovkun a91438e
Model the sampling policy in the V2V flow-shift stub
ishovkun 51799b4
Drop code the merge left dead
ishovkun ce201a3
Trim the documented failure contract and the public description
ishovkun 6657db1
Give the decoder a frame range, not a conditioning policy
ishovkun 8a0e4c7
Move the decode to tensorrt_llm/media
ishovkun 76fda37
Drop build symlinks from the index
ishovkun 79b7d1a
Restore the action state the merge dropped
ishovkun bb74c9c
Fix two sampling regressions the merge introduced
ishovkun 93d37c7
Merge remote-tracking branch 'upstream/main' into cosmos_v2v
ishovkun 7094e10
Trim input_reference down to the request contract
ishovkun 5445bee
Trim the serve README's input_reference bullet
ishovkun 55fb3b5
Resolve distilled sampling from the checkpoint, restore action_gen
ishovkun 43956e9
Stop duplicating the Cosmos3 README in the example
ishovkun 9ce19e9
Merge remote-tracking branch 'upstream/main' into cosmos_v2v
ishovkun fd5f6a1
Merge remote-tracking branch 'upstream/main' into cosmos_v2v
ishovkun 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "model_mode": "video2video", | ||
| "prompt": "Continue the same scene with smooth natural motion and consistent subjects." | ||
| } |
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.