Skip to content
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

Plz buld pulid for numpy=2.1.1 #83

Open
hadi446-446 opened this issue Oct 2, 2024 · 6 comments
Open

Plz buld pulid for numpy=2.1.1 #83

hadi446-446 opened this issue Oct 2, 2024 · 6 comments

Comments

@hadi446-446
Copy link

My numpy is 2.1.1 version but pulid want numpy<2 version I can't downgrade to under 2 because some node are activate on numpy=2.1.1 please make pulid for nump=2.1.1
Tankyou^

@cubiq
Copy link
Owner

cubiq commented Oct 3, 2024

please provide the full error message

@hadi446-446
Copy link
Author

Cannot import C:\Users\QK\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\PuLID_ComfyUI module for custom nodes: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

@hadi446-446
Copy link
Author

Cannot import C:\Users\QK\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\PuLID_ComfyUI module for custom nodes: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

[rgthree-comfy] Loaded 42 fantastic nodes. 🎉

Traceback (most recent call last):
File "C:\Users\QK\Desktop\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1998, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\Users\QK\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui_init
.py", line 1, in
from .WAS_Node_Suite import NODE_CLASS_MAPPINGS
File "C:\Users\QK\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 37, in
from numba import jit
File "C:\Users\QK\Desktop\ComfyUI_windows_portable\python_embeded\Lib\site-packages\numba_init_.py", line 59, in
ensure_critical_deps()
File "C:\Users\QK\Desktop\ComfyUI_windows_portable\python_embeded\Lib\site-packages\numba_init
.py", line 45, in _ensure_critical_deps
raise ImportError(msg)
ImportError: Numba needs NumPy 2.0 or less. Got NumPy 2.1.

@hadi446-446
Copy link
Author

again! my some node need numpy=2.1.1 when i downgrade to examle numpy=1.26.1 for solve install pulid some another nodes rejected becuase need to numpy=2.1.1

@Conor-Collins
Copy link

also seeing a numpy error in newer versions of comfyui

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "C:\Users*\ComfyUI_windows_portable\ComfyUI\main.py", line 210, in
nodes.init_extra_nodes(init_custom_nodes=not args.disable_all_custom_nodes)
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2121, in init_extra_nodes
init_external_custom_nodes()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2040, in init_external_custom_nodes
success = load_custom_node(module_path, base_node_names, module_parent="custom_nodes")
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1994, in load_custom_node
module_spec.loader.exec_module(module)
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 61, in
AUX_NODE_MAPPINGS, AUX_DISPLAY_NAME_MAPPINGS = load_nodes()
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 30, in load_nodes
module = importlib.import_module(
File "importlib_init_.py", line 126, in import_module
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\dwpose.py", line 5, in
from custom_controlnet_aux.dwpose import DwposeDetector, AnimalposeDetector
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose_init_.py", line 215, in
global_cached_dwpose = Wholebody()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\wholebody.py", line 25, in init
self.det_model_type = get_model_type("DWPose",self.det_filename)
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\util.py", line 455, in get_model_type
ort_providers = list(filter(lambda x : x != "CPUExecutionProvider", get_ort_providers()))
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\util.py", line 443, in get_ort_providers
import onnxruntime as ort
File "C:\Users*
\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime_init_.py", line 23, in
from onnxruntime.capi._pybind_state import ExecutionMode # noqa: F401
File "C:\Users******\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime\capi_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqa
AttributeError: _ARRAY_API not found

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "C:\Users*\ComfyUI_windows_portable\ComfyUI\main.py", line 210, in
nodes.init_extra_nodes(init_custom_nodes=not args.disable_all_custom_nodes)
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2121, in init_extra_nodes
init_external_custom_nodes()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2040, in init_external_custom_nodes
success = load_custom_node(module_path, base_node_names, module_parent="custom_nodes")
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1994, in load_custom_node
module_spec.loader.exec_module(module)
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 61, in
AUX_NODE_MAPPINGS, AUX_DISPLAY_NAME_MAPPINGS = load_nodes()
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 30, in load_nodes
module = importlib.import_module(
File "importlib_init_.py", line 126, in import_module
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\dwpose.py", line 5, in
from custom_controlnet_aux.dwpose import DwposeDetector, AnimalposeDetector
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose_init_.py", line 215, in
global_cached_dwpose = Wholebody()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\wholebody.py", line 26, in init
self.pose_model_type = get_model_type("DWPose",self.pose_filename)
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\util.py", line 455, in get_model_type
ort_providers = list(filter(lambda x : x != "CPUExecutionProvider", get_ort_providers()))
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\util.py", line 443, in get_ort_providers
import onnxruntime as ort
File "C:\Users*
\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime_init_.py", line 23, in
from onnxruntime.capi._pybind_state import ExecutionMode # noqa: F401
File "C:\Users******\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime\capi_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqa
AttributeError: _ARRAY_API not found

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "C:\Users*\ComfyUI_windows_portable\ComfyUI\main.py", line 210, in
nodes.init_extra_nodes(init_custom_nodes=not args.disable_all_custom_nodes)
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2121, in init_extra_nodes
init_external_custom_nodes()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2040, in init_external_custom_nodes
success = load_custom_node(module_path, base_node_names, module_parent="custom_nodes")
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1994, in load_custom_node
module_spec.loader.exec_module(module)
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 61, in
AUX_NODE_MAPPINGS, AUX_DISPLAY_NAME_MAPPINGS = load_nodes()
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 30, in load_nodes
module = importlib.import_module(
File "importlib_init_.py", line 126, in import_module
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\dwpose.py", line 5, in
from custom_controlnet_aux.dwpose import DwposeDetector, AnimalposeDetector
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose_init_.py", line 215, in
global_cached_dwpose = Wholebody()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\wholebody.py", line 32, in init
ort_providers = get_ort_providers()
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\util.py", line 443, in get_ort_providers
import onnxruntime as ort
File "C:\Users*\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime_init_.py", line 23, in
from onnxruntime.capi._pybind_state import ExecutionMode # noqa: F401
File "C:\Users*
\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime\capi_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqa
AttributeError: _ARRAY_API not found

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "C:\Users*\ComfyUI_windows_portable\ComfyUI\main.py", line 210, in
nodes.init_extra_nodes(init_custom_nodes=not args.disable_all_custom_nodes)
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2121, in init_extra_nodes
init_external_custom_nodes()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2040, in init_external_custom_nodes
success = load_custom_node(module_path, base_node_names, module_parent="custom_nodes")
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1994, in load_custom_node
module_spec.loader.exec_module(module)
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 61, in
AUX_NODE_MAPPINGS, AUX_DISPLAY_NAME_MAPPINGS = load_nodes()
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 30, in load_nodes
module = importlib.import_module(
File "importlib_init_.py", line 126, in import_module
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\dwpose.py", line 5, in
from custom_controlnet_aux.dwpose import DwposeDetector, AnimalposeDetector
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose_init_.py", line 277, in
global_cached_animalpose = AnimalPoseImage()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\animalpose.py", line 140, in init
self.det_model_type = get_model_type("AnimalPose",self.det_filename)
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\util.py", line 455, in get_model_type
ort_providers = list(filter(lambda x : x != "CPUExecutionProvider", get_ort_providers()))
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\util.py", line 443, in get_ort_providers
import onnxruntime as ort
File "C:\Users*
\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime_init_.py", line 23, in
from onnxruntime.capi._pybind_state import ExecutionMode # noqa: F401
File "C:\Users******\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime\capi_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqa
AttributeError: _ARRAY_API not found

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "C:\Users*\ComfyUI_windows_portable\ComfyUI\main.py", line 210, in
nodes.init_extra_nodes(init_custom_nodes=not args.disable_all_custom_nodes)
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2121, in init_extra_nodes
init_external_custom_nodes()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2040, in init_external_custom_nodes
success = load_custom_node(module_path, base_node_names, module_parent="custom_nodes")
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1994, in load_custom_node
module_spec.loader.exec_module(module)
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 61, in
AUX_NODE_MAPPINGS, AUX_DISPLAY_NAME_MAPPINGS = load_nodes()
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 30, in load_nodes
module = importlib.import_module(
File "importlib_init_.py", line 126, in import_module
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\dwpose.py", line 5, in
from custom_controlnet_aux.dwpose import DwposeDetector, AnimalposeDetector
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose_init_.py", line 277, in
global_cached_animalpose = AnimalPoseImage()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\animalpose.py", line 141, in init
self.pose_model_type = get_model_type("AnimalPose",self.pose_filename)
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\util.py", line 455, in get_model_type
ort_providers = list(filter(lambda x : x != "CPUExecutionProvider", get_ort_providers()))
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\util.py", line 443, in get_ort_providers
import onnxruntime as ort
File "C:\Users*
\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime_init_.py", line 23, in
from onnxruntime.capi._pybind_state import ExecutionMode # noqa: F401
File "C:\Users******\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime\capi_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqa
AttributeError: _ARRAY_API not found

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "C:\Users*\ComfyUI_windows_portable\ComfyUI\main.py", line 210, in
nodes.init_extra_nodes(init_custom_nodes=not args.disable_all_custom_nodes)
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2121, in init_extra_nodes
init_external_custom_nodes()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2040, in init_external_custom_nodes
success = load_custom_node(module_path, base_node_names, module_parent="custom_nodes")
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1994, in load_custom_node
module_spec.loader.exec_module(module)
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 61, in
AUX_NODE_MAPPINGS, AUX_DISPLAY_NAME_MAPPINGS = load_nodes()
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 30, in load_nodes
module = importlib.import_module(
File "importlib_init_.py", line 126, in import_module
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\dwpose.py", line 5, in
from custom_controlnet_aux.dwpose import DwposeDetector, AnimalposeDetector
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose_init_.py", line 277, in
global_cached_animalpose = AnimalPoseImage()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\animalpose.py", line 147, in init
ort_providers = get_ort_providers()
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\util.py", line 443, in get_ort_providers
import onnxruntime as ort
File "C:\Users*\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime_init_.py", line 23, in
from onnxruntime.capi._pybind_state import ExecutionMode # noqa: F401
File "C:\Users*
\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime\capi_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqa
AttributeError: _ARRAY_API not found

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "C:\Users*\ComfyUI_windows_portable\ComfyUI\main.py", line 210, in
nodes.init_extra_nodes(init_custom_nodes=not args.disable_all_custom_nodes)
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2121, in init_extra_nodes
init_external_custom_nodes()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2040, in init_external_custom_nodes
success = load_custom_node(module_path, base_node_names, module_parent="custom_nodes")
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1994, in load_custom_node
module_spec.loader.exec_module(module)
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 61, in
AUX_NODE_MAPPINGS, AUX_DISPLAY_NAME_MAPPINGS = load_nodes()
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 30, in load_nodes
module = importlib.import_module(
File "importlib_init_.py", line 126, in import_module
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\pose_keypoint_postprocess.py", line 11, in
from ..src.custom_controlnet_aux.dwpose import draw_poses, draw_animalposes, decode_json_as_poses
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose_init_.py", line 215, in
global_cached_dwpose = Wholebody()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\wholebody.py", line 25, in init
self.det_model_type = get_model_type("DWPose",self.det_filename)
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\util.py", line 455, in get_model_type
ort_providers = list(filter(lambda x : x != "CPUExecutionProvider", get_ort_providers()))
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\util.py", line 443, in get_ort_providers
import onnxruntime as ort
File "C:\Users*
\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime_init_.py", line 23, in
from onnxruntime.capi._pybind_state import ExecutionMode # noqa: F401
File "C:\Users******\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime\capi_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqa
AttributeError: _ARRAY_API not found

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "C:\Users*\ComfyUI_windows_portable\ComfyUI\main.py", line 210, in
nodes.init_extra_nodes(init_custom_nodes=not args.disable_all_custom_nodes)
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2121, in init_extra_nodes
init_external_custom_nodes()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2040, in init_external_custom_nodes
success = load_custom_node(module_path, base_node_names, module_parent="custom_nodes")
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1994, in load_custom_node
module_spec.loader.exec_module(module)
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 61, in
AUX_NODE_MAPPINGS, AUX_DISPLAY_NAME_MAPPINGS = load_nodes()
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 30, in load_nodes
module = importlib.import_module(
File "importlib_init_.py", line 126, in import_module
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\pose_keypoint_postprocess.py", line 11, in
from ..src.custom_controlnet_aux.dwpose import draw_poses, draw_animalposes, decode_json_as_poses
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose_init_.py", line 215, in
global_cached_dwpose = Wholebody()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\wholebody.py", line 26, in init
self.pose_model_type = get_model_type("DWPose",self.pose_filename)
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\util.py", line 455, in get_model_type
ort_providers = list(filter(lambda x : x != "CPUExecutionProvider", get_ort_providers()))
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\util.py", line 443, in get_ort_providers
import onnxruntime as ort
File "C:\Users*
\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime_init_.py", line 23, in
from onnxruntime.capi._pybind_state import ExecutionMode # noqa: F401
File "C:\Users******\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime\capi_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqa
AttributeError: _ARRAY_API not found

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "C:\Users*\ComfyUI_windows_portable\ComfyUI\main.py", line 210, in
nodes.init_extra_nodes(init_custom_nodes=not args.disable_all_custom_nodes)
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2121, in init_extra_nodes
init_external_custom_nodes()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2040, in init_external_custom_nodes
success = load_custom_node(module_path, base_node_names, module_parent="custom_nodes")
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1994, in load_custom_node
module_spec.loader.exec_module(module)
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 61, in
AUX_NODE_MAPPINGS, AUX_DISPLAY_NAME_MAPPINGS = load_nodes()
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 30, in load_nodes
module = importlib.import_module(
File "importlib_init_.py", line 126, in import_module
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\pose_keypoint_postprocess.py", line 11, in
from ..src.custom_controlnet_aux.dwpose import draw_poses, draw_animalposes, decode_json_as_poses
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose_init_.py", line 215, in
global_cached_dwpose = Wholebody()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\wholebody.py", line 32, in init
ort_providers = get_ort_providers()
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\util.py", line 443, in get_ort_providers
import onnxruntime as ort
File "C:\Users*\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime_init_.py", line 23, in
from onnxruntime.capi._pybind_state import ExecutionMode # noqa: F401
File "C:\Users*
\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime\capi_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqa
AttributeError: _ARRAY_API not found

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "C:\Users*\ComfyUI_windows_portable\ComfyUI\main.py", line 210, in
nodes.init_extra_nodes(init_custom_nodes=not args.disable_all_custom_nodes)
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2121, in init_extra_nodes
init_external_custom_nodes()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2040, in init_external_custom_nodes
success = load_custom_node(module_path, base_node_names, module_parent="custom_nodes")
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1994, in load_custom_node
module_spec.loader.exec_module(module)
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 61, in
AUX_NODE_MAPPINGS, AUX_DISPLAY_NAME_MAPPINGS = load_nodes()
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 30, in load_nodes
module = importlib.import_module(
File "importlib_init_.py", line 126, in import_module
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\pose_keypoint_postprocess.py", line 11, in
from ..src.custom_controlnet_aux.dwpose import draw_poses, draw_animalposes, decode_json_as_poses
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose_init_.py", line 277, in
global_cached_animalpose = AnimalPoseImage()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\animalpose.py", line 140, in init
self.det_model_type = get_model_type("AnimalPose",self.det_filename)
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\util.py", line 455, in get_model_type
ort_providers = list(filter(lambda x : x != "CPUExecutionProvider", get_ort_providers()))
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\util.py", line 443, in get_ort_providers
import onnxruntime as ort
File "C:\Users*
\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime_init_.py", line 23, in
from onnxruntime.capi._pybind_state import ExecutionMode # noqa: F401
File "C:\Users******\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime\capi_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqa
AttributeError: _ARRAY_API not found

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "C:\Users*\ComfyUI_windows_portable\ComfyUI\main.py", line 210, in
nodes.init_extra_nodes(init_custom_nodes=not args.disable_all_custom_nodes)
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2121, in init_extra_nodes
init_external_custom_nodes()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2040, in init_external_custom_nodes
success = load_custom_node(module_path, base_node_names, module_parent="custom_nodes")
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1994, in load_custom_node
module_spec.loader.exec_module(module)
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 61, in
AUX_NODE_MAPPINGS, AUX_DISPLAY_NAME_MAPPINGS = load_nodes()
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 30, in load_nodes
module = importlib.import_module(
File "importlib_init_.py", line 126, in import_module
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\pose_keypoint_postprocess.py", line 11, in
from ..src.custom_controlnet_aux.dwpose import draw_poses, draw_animalposes, decode_json_as_poses
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose_init_.py", line 277, in
global_cached_animalpose = AnimalPoseImage()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\animalpose.py", line 141, in init
self.pose_model_type = get_model_type("AnimalPose",self.pose_filename)
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\util.py", line 455, in get_model_type
ort_providers = list(filter(lambda x : x != "CPUExecutionProvider", get_ort_providers()))
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\util.py", line 443, in get_ort_providers
import onnxruntime as ort
File "C:\Users*
\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime_init_.py", line 23, in
from onnxruntime.capi._pybind_state import ExecutionMode # noqa: F401
File "C:\Users******\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime\capi_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqa
AttributeError: _ARRAY_API not found

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "C:\Users*\ComfyUI_windows_portable\ComfyUI\main.py", line 210, in
nodes.init_extra_nodes(init_custom_nodes=not args.disable_all_custom_nodes)
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2121, in init_extra_nodes
init_external_custom_nodes()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2040, in init_external_custom_nodes
success = load_custom_node(module_path, base_node_names, module_parent="custom_nodes")
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1994, in load_custom_node
module_spec.loader.exec_module(module)
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 61, in
AUX_NODE_MAPPINGS, AUX_DISPLAY_NAME_MAPPINGS = load_nodes()
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux_init_.py", line 30, in load_nodes
module = importlib.import_module(
File "importlib_init_.py", line 126, in import_module
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\pose_keypoint_postprocess.py", line 11, in
from ..src.custom_controlnet_aux.dwpose import draw_poses, draw_animalposes, decode_json_as_poses
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose_init_.py", line 277, in
global_cached_animalpose = AnimalPoseImage()
File "C:\Users*\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\animalpose.py", line 147, in init
ort_providers = get_ort_providers()
File "C:\Users*
\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\dwpose\util.py", line 443, in get_ort_providers
import onnxruntime as ort
File "C:\Users*\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime_init_.py", line 23, in
from onnxruntime.capi._pybind_state import ExecutionMode # noqa: F401
File "C:\Users*
\ComfyUI_windows_portable\python_embeded\Lib\site-packages\onnxruntime\capi_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqa
AttributeError: _ARRAY_API not found

@hben35096
Copy link

This is not an issue with PuLID_ComfyUI, but rather, you may not be able to use ComfyUI even without any plugins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants