[GH-ISSUE #813] Error when queue prompt of reactor workflow on ComfyUI-ZLUDA #365

Closed
opened 2026-10-27 21:16:44 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @duybt1 on GitHub (Jun 23, 2024).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/813

I tried installing reactor node with ComfyUI-ZLUDA, the installation process was ok, however after creating reactor node and loading img, I performed queue prompt and the system reported the following error:

Does anyone know what this error is and how to fix it?

Error occurred when executing ReActorFaceSwap:

[ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Exception during initialization: C:\a_work\1\s\onnxruntime\core\providers\cuda\cuda_call.cc:123 onnxruntime::CudaCall C:\a_work\1\s\onnxruntime\core\providers\cuda\cuda_call.cc:116 onnxruntime::CudaCall CUDNN failure 4: CUDNN_STATUS_INTERNAL_ERROR ; GPU=0 ; hostname=ADMIN-PC ; file=C:\a_work\1\s\onnxruntime\core\providers\cuda\cuda_execution_provider.cc ; line=182 ; expr=cudnnSetStream(cudnn_handle_, stream);

File "D:\ComfyUI-ZLUDA\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\ComfyUI-ZLUDA\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "D:\ComfyUI-ZLUDA\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "D:\ComfyUI-ZLUDA\custom_nodes\comfyui-reactor-node\nodes.py", line 335, in execute
script.process(
File "D:\ComfyUI-ZLUDA\custom_nodes\comfyui-reactor-node\scripts\reactor_faceswap.py", line 91, in process
result = swap_face(
File "D:\ComfyUI-ZLUDA\custom_nodes\comfyui-reactor-node\scripts\reactor_swapper.py", line 230, in swap_face
source_faces = analyze_faces(source_img)
File "D:\ComfyUI-ZLUDA\custom_nodes\comfyui-reactor-node\scripts\reactor_swapper.py", line 147, in analyze_faces
face_analyser = getAnalysisModel(det_size)
File "D:\ComfyUI-ZLUDA\custom_nodes\comfyui-reactor-node\scripts\reactor_swapper.py", line 77, in getAnalysisModel
ANALYSIS_MODEL = insightface.app.FaceAnalysis(
File "D:\ComfyUI-ZLUDA\custom_nodes\comfyui-reactor-node\reactor_patcher.py", line 48, in patched_faceanalysis_init
model = model_zoo.get_model(onnx_file, **kwargs)
File "D:\ComfyUI-ZLUDA\venv\lib\site-packages\insightface\model_zoo\model_zoo.py", line 96, in get_model
model = router.get_model(providers=providers, provider_options=provider_options)
File "D:\ComfyUI-ZLUDA\custom_nodes\comfyui-reactor-node\reactor_patcher.py", line 21, in patched_get_model
session = PickableInferenceSession(self.onnx_file, **kwargs)
File "D:\ComfyUI-ZLUDA\venv\lib\site-packages\insightface\model_zoo\model_zoo.py", line 25, in init
super().init(model_path, **kwargs)
File "D:\ComfyUI-ZLUDA\venv\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 419, in init
self._create_inference_session(providers, provider_options, disabled_optimizers)
File "D:\ComfyUI-ZLUDA\venv\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 483, in _create_inference_session
sess.initialize_session(providers, provider_options, disabled_optimizers)

Originally created by @duybt1 on GitHub (Jun 23, 2024). Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/813 I tried installing reactor node with ComfyUI-ZLUDA, the installation process was ok, however after creating reactor node and loading img, I performed queue prompt and the system reported the following error: Does anyone know what this error is and how to fix it? Error occurred when executing ReActorFaceSwap: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Exception during initialization: C:\a\_work\1\s\onnxruntime\core\providers\cuda\cuda_call.cc:123 onnxruntime::CudaCall C:\a\_work\1\s\onnxruntime\core\providers\cuda\cuda_call.cc:116 onnxruntime::CudaCall CUDNN failure 4: CUDNN_STATUS_INTERNAL_ERROR ; GPU=0 ; hostname=ADMIN-PC ; file=C:\a\_work\1\s\onnxruntime\core\providers\cuda\cuda_execution_provider.cc ; line=182 ; expr=cudnnSetStream(cudnn_handle_, stream); File "D:\ComfyUI-ZLUDA\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "D:\ComfyUI-ZLUDA\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "D:\ComfyUI-ZLUDA\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "D:\ComfyUI-ZLUDA\custom_nodes\comfyui-reactor-node\nodes.py", line 335, in execute script.process( File "D:\ComfyUI-ZLUDA\custom_nodes\comfyui-reactor-node\scripts\reactor_faceswap.py", line 91, in process result = swap_face( File "D:\ComfyUI-ZLUDA\custom_nodes\comfyui-reactor-node\scripts\reactor_swapper.py", line 230, in swap_face source_faces = analyze_faces(source_img) File "D:\ComfyUI-ZLUDA\custom_nodes\comfyui-reactor-node\scripts\reactor_swapper.py", line 147, in analyze_faces face_analyser = getAnalysisModel(det_size) File "D:\ComfyUI-ZLUDA\custom_nodes\comfyui-reactor-node\scripts\reactor_swapper.py", line 77, in getAnalysisModel ANALYSIS_MODEL = insightface.app.FaceAnalysis( File "D:\ComfyUI-ZLUDA\custom_nodes\comfyui-reactor-node\reactor_patcher.py", line 48, in patched_faceanalysis_init model = model_zoo.get_model(onnx_file, **kwargs) File "D:\ComfyUI-ZLUDA\venv\lib\site-packages\insightface\model_zoo\model_zoo.py", line 96, in get_model model = router.get_model(providers=providers, provider_options=provider_options) File "D:\ComfyUI-ZLUDA\custom_nodes\comfyui-reactor-node\reactor_patcher.py", line 21, in patched_get_model session = PickableInferenceSession(self.onnx_file, **kwargs) File "D:\ComfyUI-ZLUDA\venv\lib\site-packages\insightface\model_zoo\model_zoo.py", line 25, in __init__ super().__init__(model_path, **kwargs) File "D:\ComfyUI-ZLUDA\venv\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 419, in __init__ self._create_inference_session(providers, provider_options, disabled_optimizers) File "D:\ComfyUI-ZLUDA\venv\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 483, in _create_inference_session sess.initialize_session(providers, provider_options, disabled_optimizers)
Author
Owner

@ltdrdata commented on GitHub (Jun 23, 2024):

Please direct inquiries about this to the specific custom node repository, not ComfyUI-Manager.

<!-- gh-comment-id:2185007460 --> @ltdrdata commented on GitHub (Jun 23, 2024): Please direct inquiries about this to the specific custom node repository, not ComfyUI-Manager.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#365
No description provided.