Skip to content

BiRefNet node stuck at 0% with no error on Mac Apple Silicon (ComfyUI Desktop) #200

@monasu919-code

Description

@monasu919-code

Environment

  • Mac mini (Apple Silicon)
  • macOS (darwin)
  • ComfyUI Desktop v0.8.28
  • Python 3.12.11
  • PyTorch 2.11.0
  • ComfyUI-RMBG v3.0.0
  • transformers 4.48.3

Bug Description
BiRefNet node gets stuck at 0% with no error message and no progress. The queue shows "BiRefNetRMBG: 0%" indefinitely.

Steps to Reproduce

  1. Use the BiRefNet (RMBG) node with either BiRefNet-general or BiRefNet-portrait model
  2. Connect a LoadImage node and run the workflow
  3. The node gets stuck at 0% — no error, no output

Additional Notes

  • RMBG-2.0 works fine on the same machine
  • BEN2 and INSPYRENET have not been tested
  • The console log shows: Using BiRefNet-general model with 1024 resolution and then hangs with no further output
  • Tried downgrading transformers from 5.5.3 to 4.48.3 — issue persists
  • Suspect this may be related to Apple Silicon MPS backend incompatibility

Is this a known issue on Mac / Apple Silicon? Any workaround would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions