Commit 5b29260
authored
feat(pipeline): ensure warmup uses generated frames instead of input frames (#544)
* feat(pipeline): enhance warmup handling and default workflow application
- 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.
* feat(frame_processor): add loading overlay management during stream processing 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.
* fix(frame_processor) fix imports after merge
* bump pytrickle
* bump pytrickle dependency to version 0.1.6 in pyproject.toml
* bump pytrickle dependency to version 0.1.7 in pyproject.toml1 parent 06b2a27 commit 5b29260
File tree
3 files changed
+151
-14
lines changed- server
- src/comfystream
3 files changed
+151
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
151 | 154 | | |
152 | 155 | | |
153 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
154 | 200 | | |
155 | 201 | | |
156 | 202 | | |
| |||
212 | 258 | | |
213 | 259 | | |
214 | 260 | | |
| 261 | + | |
215 | 262 | | |
216 | 263 | | |
217 | 264 | | |
218 | 265 | | |
219 | 266 | | |
220 | 267 | | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
221 | 272 | | |
222 | 273 | | |
223 | 274 | | |
224 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
225 | 282 | | |
226 | 283 | | |
227 | 284 | | |
| |||
240 | 297 | | |
241 | 298 | | |
242 | 299 | | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
243 | 313 | | |
244 | 314 | | |
245 | 315 | | |
| |||
312 | 382 | | |
313 | 383 | | |
314 | 384 | | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
315 | 391 | | |
316 | 392 | | |
317 | 393 | | |
| |||
324 | 400 | | |
325 | 401 | | |
326 | 402 | | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
339 | 406 | | |
340 | 407 | | |
341 | 408 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
75 | 79 | | |
76 | 80 | | |
77 | 81 | | |
| |||
155 | 159 | | |
156 | 160 | | |
157 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
158 | 166 | | |
159 | 167 | | |
160 | 168 | | |
| |||
168 | 176 | | |
169 | 177 | | |
170 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
171 | 236 | | |
172 | 237 | | |
173 | 238 | | |
| |||
266 | 331 | | |
267 | 332 | | |
268 | 333 | | |
| 334 | + | |
| 335 | + | |
269 | 336 | | |
270 | 337 | | |
271 | 338 | | |
| |||
312 | 379 | | |
313 | 380 | | |
314 | 381 | | |
| 382 | + | |
| 383 | + | |
315 | 384 | | |
316 | 385 | | |
317 | 386 | | |
| |||
775 | 844 | | |
776 | 845 | | |
777 | 846 | | |
| 847 | + | |
778 | 848 | | |
779 | 849 | | |
780 | 850 | | |
| |||
0 commit comments