-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Video Streams: Significantly reduce RAM of Video Output Intermediates (CORE-42) #13396
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
rattus128
wants to merge
17
commits into
Comfy-Org:master
Choose a base branch
from
rattus128:prs/video-streams-1
base: master
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.
Open
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
1f0c02e
comfy_api: Add datatype for ImageStreams
rattus128 7dc366a
progress
rattus128 7b1d4bc
node_image_stream: add
rattus128 37c578f
nodes_upscale_model: add stream support
rattus128 7719eb6
video_types: split up saver to streamable state
rattus128 05b5240
nodes_image_stream: implement stream live preview node
rattus128 3d21d2a
nodes_video: implement stream saver nodes
rattus128 9dede56
implementation plan
rattus128 ad91467
ltx: vae: Move decoder output buffer allocation back to forward.
rattus128 ab9e006
ltx: vae: Move constants to a named tuple.
rattus128 930df2d
ltx: vae: save left over tail frames to state
rattus128 ce054bb
ltx: vae: move max_chunk_size to the RunUpState
rattus128 4ba0b91
ltx: vae: save un-actionable chunks to RunUpState.
rattus128 06381d5
ltx: vae: consolidate cache clearer function
rattus128 b23f1f4
ltx: vae: implement start and resume protocol
rattus128 0c70446
nodes_video: save stream: Make audio optional
rattus128 1c2d379
nodes_image_stream: implement VAE decoder node
rattus128 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
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,6 @@ | ||
| # This file only exists for backwards compatibility. | ||
| from comfy_api.latest._input.image_stream_types import ImageStreamInput | ||
|
|
||
| __all__ = [ | ||
| "ImageStreamInput", | ||
| ] |
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.
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.
Seed streamed decode once per run.
The
#TODO: seedis observable here: everydecode_start()reset injects fresh random noise, so the same latent is no longer replayable across two drains of the same stream. That breaks the new resettable-stream behavior and can make preview/save passes disagree if the source is re-executed. The noise/seed needs to be captured once for the run and reused for all resumed chunks.🤖 Prompt for AI Agents