-
Notifications
You must be signed in to change notification settings - Fork 159
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
Precompiled insightface wheel not compatible with Portable ComfyUI v0.2.4 #471
Comments
Having same issue and idk how to fix it |
Hello, |
Good morning, |
Thank you so much. That works fine. |
Раньше с бубнами, но получалось поставить. Сейчас ComfyUI переустановил и все. Уже и по инструкции основной попробовал и в ручном варианте, и "ComfyUI_windows_portable\python_embeded" directory, run the command: python.exe -m pip install numpy==1.26.4 It works for me это испробовал. Ошибка такая как в заголовки и хоть ты тресни. `Prestartup times for custom nodes: Total VRAM 6144 MB, total RAM 16236 MB Loading: ComfyUI-Manager (V2.51.9)ComfyUI Revision: 2841 [89861512] | Released on '2024-11-19'[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json Cannot import C:\AI\ComfyUI\ComfyUI\custom_nodes\comfyui-reactor-node module for custom nodes: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject Import times for custom nodes: Starting server To see the GUI go to: http://127.0.0.1:8188` |
First, confirm
What happened?
The new ComfyUI v0.2.4 portable release uses Python 3.12, CUDA 12.4, pytorch 2.5 and numpy v2.1.2. When I install the Python 3.12 wheel of insightface (https://github.com/Gourieff/Assets/raw/main/Insightface/insightface-0.7.3-cp312-cp312-win_amd64.whl) I get the error:
Cannot import C:\comfy\ComfyUI\custom_nodes\comfyui-reactor-node module for custom nodes: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
If I install cython and manually copy over the
include
andlibs
folders fromC:\Users\<User>\AppData\Local\Programs\Python\Python312
tocomfy\python_embeded
and run a regularpip install insightface
it compiles and works but for many end users compiling it themselves will be too complicated.Is the error occuring because the wheel was compiled with numpy 1.x.x? If so since the official ComfyUI release has moved to numpy v2 would you be able to provide a compatible wheel for that version?
Steps to reproduce the problem
.\python_embeded\python.exe -m pip install https://github.com/Gourieff/Assets/raw/main/Insightface/insightface-0.7.3-cp312-cp312-win_amd64.whl
ComfyUI\custom_nodes
comfyui-reactor-node\install.bat
Sysinfo
Windows 11
Chrome
RTX 2080ti
No other custom nodes installed
Relevant console log
Additional information
No response
The text was updated successfully, but these errors were encountered: