Open bigcat88 opened 1 month ago
As a workaround I found way to use "Image To Device" node from ComfyUI_essentials to pass mask to cpu
device before passing it to Join Image with Alpha
The downside of it that it requires ComfyUI_essentials
and 3 additional nodes, but at least it is working.
note: we are deploying ComfyUI remotely and using it through API
Expected Behavior
"Join Image With Alpha" node checks whether the mask and the images is on a different devices and move them to the one device.
ComfyUI itself is running on MPS, no specific flags specified. I expect it can move image to
mps
in this case in the "Join Image With Alpha" to succeed or move mask to the cpu.Actual Behavior
Steps to Reproduce
reproduce-workflow.json
Only this custom node is required: https://github.com/viperyl/ComfyUI-BiRefNet
Debug Logs
Other
No response