[Bug]Found at least two devices, cuda:0 and cpu!
Selecting cpu in T5 loader node and getting this error when running to ksample node. Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
having the exact problem when trying your implementation of hunyuan dit
File "D:\ComfyUI_2\custom_nodes\ComfyUI_ExtraModels\HunYuanDiT\models\poolers.py", line 19, in forward x = x + self.positional_embedding[:, None, :].to(x.dtype) # (L+1)NC ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! 看到几乎相同的问题曾经提出并已被关闭,我重启comfyui并没有解决。
Update and try again? I suspect it will still fail on low vram machines but maybe it'll work.
昨天刚刚更新了本体和插件,看到别人8G显存可以跑呀。内存也足够大,不知是不是本体更新导致的,还是什么原因,感谢您的回复,希望有时间时看一下,非常感谢。
昨天
I've pushed changes ~30 minutes ago ( https://github.com/city96/ComfyUI_ExtraModels/commit/5101719ca859a2d75f5e830230011668213b559d ) that might fix the issue, so please update again. If you see loading in lowvram mode in the console then it will still error due to not having enough VRAM and not being able to partially offload the model.
city96,非常感谢这么快地回复,明天我再试一下,晚安。
更新后可以跑通了,很流畅。非常棒,再次感谢。