ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument mat2 in method wrapper_CUDA_mm)

Open jokero3answer opened this issue 10 months ago • 4 comments

微信截图_20240426205638 微信截图_20240426204929 微信截图_20240426210040 Author, thank you very much, requesting a fix for this old bug, it has reappeared and all my nodes and comfyui are up to date! @tobbez @jeske @realazthat @FaridSafi @tjhayasaka

jokero3answer avatar Apr 26 '24 13:04 jokero3answer

image

jokero3answer avatar Apr 26 '24 13:04 jokero3answer

@comfyanonymous,@pythongosssss

jokero3answer avatar Apr 26 '24 22:04 jokero3answer

Restart comfy solved this for me many times

techzuhaib avatar Apr 27 '24 01:04 techzuhaib

Restart comfy solved this for me many times

I'm getting this error with Conditioning (Concat) and restarting ComfyUI does not resolve it.

Xyem avatar Jun 29 '24 10:06 Xyem

me too~The problem persists

designex avatar Sep 26 '24 07:09 designex

微信截图_20240426205638 微信截图_20240426204929 微信截图_20240426210040 Author, thank you very much, requesting a fix for this old bug, it has reappeared and all my nodes and comfyui are up to date! @tobbez @jeske @realazthat @FaridSafi @tjhayasaka

This workflow is using incompatible nodes mixed together. You should not connect the SAMLoader from Impact Pack to the SAM_MODEL of segment anything.

ltdrdata avatar Sep 27 '24 04:09 ltdrdata

For others, please check your workflow as well. For issues arising from custom nodes, please inquire at the respective custom node's repository.

ltdrdata avatar Sep 27 '24 04:09 ltdrdata

微信截图_20240928183216

designex avatar Sep 28 '24 10:09 designex