Open jasoncow007 opened 1 week ago
You found the problem?
Sorry I don’t currently have time to look into this the node here was an experiment to try to get it working if you check the readme theirs a node that’s gotten a bit more work put into it that you might have better luck with
error as the subject
File "D:\ComfyUI-aki-v1.2\python\lib\site-packages\torch\nn\modules\module.py", line 1553, in _wrapped_call_impl return self._call_impl(*args, kwargs) File "D:\ComfyUI-aki-v1.2\python\lib\site-packages\torch\nn\modules\module.py", line 1562, in _call_impl return forward_call(*args, *kwargs) File "D:\ComfyUI-aki-v1.2\custom_nodes\ComfyUI-PuLID4Flux\patcher.py", line 47, in new_model_forward return self.model.diffusion_model.original_forward(args, kwargs) File "D:\ComfyUI-aki-v1.2\comfy\ldm\flux\model.py", line 159, in forward out = self.forward_orig(img, img_ids, context, txt_ids, timestep, y, guidance, control) File "D:\ComfyUI-aki-v1.2\comfy\ldm\flux\model.py", line 118, in forward_orig img, txt = block(img=img, txt=txt, vec=vec, pe=pe) File "D:\ComfyUI-aki-v1.2\python\lib\site-packages\torch\nn\modules\module.py", line 1553, in _wrapped_call_impl return self._call_impl(*args, kwargs) File "D:\ComfyUI-aki-v1.2\python\lib\site-packages\torch\nn\modules\module.py", line 1562, in _call_impl return forward_call(*args, kwargs) File "D:\ComfyUI-aki-v1.2\custom_nodes\ComfyUI-PuLID4Flux\patcher.py", line 14, in new_double_forward img_cond = original_img + id_weight self.pulid.pulid_ca[self.model.ca_idx](id_embed, original_img) File "D:\ComfyUI-aki-v1.2\python\lib\site-packages\torch\nn\modules\module.py", line 1553, in _wrapped_call_impl return self._call_impl(args, kwargs) File "D:\ComfyUI-aki-v1.2\python\lib\site-packages\torch\nn\modules\module.py", line 1562, in _call_impl return forward_call(*args, kwargs) File "D:\ComfyUI-aki-v1.2\python\lib\site-packages\torch\utils_contextlib.py", line 116, in decorate_context return func(*args, kwargs) File "D:\ComfyUI-aki-v1.2\custom_nodes\ComfyUI-PuLID4Flux\encoders_flux.py", line 53, in forward latents = self.norm2(latents) File "D:\ComfyUI-aki-v1.2\python\lib\site-packages\torch\nn\modules\module.py", line 1553, in _wrapped_call_impl return self._call_impl(*args, *kwargs) File "D:\ComfyUI-aki-v1.2\python\lib\site-packages\torch\nn\modules\module.py", line 1562, in _call_impl return forward_call(args, kwargs) File "D:\ComfyUI-aki-v1.2\python\lib\site-packages\torch\nn\modules\normalization.py", line 202, in forward return F.layer_norm( File "D:\ComfyUI-aki-v1.2\python\lib\site-packages\torch\nn\functional.py", line 2576, in layer_norm return torch.layer_norm(input, normalized_shape, weight, bias, eps, torch.backends.cudnn.enabled) RuntimeError: expected scalar type BFloat16 but found Half