You are a hero dude! THANK YOU so much I would have never been able to do this without your help! you are awsome! I hope you are doing well youve earned my subscription! you explained everything so perfectly and went through so many things that would have slipped me up! one issue i had was where to put the pulid model and the unet loader model in comfy ui?
Thank you for watching and the sub! The models will go inside ComfyUI > models folder. Here, you will need to create a new folder and name it pulid. Place the pulid ip-adapter model here. The base model will go inside the checkpoints folder. Be sure to use SDXL ones as PuLID will only work with SDXL and not SD1.5 models.
@@CodeCraftersCorner Thank you so much i finally fixed it! I made sure I posted your video in 'latent vision's youtuube comment section so the people there could easily do his tutorial you are the best man!!!!!
@@CodeCraftersCorner chatgpt update (and you were actually more effective to be fair) gpt: Great update! It’s good to hear you got PuLID working by using the cp311 wheel instead of cp310. That adjustment will likely help others who face similar issues when using certain custom nodes or packages that are sensitive to specific Python versions.
I do like your step-by-step approach and (think) I followed every step along the way. I followed all your instructions about pulid and insightface so the queue makes it to where it can't find the pulid_flux_v0.9.0.safetensors. I've tried putting in different folders with no success. Would you know which folder it's supposed to be in? ckpts, pulid, other? (Reference: I had also downloaded the v0.9.1 before I noticed the version. Can that be used or stick with .0? Thanks.
Thanks for your detailed video and i have two questions; 1. When installed through pinokio or stability matrix, ComfyUI does not contain a folder named python_embeded or i can't find :) So how do i install pulid to ComfyUI inside stability matrix? 2. Can we use pulid with Flux Dev checkpoints? Thank you
Hello, thank you for watching. 1. you will need to find the python executable which pinokio or stability matrix is using and then replace the python_embeded with your version. Alternatively, through the ComfyUI Manager, there is an option "Install PIP packages" which you can try. 2. Not that I am aware of for now.
Thanks for the video. by default this plugin is dissapointing how is mangles the eyes, and on very full portrait close up it still looks painted. but combining this with reactor and reactor restore seems to be a good combo.
Thank you for the amazing tutorials, liked, subs and notif up! Can you please tell me what could be the problem, I installed PuLID node but it's says IMPORT FAILED, and that's the case for many other nodes. My comfy is pinokio integrated and I always update it and I tried the fix ''TRY FIX". Also for imported nodes When I try to generate it says: Numpy error.
Hello, can you check your terminal and see if you have any "module not found" error. Usually, the import will fail if you are missing some dependencies. Missing "Insightface module" is common or it can be the "filterpy" module.
hii! thank you so much for the tutorial! for some reason I still have 4 missing nodes when loading a pipeline (missing pulidInsightFace, PulidModelLoader, PulidEvaClip, Apply Pulid). When I try pip install insightface it says, it's already installed..I assume it's not about individual components, can't find the solution
Can you try to update ComfyUI and the PuLID custom node manually. In your terminal, go to ComfyUI and type "git pull". Then go to custom node folder > pulid > type "git pull". Then try again.
Hello, you should search for Juggernaut XL on civitai website. The model id is 133005. Once the page loads, just below the name, there are different models you can choose from. Download the one that says: V9+RDPhoto2-Lightning_4S
Hello, I have workflows that are shared on sites and are open to everyone. I download and install the missing models, lora, etc. in those workflows, but I still get errors. I want these to be fixed and prepared in a way that I can run. If I pay you, can you do these for me?
Hello, I can try running the workflows and see what the issues are. However, even if i fixed the errors on my PC, it does not mean the same solution will fixed it for you.
i get the following error in the SamplerCustomAdvanced noe (using FP16 workflow) "forward_orig() takes from 7 to 9 positional arguments but 10 were given"
Hello, PuLID will only work with an SDXL checkpoint. There should not be an FP16 workflow for this. Maybe you confused this for the Flux PuLID which is different.
Right now, custom nodes is still in development. Yes, there's a good chance they will keep it in the Manager but will be nice if it's intergrated with the new app natively.
Hello, most of the steps will be the same. You will have to replace part of the command with you python environment. Every time, I said "Python_embedded/python.exe", you have to use your virtual environment or conda environment python executable instead to run the command. Otherwise, it will be the same.
hello, i got an error "could not find the version that satisfies the requirement pip -517" while installing facexlib by pip command . Could you plz help me out how to solve this
hi, do you know any model or anything i can give it image (my avatar) + audio file and it give me video of that with lip and eye and face synce? local on pc like for example comfy ui model.
There are some lip sync custom nodes on GitHub. I talked about a couple in this video. You may have to use an earlier version of ComfyUI though. The video is from June. Here is the link: ruclips.net/video/4pSPg2tVar8/видео.html
Hello, PuLID will only work with an SDXL checkpoint. There should not be an FP16 workflow for this. Maybe you confused this for the Flux PuLID which is different.
Could someone help me? I get this error after installing PuLID from Manager and I don't know how to solve it: "Cannot import F:\Comfyui\ComfyUI\custom_nodes\PuLID_ComfyUI module for custom nodes: Unable to import dependency onnxruntime."
Can you try to open the terminal in your ComfyUI folder: F:\Comfyui Type in this command: python_embeded\python.exe -m pip install onnxruntime press enter. See if the install and then start ComfyUI
Missing Node Types When loading the graph, the following node types were not found PulidEvaClipLoader PulidInsightFaceLoader PulidModelLoader ApplyPulid pls help
hay i get this error how to fix it:- Prompt outputs failed validation PulidModelLoader: - Value not in list: pulid_file: 'None' not in [] UNETLoader: - Value not in list: unet_name: 'None' not in []
Hi! I am loving your content! I follow all the instructions and I keep encountered this error. "KSampler forward_orig() takes from 7 to 9 positional arguments but 10 were given" Has anyone encountered something similar, if someone can provide me with a solution I would really appreciate it!
for anyone watching inoct 2024, import will fail as albucore no longer functions correctly in this instance since an update, as this is the portable version of comfy, you can downgrade to the previous known working version by running cmd in the run bat root ( as he does in the vid) and use this command python_embeded\python.exe -m pip install albucore==0.0.16
Sorry to hear that! I understand it can be really frustrating. As a last resort, you might consider trying Python 3.10. However, this can lead to more complications with future updates.
And for the first time a video made by you didn't solve the case 😞 Processing c:\comfyui\comfyui_windows_portable_3\python_embeded\insightface-0.7.3-cp312-cp312-win_amd64.whl ERROR: Wheel 'insightface' located at C:\ComfyUI\ComfyUI_windows_portable_3\python_embeded\insightface-0.7.3-cp312-cp312-win_amd64.whl is invalid. I'm using Win11, Python 3.12.7, updated ComfyUI. Any clue?
Sorry to hear that. I am actually preparing for a new video on PuLID since a lot changed. In the meantime, when installing insightface, can you try the following: 1. copy the path to the insightface file (right click > copy as path) 2. go inside the python_embedded folder and type CMD in address bar. 3. in CMD, type in python.exe -m pip install "paste the full path to the insightface file here" 4. press Enter. since the error said invalid for the location, i think you need to have the full path to the insightface .whl file.
@@CodeCraftersCorner Thank you for your fast response and kind support - your channel is, indeed, one of my favorites in this matter :-) I can assure you that the file location is correct and the command sintax are ok: C:\ComfyUI\ComfyUI_windows_portable_3\python_embeded>python.exe -m pip install insightface-0.7.3-cp312-cp312-win_amd64.whl onnxruntime (I tried with and without "onnxruntime" and change the location of the .whl file from "python_embeded" to the ComfyUI root directory resulting in the same output) ---- I also tried "pip install insightface" and the error is still related with thw wheel itself: [!] Building wheel for insightface (pyproject.toml) did not run successfully. [!] exit code: 1 [!] [!] [213 lines of output] And there´s some info on this trial: [!] C:\ComfyUI\ComfyUI_windows_portable_2\python_embeded\Lib\site-packages\setuptools\command\build_py.py:212: _Warning: Package 'insightface.thirdparty.face3d.mesh.cython' is absent from the `packages` configuration. [!] C:\ComfyUI\ComfyUI_windows_portable_2\python_embeded\Lib\site-packages\setuptools\command\build_py.py:212: _Warning: Package 'insightface.data.images' is absent from the `packages` configuration. [!] C:\ComfyUI\ComfyUI_windows_portable_2\python_embeded\Lib\site-packages\setuptools\command\build_py.py:212: _Warning: Package 'insightface.data.objects' is absent from the `packages` configuration. (error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": visualstudio.microsoft.com/visual-cpp-build-tools/) ---- One more time, thank you!
@@luizcesarleite6232 Hmm! Let's try this: 1. go to C:\ComfyUI\ComfyUI_windows_portable_3\python_embeded > open the CMD here. 2. type in python.exe --version 3. This will tell you your python version. 4. The insightface version in the command above says: version 3.12. 5. If your python version is not python 3.12, then this is the issue. You will need to get the insightface for your python version. you can look at the name it will say cp3.11 or cp3.12 like this. 6. then try again with the new insightface file. if this is not the issue, the only other thing i can think of is the list of application installed on your system. I checked my list of installed app. I have Microsoft visual studio 2022 installed. During the installation, I checked the c++ package. Not sure if this will solve the error to be honest but it might be worth a try.
@@CodeCraftersCorner Using Visual Studio Installer I can see that I have Microsoft Visual Studio 2022 Community with Dev Python and Dev desktop C++ (not mobile). And now I have a "acess denied" in simple CMD. Tried PowerShell as administrator: PS C:\ComfyUI\ComfyUI_windows_portable_3\python_embeded> python.exe -m pip install insightface-0.7.3-cp312-cp312-win_amd64.whl Defaulting to user installation because normal site-packages is not writeable Maybe because Visual Studio is now installed? Any clues how to fix this acess/writing problem?
Just installing visual studio should not cause this. Can you check if you have conda install? It's possible that you have done conda init in powershell. so when you are doing python -m pip install insightface, it is installing in the conda environment and not the python embedded folder. Try to start CMD from start and choose the one that says system. or you can start cmd from windows system folder.
Got this error every time Error occurred when executing PulidInsightFaceLoader: File "H:\ComfyUI_windows_portable\ComfyUI\execution.py", line 317, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI_windows_portable\ComfyUI\execution.py", line 192, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "H:\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\PuLID_ComfyUI\pulid.py", line 240, in load_insightface model = FaceAnalysis(name="antelopev2", root=INSIGHTFACE_DIR, providers=[provider + 'ExecutionProvider',]) # alternative to buffalo_l ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\insightface\app\face_analysis.py", line 43, in __init__ assert 'detection' in self.models ^^^^^^^^^^^^^^^^^^^^^^^^^^
I got this error when pip install insightface-0.7.3-cp311-cp311-win_amd64.whl : ERROR: insightface-0.7.3-cp311-cp311-win_amd64.whl is not a supported wheel on this platform. and I cannot step into next. Do you know what is the matter?
@@CodeCraftersCorner Thank you for the reply. I have already resolved this from another vedio. I think maybe you are inetrested in it. This is the URL:ruclips.net/video/Uls_jXy9RuU/видео.html and it is at the 19:29.
ValueError: Query/Key/Value should either all have the same dtype, or (in the quantized case) Key/Value should have dtype torch.int32 query.dtype: torch.float32 key.dtype : torch.float16 value.dtype: torch.float16 🤔
You deserve, no matter if we can go around the problem I showed :-)
Thank you so much!
An extremely detailed and clear walkthrough on how to successfully install PulID. Thank you! Much appreciated!
Thank you! Glad I was able to help.
Thanks you, I can't believe all the trouble I had just because of one duplicate folder. Really appreciate your effort!
Same here
Glad I could help!
This is awesome, I struggled for ages to get this installed. Very clear guide, thanks man
Thanks, glad it was helpful!
"Hey, thanks a lot for Creating this tutorial! Really appreciate your effort, you're awesome!👍"
Man you are simply brilliant and a hidden gem.
Thank you.
great tutorial, i was having trouble with the installation but your tutorial solved my problem, thank you!
Great to hear!
wow u r my hero! I'm struggling with this whole today buy finally I found this video from heaven! hahahaha. I would like to press Thumbs up!
Thank you!
Thanks for your clear and patient explanations! 🙏
Thanks mate, i was having so many problems with this!
Glad it helped
You are a hero dude! THANK YOU so much I would have never been able to do this without your help! you are awsome! I hope you are doing well youve earned my subscription! you explained everything so perfectly and went through so many things that would have slipped me up! one issue i had was where to put the pulid model and the unet loader model in comfy ui?
Thank you for watching and the sub!
The models will go inside ComfyUI > models folder.
Here, you will need to create a new folder and name it pulid. Place the pulid ip-adapter model here.
The base model will go inside the checkpoints folder. Be sure to use SDXL ones as PuLID will only work with SDXL and not SD1.5 models.
@@CodeCraftersCorner Thank you so much i finally fixed it! I made sure I posted your video in 'latent vision's youtuube comment section so the people there could easily do his tutorial you are the best man!!!!!
Thanks for the update! Glad it worked for you, and I appreciate you sharing the video in the comments.
Thank you for your super detailed videos!
Glad you like them!
Outstanding presentation. Thank you. 😀
Thanks!
Thank you!
Nice tutorial for a fairly complicated installation. Thx :)
Glad it helped
It is cool man! I did it but only with your help. Thanks. P.S. To install insightface , i needed to put whl file in to python_embeded folder.
Glad it helped!
thank you
I will watch the useful video and learn from it.
I will support you~
Thank you too
Thanks, solved the problem! By the way, your videos are very informative about how Comyui works.
Great to hear! Thank you!
had to reinstall os, your vid again was spot on - thanks
Glad it helped
Thank you very much! You are best!!!
Glad it helped!
Thanks! Keep it up! 💪
Thank you!
Thanks you for Detailed videos.
Glad you like them!
Thank you very much comrade. You are an invaluable help to us.
Happy to help
THANK YOU!
Legend! Thanks Sir
Glad it helped!
Thank you so much!
Thank you! Glad you found it helpful.
You earned a subscriber
Thank you for the support!
You makes a dam good Job with your explainigs.
Thank you very much!
yopu are a saint, thanks for sharing
Thank you too!
@@CodeCraftersCorner chatgpt update (and you were actually more effective to be fair)
gpt: Great update! It’s good to hear you got PuLID working by using the cp311 wheel instead of cp310. That adjustment will likely help others who face similar issues when using certain custom nodes or packages that are sensitive to specific Python versions.
thank you sir
Most welcome
Thank you🙂
Glad it was helpful!
Wow You saved me.
Glad it was helpful.
I do like your step-by-step approach and (think) I followed every step along the way. I followed all your instructions about pulid and insightface so the queue makes it to where it can't find the pulid_flux_v0.9.0.safetensors. I've tried putting in different folders with no success. Would you know which folder it's supposed to be in? ckpts, pulid, other? (Reference: I had also downloaded the v0.9.1 before I noticed the version. Can that be used or stick with .0? Thanks.
Hello, this video is for the SDXL pulid. Are you perhaps referring to the Flux version? I have not made a video for that yet.
@@CodeCraftersCorner Ah! So many things to look at in Comfyui! Thanks. I'm operating both XL and Flux so I'll be looking for the Flux video.
Thanks for your detailed video and i have two questions;
1. When installed through pinokio or stability matrix, ComfyUI does not contain a folder named python_embeded or i can't find :) So how do i install pulid to ComfyUI inside stability matrix?
2. Can we use pulid with Flux Dev checkpoints?
Thank you
Hello, thank you for watching.
1. you will need to find the python executable which pinokio or stability matrix is using and then replace the python_embeded with your version. Alternatively, through the ComfyUI Manager, there is an option "Install PIP packages" which you can try.
2. Not that I am aware of for now.
thank you for the tutorial , i get "not a suported wheel on this platform" when instaling insightface , any sugestions?
Hello, I just released an updated video on this topic here: ruclips.net/video/0vDRus17AGc/видео.html
thank you
Thanks for the video. by default this plugin is dissapointing how is mangles the eyes, and on very full portrait close up it still looks painted. but combining this with reactor and reactor restore seems to be a good combo.
Thanks for sharing!
Thank you for the amazing tutorials, liked, subs and notif up! Can you please tell me what could be the problem, I installed PuLID node but it's says IMPORT FAILED, and that's the case for many other nodes. My comfy is pinokio integrated and I always update it and I tried the fix ''TRY FIX". Also for imported nodes When I try to generate it says: Numpy error.
Hello, can you check your terminal and see if you have any "module not found" error. Usually, the import will fail if you are missing some dependencies. Missing "Insightface module" is common or it can be the "filterpy" module.
@@CodeCraftersCorner thanks, I fixed the issue by deleting everything and reinstalling it.
Glad you got it to work.
hii! thank you so much for the tutorial! for some reason I still have 4 missing nodes when loading a pipeline (missing pulidInsightFace, PulidModelLoader, PulidEvaClip, Apply Pulid). When I try pip install insightface it says, it's already installed..I assume it's not about individual components, can't find the solution
Can you try to update ComfyUI and the PuLID custom node manually. In your terminal, go to ComfyUI and type "git pull". Then go to custom node folder > pulid > type "git pull". Then try again.
@@CodeCraftersCorner thank you so much!
Bro, I can't get this model juggernautXL_4_Steps_Lightning.safetensors?
Hello, you should search for Juggernaut XL on civitai website. The model id is 133005. Once the page loads, just below the name, there are different models you can choose from. Download the one that says: V9+RDPhoto2-Lightning_4S
I have installed comfyui zluda on my amd setup rx 6600, can i use this method while error using reactor node
You should mention somewhere in description or pin that you can get your python version with the command Python -V
Thanks for pointing out!
Note -- if u are getting permission denied errors when installing facexlib -- or other packages -- try working from an elevated command prompt
Thanks for sharing!
Hello, I have workflows that are shared on sites and are open to everyone. I download and install the missing models, lora, etc. in those workflows, but I still get errors. I want these to be fixed and prepared in a way that I can run. If I pay you, can you do these for me?
Hello, I can try running the workflows and see what the issues are. However, even if i fixed the errors on my PC, it does not mean the same solution will fixed it for you.
i get the following error in the SamplerCustomAdvanced noe (using FP16 workflow) "forward_orig() takes from 7 to 9 positional arguments but 10 were given"
Hello, PuLID will only work with an SDXL checkpoint. There should not be an FP16 workflow for this. Maybe you confused this for the Flux PuLID which is different.
I wonder how this would work with the Comfy UI desktop app.
Right now, custom nodes is still in development. Yes, there's a good chance they will keep it in the Manager but will be nice if it's intergrated with the new app natively.
what about live portrait, isn't it better?
Yes it's way far better
I'll say better
@@CodeCraftersCorner PuLID or libepotrait???
Live potrait mix node one is superior
They are for two different purposes though. LivePortrait will animate a static portrait while PuLID will create a new image with the face.
how to install it if I don't have the portable version????
Hello, most of the steps will be the same. You will have to replace part of the command with you python environment. Every time, I said "Python_embedded/python.exe", you have to use your virtual environment or conda environment python executable instead to run the command. Otherwise, it will be the same.
hello, i got an error "could not find the version that satisfies the requirement pip -517" while installing facexlib by pip command . Could you plz help me out how to solve this
Can you try doing python --version to check your python version?
hi, do you know any model or anything i can give it image (my avatar) + audio file and it give me video of that with lip and eye and face synce? local on pc like for example comfy ui model.
There are some lip sync custom nodes on GitHub. I talked about a couple in this video. You may have to use an earlier version of ComfyUI though. The video is from June. Here is the link: ruclips.net/video/4pSPg2tVar8/видео.html
CLIPTextEncode
'NoneType' object has no attribute 'device' how solve this error please help?
Hello, PuLID will only work with an SDXL checkpoint. There should not be an FP16 workflow for this. Maybe you confused this for the Flux PuLID which is different.
Okay thanks bro @@CodeCraftersCorner
Could someone help me? I get this error after installing PuLID from Manager and I don't know how to solve it: "Cannot import F:\Comfyui\ComfyUI\custom_nodes\PuLID_ComfyUI module for custom nodes: Unable to import dependency onnxruntime."
Can you try to open the terminal in your ComfyUI folder: F:\Comfyui
Type in this command: python_embeded\python.exe -m pip install onnxruntime
press enter.
See if the install and then start ComfyUI
Missing Node Types
When loading the graph, the following node types were not found
PulidEvaClipLoader
PulidInsightFaceLoader
PulidModelLoader
ApplyPulid
pls help
Hello, go to the manager and click on install missing custom nodes. Install all of them and restart ComfyUI.
hay i get this error how to fix it:-
Prompt outputs failed validation
PulidModelLoader:
- Value not in list: pulid_file: 'None' not in []
UNETLoader:
- Value not in list: unet_name: 'None' not in []
Can you verify that you have the correct models downloaded? These errors mean that you are missing a few checkpoints.
I cant install pulid . it keep saying import failed. what is happening. Also im doing this in the comfyui manager also.
Hello, there are two versions: one for sdxl and one for flux. The video is for the sdxl version. I will make an up-to-date version soon.
@CodeCraftersCorner ok ty
Hi! I am loving your content! I follow all the instructions and I keep encountered this error.
"KSampler forward_orig() takes from 7 to 9 positional arguments but 10 were given"
Has anyone encountered something similar, if someone can provide me with a solution I would really appreciate it!
Thank you! Can you tell me which base checkpoint you are using. PuLID will only work with SDXL.
There is a different PuLID for Flux. This one is only for SDXL.
for anyone watching inoct 2024, import will fail as albucore no longer functions correctly in this instance since an update, as this is the portable version of comfy, you can downgrade to the previous known working version by running cmd in the run bat root ( as he does in the vid) and use this command python_embeded\python.exe -m pip install albucore==0.0.16
Thanks for the update!
facexlib error never goes away, i tried everything
Sorry to hear that! I understand it can be really frustrating. As a last resort, you might consider trying Python 3.10. However, this can lead to more complications with future updates.
@@CodeCraftersCorner yes i did it i was using pythoon 3.12 then i had to downgrade.
@ShubzGhuman I see.
And for the first time a video made by you didn't solve the case 😞
Processing c:\comfyui\comfyui_windows_portable_3\python_embeded\insightface-0.7.3-cp312-cp312-win_amd64.whl
ERROR: Wheel 'insightface' located at C:\ComfyUI\ComfyUI_windows_portable_3\python_embeded\insightface-0.7.3-cp312-cp312-win_amd64.whl is invalid.
I'm using Win11, Python 3.12.7, updated ComfyUI.
Any clue?
Sorry to hear that. I am actually preparing for a new video on PuLID since a lot changed. In the meantime, when installing insightface, can you try the following:
1. copy the path to the insightface file (right click > copy as path)
2. go inside the python_embedded folder and type CMD in address bar.
3. in CMD, type in python.exe -m pip install "paste the full path to the insightface file here"
4. press Enter.
since the error said invalid for the location, i think you need to have the full path to the insightface .whl file.
@@CodeCraftersCorner Thank you for your fast response and kind support - your channel is, indeed, one of my favorites in this matter :-)
I can assure you that the file location is correct and the command sintax are ok:
C:\ComfyUI\ComfyUI_windows_portable_3\python_embeded>python.exe -m pip install insightface-0.7.3-cp312-cp312-win_amd64.whl onnxruntime
(I tried with and without "onnxruntime" and change the location of the .whl file from "python_embeded" to the ComfyUI root directory resulting in the same output)
----
I also tried "pip install insightface" and the error is still related with thw wheel itself:
[!] Building wheel for insightface (pyproject.toml) did not run successfully.
[!] exit code: 1
[!]
[!] [213 lines of output]
And there´s some info on this trial:
[!] C:\ComfyUI\ComfyUI_windows_portable_2\python_embeded\Lib\site-packages\setuptools\command\build_py.py:212: _Warning: Package 'insightface.thirdparty.face3d.mesh.cython' is absent from the `packages` configuration.
[!] C:\ComfyUI\ComfyUI_windows_portable_2\python_embeded\Lib\site-packages\setuptools\command\build_py.py:212: _Warning: Package 'insightface.data.images' is absent from the `packages` configuration.
[!] C:\ComfyUI\ComfyUI_windows_portable_2\python_embeded\Lib\site-packages\setuptools\command\build_py.py:212: _Warning: Package 'insightface.data.objects' is absent from the `packages` configuration.
(error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": visualstudio.microsoft.com/visual-cpp-build-tools/)
----
One more time, thank you!
@@luizcesarleite6232 Hmm! Let's try this:
1. go to C:\ComfyUI\ComfyUI_windows_portable_3\python_embeded > open the CMD here.
2. type in python.exe --version
3. This will tell you your python version.
4. The insightface version in the command above says: version 3.12.
5. If your python version is not python 3.12, then this is the issue. You will need to get the insightface for your python version. you can look at the name it will say cp3.11 or cp3.12 like this.
6. then try again with the new insightface file.
if this is not the issue, the only other thing i can think of is the list of application installed on your system. I checked my list of installed app. I have Microsoft visual studio 2022 installed. During the installation, I checked the c++ package. Not sure if this will solve the error to be honest but it might be worth a try.
@@CodeCraftersCorner Using Visual Studio Installer I can see that I have Microsoft Visual Studio 2022 Community with Dev Python and Dev desktop C++ (not mobile).
And now I have a "acess denied" in simple CMD.
Tried PowerShell as administrator:
PS C:\ComfyUI\ComfyUI_windows_portable_3\python_embeded> python.exe -m pip install insightface-0.7.3-cp312-cp312-win_amd64.whl
Defaulting to user installation because normal site-packages is not writeable
Maybe because Visual Studio is now installed? Any clues how to fix this acess/writing problem?
Just installing visual studio should not cause this. Can you check if you have conda install? It's possible that you have done conda init in powershell. so when you are doing python -m pip install insightface, it is installing in the conda environment and not the python embedded folder. Try to start CMD from start and choose the one that says system. or you can start cmd from windows system folder.
Got this error every time
Error occurred when executing PulidInsightFaceLoader:
File "H:\ComfyUI_windows_portable\ComfyUI\execution.py", line 317, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\ComfyUI_windows_portable\ComfyUI\execution.py", line 192, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "H:\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\PuLID_ComfyUI\pulid.py", line 240, in load_insightface
model = FaceAnalysis(name="antelopev2", root=INSIGHTFACE_DIR, providers=[provider + 'ExecutionProvider',]) # alternative to buffalo_l
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\insightface\app\face_analysis.py", line 43, in __init__
assert 'detection' in self.models
^^^^^^^^^^^^^^^^^^^^^^^^^^
Hello, check if you have the correct antelopev2 models downloaded. You can get all the models from the manager now. search of pulid in model manager.
PulidInsightFaceLoader Error.
I'm getting crazy
It's been a while since I installed my version and there were a few changes. Not sure what caused the error though. Sorry!
The error of module not found don't want to disappear, i don't find a solution until this moment
Ah, sorry to hear that!
I got this error when pip install insightface-0.7.3-cp311-cp311-win_amd64.whl : ERROR: insightface-0.7.3-cp311-cp311-win_amd64.whl is not a supported wheel on this platform. and I cannot step into next. Do you know what is the matter?
I think the insightface is no longer compatible. I will see if I can make an up to date video with a new insightface version.
@@CodeCraftersCorner Thank you for the reply. I have already resolved this from another vedio. I think maybe you are inetrested in it. This is the URL:ruclips.net/video/Uls_jXy9RuU/видео.html and it is at the 19:29.
@@kana-ci1qr Thank you for sharing!
ValueError: Query/Key/Value should either all have the same dtype, or (in the quantized case) Key/Value should have dtype torch.int32
query.dtype: torch.float32
key.dtype : torch.float16
value.dtype: torch.float16
🤔
You can try running ComfyUI with --force-fp16. Add it to the run_nvidia_gpu.bat (batch) file. It may or may not work though!
email sent for business collaboration
Thank you for reaching out! I'll review it and get back to you soon.