Skip to content

v1.6.1 — cursor under graph-zoom, SAM 3 hardening, templates browser

Choose a tag to compare

@shootthesound shootthesound released this 07 Jun 13:29
· 22 commits to main since this release

Small but meaningful: fixes the cursor-drift bug under ComfyUI's graph zoom, hardens SAM 3 install, and the example workflows now show up in ComfyUI's templates browser. No breaking changes.

What's new

Canvas wheel-zoom no longer drifts under graph zoom (closes #15)

When the ComfyUI graph itself was zoomed in/out (Ctrl-scroll on empty canvas), Angelo's wheel-zoom on the preview was anchoring the cursor in CSS-scaled coords but dividing by unscaled pane dims — so each wheel tick walked the image sideways. The wheel handler now converts cursor position through the graph's CSS transform first; the click handlers were already invariant. Thanks @KursatAs for the diagnosis (#23).

SAM 3: SHA256-verified download

The auto-downloaded sam3.pt is now hash-verified against the known-good 1038lab/sam3 checksum before being installed. A mismatched download is deleted and surfaced as a clear error rather than silently loaded. SAM 3 loads via torch.load (pickle), so this also doubles as a tamper guard at rest.

SAM 3: fallback to main-thread detect on background CUDA OOM

On WSL / containerised CUDA setups, the first allocation inside the executor thread can trip a spurious torch.OutOfMemoryError despite ample free VRAM (per-thread context bookkeeping). Detect now catches that specific exception and retries synchronously on the main thread; the typical path still goes through the executor.

Example workflows in ComfyUI's templates browser (closes #18)

Renamed workflows/example_workflows/. ComfyUI auto-lists this convention under Workflow → Browse Templates → ComfyUI-Angelo, so the bundled Klein 9B and Qwen-Image-Edit examples are now discoverable without a docs hunt — especially useful on ephemeral remote ComfyUI instances. README links updated.

If you previously bookmarked a workflows/... path in a custom integration, update it to example_workflows/.... The JSON files themselves are unchanged.

Credits

Thanks to @FNGarvin (PR #19) for the SAM checksum, the in-process fallback diagnosis, and the example_workflows folder suggestion; and to @KursatAs (PR #23) for the cursor-coord fix.

Update

ComfyUI Manager → Update, or git pull in the ComfyUI-Angelo folder.