-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No longer works since latest Comfy Update #25
Comments
same problem |
Same here |
same problem, workaround does its job but please fix it. |
Maybe this is not the best place for this, but: can people please post here about any adverse effects they incur as a result of changing that line of code? |
I kept reverting comfyui to previous commits and reached the commit 8b90e50979b0d33e1f8d10d5c938361f59f95474 but still it's not working. @Pantonia4 Can you tell us which commit exactly broke this custom node? In my case I just did the following which was referenced in another issue and all works well with the latest commit. So the error is not the same.
OK, that was another error indeed but I still got the error mentioned here. I tried PR #27 which fixes this issue but in my case gives another error probably because of control net. Actually I confirmed that it's not the control net, the PR seems to need an update. |
Use together with Hyper-FLUX.1-dev-8step-lora is not working either. Only get noise image |
For me, the PuLID node stopped working immediately after I updated Comfyui on 2024-11-12. So, after @Pantonia4 posted the error "TypeError: forward_orig() takes from 7 to 9 positional arguments but 10 were given" in the Comfyui repository, considering that the PuLID nodes had not undergone changes, I started looking for what it was updated in Comfyui. First I checked the branches. and I took each line in turn, so I discovered that removing transformer_options from ..ComfyUI_windows_portable\ComfyUI\comfy\ldm\flux\model.py solves the problem (at least for me). out = self.forward_orig(img, img_ids, context, txt_ids, timestep, y, guidance, control, transformer_options) comfyanonymous/ComfyUI@96b2080 aca3999a#diff-453e6e6c1a6fa355aa5f5b6aabb5f9153c526c115d08ad757c0243d9f8ca31eeL159 Maybe someone much more skilled will find a better solution - I'm not a coder. Since 2024-11-12 I haven't updated Comfyui or any other nodes, and it seems that now there is a fix for forward_orig: Using FLUX-Dev I get ~1 min (2.10s/it) to generate an 1080p image with PuLID and ~3 min to generate a video sequence 1080p 30fps (10.78s/it, dpmpp/karras/cfg2.5) using SVD/Video Helper Suite. Sometimes the time increases to 5-15 min per img/vid so I have to cleanup the VRAM or unload modules or to restart Comfyui to get the same working speed. But I personally find it extremely acceptable. OK. Now I am trying to finish a personal project, but I hope that during the next week I will upgrade Comfyui and the nodes, I will test more and come back with more details. Also, I suspect a problem with the Nvidia driver and CUDA package on this torch version ... 2.4.1+cu121 was much faster. So... there will be more work. My own specs + log, packages list and snapshot. Platform: Windows 10 Pro 64-bit v.22H2 comfyui.log I hope this information helps you. Thanks everyone for all the great work! |
Hi there, I see where it says change this line to this line. When I click the links it opens the code but I am not sure which line needs to be changed from what to what. Not great at this, is there a line number I should be looking for. |
Thanks for that, I noticed though the path doesn't line up with comfyui portable. Not sure where to look. If I search for model.py I see a few returns |
Found it :) |
You can find model.py here: [your drive]\ComfyUI_windows_portable\ComfyUI\comfy\ldm\flux\ |
:/ got this now expected scalar type Half but found BFloat16 |
Actually I tried #27 and I do get "expected scalar type Half but found BFloat16". The workflow is attached in #27 it uses GGUF, but I also tried another workflow that uses the fluxdev model also with #27 fix but still got the same "expected scalar type Half but found BFloat16" . I don't think it's related to the right mode/vae/clip. |
I know that workflow but never use it. Requested to load Flux LE: BTW, for "expected scalar type Half but found BFloat16" error there is an opened issue here |
That's a cool workflow. I have been trying to do something like that to take the input face, a pose image and pulid them out. Always looks face details and skin looks plastic, plus pulid seems to drift a fair bit from the source |
Thank you for the workflow and for pointing me to the issue #15 that discusses "expected scalar type Half but found BFloat16" . |
0%| | 0/40 [00:00<?, ?it/s] Prompt executed in 111.83 seconds |
Since todays update, PulID is no longer working on my end. Doing a rollback to the previous version makes it work again.
The Error:
The text was updated successfully, but these errors were encountered: