Skip to content

Conversation

@eliteprox
Copy link
Collaborator

@eliteprox eliteprox commented Oct 28, 2025

This change ensures health state transitions from LOADING to IDLE following pipeline initialization. This change is dependent on livepeer/pytrickle#36

This PR also modifies the warmup routine so that prompts are stopped after warmup.

The pipeline input methods put_video_frame and put_audio_frame now ensure prompts are running when input frames arrive. This avoids the race condition of stopping running prompts after warmup occurs for an active stream while also preventing "running zombie prompts" following warmup

@eliteprox eliteprox marked this pull request as draft October 29, 2025 19:31
- Introduced a runner state management in ComfyStreamFrameProcessor to control prompt execution.
- Updated methods in ComfyStreamClient to support pausing and resuming prompt tasks.
- Improved warmup logic to ensure prompt tasks are running before processing frames.
- Refactored cleanup and cancellation logic for better task management.
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.

2 participants