feat comfyui connector and fix framesync null guard #207
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 410 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.360
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #207"
general
weight: 0.35
ischencheng
Summary
Introduces a ComfyUI-to-BMF connector that runs ComfyUI graphs on the BMF engine without bundling GPL3.0 code.
Fixes a crash in FrameSync input manager when inputs arrive at different timestamps (mixed-rate/mixed-type flows).
Part 1 — Feature: ComfyUI Connector
What
Runtime integration that converts a ComfyUI prompt graph into a BMF GraphConfig and executes it in-process.
How
- BmfWorkflowConverter builds a BMF graph from the ComfyUI prompt.
- ComfyNodeRunner wraps each Comfy node as a BMF module with:
- zero-copy tensor paths (hmp <-> torch via DLPack),
- simple model-output caching for loader nodes,
- progress/preview alignment with comfy_execution.progress,
- guarded input decoding to avoid null/invalid packets.
Why
Part 2 — Bugfix: FrameSync crash under mixed timestamps
Fix in this MR:
Limitations & follow-ups:
Reproducer (why it used to crash)
- model/vae from a loader arrive once at ts=1.
- latent_image arrives later at ts=2 (after VAEEncode finishes).