Skip to content

Conversation

@eliteprox
Copy link
Collaborator

@eliteprox eliteprox commented Nov 28, 2025

Warmup optimization to ensure pipeline consistency:

  • Added ensure_warmup method to the Pipeline class to manage warmup state based on resolution.
  • Improved error handling for warmup failures and streamlined frame processing logic.
  • Integrated warmup checks in ComfyStreamFrameProcessor to ensure the pipeline is ready before processing streams.
  • Implemented default workflow prompt when no prompts are provided during stream initialization.

This change relies on pytrickle livepeer/pytrickle#77, which adds set_loading_overlay to the StreamProcessor to allow toggling overlay without blocking the frame processor. This is an alternative to returning VideoProcessingResult.WITHHELD

Loading Overlay Changes

  • Implemented methods to toggle and manage a loading overlay in the ComfyStreamFrameProcessor.
  • Added functionality to disable the overlay after pipeline ingest resumes.
  • Enhanced error handling for loading overlay state updates.
  • Integrated loading overlay management into the stream start process to improve user experience.

@eliteprox eliteprox linked an issue Nov 28, 2025 that may be closed by this pull request
@eliteprox eliteprox marked this pull request as draft November 29, 2025 01:39
@eliteprox
Copy link
Collaborator Author

Reverting to draft as this is showing a regression

- Added `ensure_warmup` method to the Pipeline class to manage warmup state based on resolution.
- Integrated warmup checks in the ComfyStreamFrameProcessor to ensure the pipeline is ready before processing streams.
- Implemented default workflow application when no prompts are provided during stream initialization.
- Improved error handling for warmup failures and streamlined frame processing logic.
…rocessing to avoid blocking frame processor

- Implemented methods to toggle and manage a loading overlay in the ComfyStreamFrameProcessor.
- Added functionality to disable the overlay after pipeline ingest resumes.
- Enhanced error handling for loading overlay state updates.
- Integrated loading overlay management into the stream start process to improve user experience.
@eliteprox eliteprox marked this pull request as ready for review December 10, 2025 00:41
@eliteprox
Copy link
Collaborator Author

All tests passing on this change, will deploy to staging shortly once build is available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Cold stream startup dependent on input frames

2 participants