MrForExample / ComfyUI-3D-Pack

An extensive node suite that enables ComfyUI to process 3D inputs (Mesh & UV Texture, etc) using cutting edge algorithms (3DGS, NeRF, etc.)
MIT License
2.4k stars 245 forks source link

The problem of the pre-built Pytorch3D #270

Open NeuroLord opened 3 months ago

NeuroLord commented 3 months ago

When installing pytorch3d from a whl file from this repository (Win 10, py 3.11, cuda 12.1) I was getting an error when using the ExplicitTarget Mesh Optimization node. When compiling manually the whole thing started working. If the other tips didn't work for you, try doing this.

Full error:

Error occurred when executing [Comfy3D] ExplicitTarget Mesh Optimization:
CUDA error: no kernel image is available for execution on the device
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

Exception raised from c10_cuda_check_implementation at ..\c10\cuda\CUDAException.cpp:43 (most recent call first):
00007FFAECEA366200007FFAECEA3600 c10.dll!c10::Error::Error [ @ ]
00007FFAECEA318A00007FFAECEA3130 c10.dll!c10::detail::torchCheckFail [ @ ]
00007FFB01F6F93F00007FFB01F6F640 c10_cuda.dll!c10::cuda::c10_cuda_check_implementation [ @ ]
00007FFA3124039100007FFA311EF8A0 _C.cp311-win_amd64.pyd!PyInit__C [ @ ]
00007FFA311EBE0700007FFA311D5A60 _C.cp311-win_amd64.pyd!c10::ivalue::Object::operator= [ @ ]
00007FFA311FA36E00007FFA311EF8A0 _C.cp311-win_amd64.pyd!PyInit__C [ @ ]
00007FFA311FA3F400007FFA311EF8A0 _C.cp311-win_amd64.pyd!PyInit__C [ @ ]
00007FFA311E7F9F00007FFA311D5A60 _C.cp311-win_amd64.pyd!c10::ivalue::Object::operator= [ @ ]
00007FFA909A42CC00007FFA909A3550 python311.dll!PyCFunction_GetFlags [ @ ]
00007FFA9095F3D100007FFA9095F2B0 python311.dll!PyObject_MakeTpCall [ @ ]
00007FFA9095F59100007FFA9095F570 python311.dll!PyObject_Vectorcall [ @ ]
00007FFA90A57F1A00007FFA90A53780 python311.dll!PyEval_EvalFrameDefault [ @ ]
00007FFA90A5BD0E00007FFA90A53780 python311.dll!PyEval_EvalFrameDefault [ @ ]
00007FFA9095F76D00007FFA9095F730 python311.dll!PyFunction_Vectorcall [ @ ]
00007FFA9095F50E00007FFA9095F420 python311.dll!PyVectorcall_Function [ @ ]
00007FFA9095F61F00007FFA9095F5D0 python311.dll!PyObject_Call [ @ ]
00007FFA8C53026100007FFA8C51CEA0 torch_python.dll!THPPointer::THPPointer [ @ ]
00007FFA909A430600007FFA909A3550 python311.dll!PyCFunction_GetFlags [ @ ]
00007FFA9095F67800007FFA9095F5D0 python311.dll!PyObject_Call [ @ ]
00007FFA90A5D88400007FFA90A5D320 python311.dll!PyEval_GetFuncDesc [ @ ]
00007FFA90A5903F00007FFA90A53780 python311.dll!PyEval_EvalFrameDefault [ @ ]
00007FFA90A5BD0E00007FFA90A53780 python311.dll!PyEval_EvalFrameDefault [ @ ]
00007FFA9095F76D00007FFA9095F730 python311.dll!PyFunction_Vectorcall [ @ ]
00007FFA90961A3200007FFA90961960 python311.dll!PyMethod_Self [ @ ]
00007FFA9095F4D900007FFA9095F420 python311.dll!PyVectorcall_Function [ @ ]
00007FFA9095F61F00007FFA9095F5D0 python311.dll!PyObject_Call [ @ ]
00007FFA90A5D7BD00007FFA90A5D320 python311.dll!PyEval_GetFuncDesc [ @ ]
00007FFA90A5903F00007FFA90A53780 python311.dll!PyEval_EvalFrameDefault [ @ ]
00007FFA90A5BD0E00007FFA90A53780 python311.dll!PyEval_EvalFrameDefault [ @ ]
00007FFA9095F76D00007FFA9095F730 python311.dll!PyFunction_Vectorcall [ @ ]
00007FFA9095F50E00007FFA9095F420 python311.dll!PyVectorcall_Function [ @ ]
00007FFA9095F61F00007FFA9095F5D0 python311.dll!PyObject_Call [ @ ]
00007FFA90A5D7BD00007FFA90A5D320 python311.dll!PyEval_GetFuncDesc [ @ ]
00007FFA90A5903F00007FFA90A53780 python311.dll!PyEval_EvalFrameDefault [ @ ]
00007FFA90A5BD0E00007FFA90A53780 python311.dll!PyEval_EvalFrameDefault [ @ ]
00007FFA9095F76D00007FFA9095F730 python311.dll!PyFunction_Vectorcall [ @ ]
00007FFA90961AB600007FFA90961960 python311.dll!PyMethod_Self [ @ ]
00007FFA9095F50E00007FFA9095F420 python311.dll!PyVectorcall_Function [ @ ]
00007FFA9095F61F00007FFA9095F5D0 python311.dll!PyObject_Call [ @ ]
00007FFA90908F7E00007FFA90906880 python311.dll!PyOS_SigintEvent [ @ ]
00007FFA90AE0DF200007FFA90AE0B80 python311.dll!PyThread_init_thread [ @ ]
00007FFB2A821BB200007FFB2A821B20 ucrtbase.dll!configthreadlocale [ @ ]
00007FFB2ABC734400007FFB2ABC7330 KERNEL32.DLL!BaseThreadInitThunk [ @ ]
00007FFB2C9026B100007FFB2C902690 ntdll.dll!RtlUserThreadStart [ @ ]

File "K:\Programs\ComfyUI_windows_portable\ComfyUI_windows_non_portable\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\Programs\ComfyUI_windows_portable\ComfyUI_windows_non_portable\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\Programs\ComfyUI_windows_portable\ComfyUI_windows_non_portable\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\Programs\ComfyUI_windows_portable\ComfyUI_windows_non_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 2942, in run_ET_mesh_optimization
vertices, faces = run_mesh_refine(vertices, faces, pil_normal_list, steps=refinement_steps, update_normal_interval=target_update_interval, update_warmup=target_warmup_update_num, )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\Programs\ComfyUI_windows_portable\ComfyUI_windows_non_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\Unique3D\mesh_reconstruction\refine.py", line 53, in run_mesh_refine
_, _, target_normal = from_py3d_mesh(multiview_color_projection(py3d_mesh, pils, cameras_list=cameras, weights=[2.0, 0.8, 1.0, 0.8], confidence_threshold=0.1, complete_unseen=False, below_confidence_strategy='original', reweight_with_cosangle='linear'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\Programs\ComfyUI_windows_portable\ComfyUI_windows_non_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\Unique3D\scripts\project_mesh.py", line 283, in multiview_color_projection
ret = project_color(meshes, camera, image, eps=eps, resolution=resolution, device=device, use_alpha=use_alpha)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\Programs\ComfyUI_windows_portable\ComfyUI_windows_non_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\Unique3D\scripts\project_mesh.py", line 134, in project_color
faces_normals = meshes.faces_normals_packed()[unique_faces]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Programs\Anaconda\envs\comfy\Lib\site-packages\pytorch3d\structures\meshes.py", line 800, in faces_normals_packed
self._compute_face_areas_normals()
File "F:\Programs\Anaconda\envs\comfy\Lib\site-packages\pytorch3d\structures\meshes.py", line 868, in _compute_face_areas_normals
face_areas, face_normals = mesh_face_areas_normals(verts_packed, faces_packed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Programs\Anaconda\envs\comfy\Lib\site-packages\torch\autograd\function.py", line 598, in apply
return super().apply(*args, **kwargs) # type: ignore[misc]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Programs\Anaconda\envs\comfy\Lib\site-packages\pytorch3d\ops\mesh_face_areas_normals.py", line 48, in forward
areas, normals = _C.face_areas_normals_forward(verts, faces)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
S-ed commented 3 months ago

Please refrain writing "solution" in title when the topic so vaguely defined. The problem of the pre-built Pytorch3D Especially when no actual solution provided.

GitAIUser commented 3 months ago

win11, cu121,torch 2.3.0,cuda 12.1, VS tools 17.9

/!!! Exception during processing!!! CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

Exception raised from c10_cuda_check_implementation at ..\c10\cuda\CUDAException.cpp:43 (most recent call first): 00007FF895BD366200007FF895BD3600 c10.dll!c10::Error::Error [ @ ] 00007FF895BD318A00007FF895BD3130 c10.dll!c10::detail::torchCheckFail [ @ ] 00007FF8ADFBF93F00007FF8ADFBF640 c10_cuda.dll!c10::cuda::c10_cuda_check_implementation [ @ ] 00007FFF68910391 _C.cp311-win_amd64.pyd! [ @ ] 00007FFF688BBE07 _C.cp311-win_amd64.pyd! [ @ ] 00007FFF688CA36E _C.cp311-win_amd64.pyd! [ @ ] 00007FFF688CA3F4 _C.cp311-win_amd64.pyd! [ @ ] 00007FFF688B7F9F _C.cp311-win_amd64.pyd! [ @ ] 00007FF880EB82BE00007FF880EB8060 python311.dll!PyObject_MakeTpCall [ @ ] 00007FF880EBBDDF00007FF880EBBB50 python311.dll!PyObject_Vectorcall [ @ ] 00007FF880EBD42300007FF880EBCC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FF880EBAE6400007FF880EBACC0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FF880F6507300007FF880F65018 python311.dll!PyObject_Call [ @ ] 00007FFFA02A026100007FFFA028CEA0 torch_python.dll!THPPointer::THPPointer [ @ ] 00007FF880EE75F500007FF880EE7540 python311.dll!PyArg_Parse_SizeT [ @ ] 00007FF880F650C400007FF880F65018 python311.dll!PyObject_Call [ @ ] 00007FF880F64D4000007FF880F648EC python311.dll!PyObject_CallObject [ @ ] 00007FF880EC1F7F00007FF880EBCC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FF880EBAE6400007FF880EBACC0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FF880F05C2500007FF880F03DC4 python311.dll!PyIter_Send [ @ ] 00007FF880F64C6A00007FF880F648EC python311.dll!PyObject_CallObject [ @ ] 00007FF880EC1F7F00007FF880EBCC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FF880EBAE6400007FF880EBACC0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FF880F64CF300007FF880F648EC python311.dll!PyObject_CallObject [ @ ] 00007FF880EC1F7F00007FF880EBCC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FF880EBAE6400007FF880EBACC0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FF880F05C7F00007FF880F03DC4 python311.dll!PyIter_Send [ @ ] 00007FF880F6507300007FF880F65018 python311.dll!PyObject_Call [ @ ] 00007FF880F22AA000007FF880F226EC python311.dll!PyInterpreterState_Delete [ @ ] 00007FF880F22A0600007FF880F226EC python311.dll!PyInterpreterState_Delete [ @ ] 00007FF91D35933300007FF91D359290 ucrtbase.dll!recalloc [ @ ] 00007FF91DDE257D00007FF91DDE2560 KERNEL32.DLL!BaseThreadInitThunk [ @ ] 00007FF91F96AF2800007FF91F96AF00 ntdll.dll!RtlUserThreadStart [ @ ]

Traceback (most recent call last): File "X:\StableDiff\ComfyUI_windows_portable\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "X:\StableDiff\ComfyUI_windows_portable\ComfyUI\execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "X:\StableDiff\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(*slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "X:\StableDiff\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 2942, in run_ET_mesh_optimization vertices, faces = run_mesh_refine(vertices, faces, pil_normal_list, steps=refinement_steps, update_normal_interval=target_update_interval, update_warmup=target_warmup_update_num, ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "X:\StableDiff\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\Unique3D\mesh_reconstruction\refine.py", line 53, in run_meshrefine , _, target_normal = from_py3d_mesh(multiview_color_projection(py3d_mesh, pils, cameras_list=cameras, weights=[2.0, 0.8, 1.0, 0.8], confidence_threshold=0.1, complete_unseen=False, below_confidence_strategy='original', reweight_with_cosangle='linear')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "X:\StableDiff\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\Unique3D\scripts\project_mesh.py", line 283, in multiview_color_projection ret = project_color(meshes, camera, image, eps=eps, resolution=resolution, device=device, use_alpha=use_alpha) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "X:\StableDiff\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\Unique3D\scripts\project_mesh.py", line 134, in project_color faces_normals = meshes.faces_normals_packed()[unique_faces] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "X:\StableDiff\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pytorch3d\structures\meshes.py", line 800, in faces_normals_packed self._compute_face_areas_normals() File "X:\StableDiff\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pytorch3d\structures\meshes.py", line 868, in _compute_face_areas_normals face_areas, face_normals = mesh_face_areas_normals(verts_packed, faces_packed) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "X:\StableDiff\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\autograd\function.py", line 598, in apply return super().apply(args, **kwargs) # type: ignore[misc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "X:\StableDiff\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pytorch3d\ops\mesh_face_areas_normals.py", line 48, in forward areas, normals = _C.face_areas_normals_forward(verts, faces) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

Exception raised from c10_cuda_check_implementation at ..\c10\cuda\CUDAException.cpp:43 (most recent call first): 00007FF895BD366200007FF895BD3600 c10.dll!c10::Error::Error [ @ ] 00007FF895BD318A00007FF895BD3130 c10.dll!c10::detail::torchCheckFail [ @ ] 00007FF8ADFBF93F00007FF8ADFBF640 c10_cuda.dll!c10::cuda::c10_cuda_check_implementation [ @ ] 00007FFF68910391 _C.cp311-win_amd64.pyd! [ @ ] 00007FFF688BBE07 _C.cp311-win_amd64.pyd! [ @ ] 00007FFF688CA36E _C.cp311-win_amd64.pyd! [ @ ] 00007FFF688CA3F4 _C.cp311-win_amd64.pyd! [ @ ] 00007FFF688B7F9F _C.cp311-win_amd64.pyd! [ @ ] 00007FF880EB82BE00007FF880EB8060 python311.dll!PyObject_MakeTpCall [ @ ] 00007FF880EBBDDF00007FF880EBBB50 python311.dll!PyObject_Vectorcall [ @ ] 00007FF880EBD42300007FF880EBCC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FF880EBAE6400007FF880EBACC0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FF880F6507300007FF880F65018 python311.dll!PyObject_Call [ @ ] 00007FFFA02A026100007FFFA028CEA0 torch_python.dll!THPPointer::THPPointer [ @ ] 00007FF880EE75F500007FF880EE7540 python311.dll!PyArg_Parse_SizeT [ @ ] 00007FF880F650C400007FF880F65018 python311.dll!PyObject_Call [ @ ] 00007FF880F64D4000007FF880F648EC python311.dll!PyObject_CallObject [ @ ] 00007FF880EC1F7F00007FF880EBCC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FF880EBAE6400007FF880EBACC0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FF880F05C2500007FF880F03DC4 python311.dll!PyIter_Send [ @ ] 00007FF880F64C6A00007FF880F648EC python311.dll!PyObject_CallObject [ @ ] 00007FF880EC1F7F00007FF880EBCC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FF880EBAE6400007FF880EBACC0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FF880F64CF300007FF880F648EC python311.dll!PyObject_CallObject [ @ ] 00007FF880EC1F7F00007FF880EBCC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FF880EBAE6400007FF880EBACC0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FF880F05C7F00007FF880F03DC4 python311.dll!PyIter_Send [ @ ] 00007FF880F6507300007FF880F65018 python311.dll!PyObject_Call [ @ ] 00007FF880F22AA000007FF880F226EC python311.dll!PyInterpreterState_Delete [ @ ] 00007FF880F22A0600007FF880F226EC python311.dll!PyInterpreterState_Delete [ @ ] 00007FF91D35933300007FF91D359290 ucrtbase.dll!recalloc [ @ ] 00007FF91DDE257D00007FF91DDE2560 KERNEL32.DLL!BaseThreadInitThunk [ @ ] 00007FF91F96AF2800007FF91F96AF00 ntdll.dll!RtlUserThreadStart [ @ ]

Prompt executed in 136.25 seconds got prompt 100%|████████████████████████████████████████████████████████████████████████████████| 200/200 [00:05<00:00, 38.69it/s] 0%| | 0/100 [00:00<?, ?it/s] !!! Exception during processing!!! CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

Exception raised from c10_cuda_check_implementation at ..\c10\cuda\CUDAException.cpp:43 (most recent call first): 00007FF895BD366200007FF895BD3600 c10.dll!c10::Error::Error [ @ ] 00007FF895BD318A00007FF895BD3130 c10.dll!c10::detail::torchCheckFail [ @ ] 00007FF8ADFBF93F00007FF8ADFBF640 c10_cuda.dll!c10::cuda::c10_cuda_check_implementation [ @ ] 00007FFF68910391 _C.cp311-win_amd64.pyd! [ @ ] 00007FFF688BBE07 _C.cp311-win_amd64.pyd! [ @ ] 00007FFF688CA36E _C.cp311-win_amd64.pyd! [ @ ] 00007FFF688CA3F4 _C.cp311-win_amd64.pyd! [ @ ] 00007FFF688B7F9F _C.cp311-win_amd64.pyd! [ @ ] 00007FF880EB82BE00007FF880EB8060 python311.dll!PyObject_MakeTpCall [ @ ] 00007FF880EBBDDF00007FF880EBBB50 python311.dll!PyObject_Vectorcall [ @ ] 00007FF880EBD42300007FF880EBCC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FF880EBAE6400007FF880EBACC0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FF880F6507300007FF880F65018 python311.dll!PyObject_Call [ @ ] 00007FFFA02A026100007FFFA028CEA0 torch_python.dll!THPPointer::THPPointer [ @ ] 00007FF880EE75F500007FF880EE7540 python311.dll!PyArg_Parse_SizeT [ @ ] 00007FF880F650C400007FF880F65018 python311.dll!PyObject_Call [ @ ] 00007FF880F64D4000007FF880F648EC python311.dll!PyObject_CallObject [ @ ] 00007FF880EC1F7F00007FF880EBCC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FF880EBAE6400007FF880EBACC0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FF880F05C2500007FF880F03DC4 python311.dll!PyIter_Send [ @ ] 00007FF880F64C6A00007FF880F648EC python311.dll!PyObject_CallObject [ @ ] 00007FF880EC1F7F00007FF880EBCC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FF880EBAE6400007FF880EBACC0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FF880F64CF300007FF880F648EC python311.dll!PyObject_CallObject [ @ ] 00007FF880EC1F7F00007FF880EBCC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FF880EBAE6400007FF880EBACC0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FF880F05C7F00007FF880F03DC4 python311.dll!PyIter_Send [ @ ] 00007FF880F6507300007FF880F65018 python311.dll!PyObject_Call [ @ ] 00007FF880F22AA000007FF880F226EC python311.dll!PyInterpreterState_Delete [ @ ] 00007FF880F22A0600007FF880F226EC python311.dll!PyInterpreterState_Delete [ @ ] 00007FF91D35933300007FF91D359290 ucrtbase.dll!recalloc [ @ ] 00007FF91DDE257D00007FF91DDE2560 KERNEL32.DLL!BaseThreadInitThunk [ @ ] 00007FF91F96AF2800007FF91F96AF00 ntdll.dll!RtlUserThreadStart [ @ ]

Traceback (most recent call last): File "X:\StableDiff\ComfyUI_windows_portable\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "X:\StableDiff\ComfyUI_windows_portable\ComfyUI\execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "X:\StableDiff\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(*slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "X:\StableDiff\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 2942, in run_ET_mesh_optimization vertices, faces = run_mesh_refine(vertices, faces, pil_normal_list, steps=refinement_steps, update_normal_interval=target_update_interval, update_warmup=target_warmup_update_num, ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "X:\StableDiff\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\Unique3D\mesh_reconstruction\refine.py", line 53, in run_meshrefine , _, target_normal = from_py3d_mesh(multiview_color_projection(py3d_mesh, pils, cameras_list=cameras, weights=[2.0, 0.8, 1.0, 0.8], confidence_threshold=0.1, complete_unseen=False, below_confidence_strategy='original', reweight_with_cosangle='linear')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "X:\StableDiff\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\Unique3D\scripts\project_mesh.py", line 283, in multiview_color_projection ret = project_color(meshes, camera, image, eps=eps, resolution=resolution, device=device, use_alpha=use_alpha) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "X:\StableDiff\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\Unique3D\scripts\project_mesh.py", line 134, in project_color faces_normals = meshes.faces_normals_packed()[unique_faces] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "X:\StableDiff\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pytorch3d\structures\meshes.py", line 800, in faces_normals_packed self._compute_face_areas_normals() File "X:\StableDiff\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pytorch3d\structures\meshes.py", line 868, in _compute_face_areas_normals face_areas, face_normals = mesh_face_areas_normals(verts_packed, faces_packed) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "X:\StableDiff\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\autograd\function.py", line 598, in apply return super().apply(args, **kwargs) # type: ignore[misc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "X:\StableDiff\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pytorch3d\ops\mesh_face_areas_normals.py", line 48, in forward areas, normals = _C.face_areas_normals_forward(verts, faces) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

Exception raised from c10_cuda_check_implementation at ..\c10\cuda\CUDAException.cpp:43 (most recent call first): 00007FF895BD366200007FF895BD3600 c10.dll!c10::Error::Error [ @ ] 00007FF895BD318A00007FF895BD3130 c10.dll!c10::detail::torchCheckFail [ @ ] 00007FF8ADFBF93F00007FF8ADFBF640 c10_cuda.dll!c10::cuda::c10_cuda_check_implementation [ @ ] 00007FFF68910391 _C.cp311-win_amd64.pyd! [ @ ] 00007FFF688BBE07 _C.cp311-win_amd64.pyd! [ @ ] 00007FFF688CA36E _C.cp311-win_amd64.pyd! [ @ ] 00007FFF688CA3F4 _C.cp311-win_amd64.pyd! [ @ ] 00007FFF688B7F9F _C.cp311-win_amd64.pyd! [ @ ] 00007FF880EB82BE00007FF880EB8060 python311.dll!PyObject_MakeTpCall [ @ ] 00007FF880EBBDDF00007FF880EBBB50 python311.dll!PyObject_Vectorcall [ @ ] 00007FF880EBD42300007FF880EBCC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FF880EBAE6400007FF880EBACC0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FF880F6507300007FF880F65018 python311.dll!PyObject_Call [ @ ] 00007FFFA02A026100007FFFA028CEA0 torch_python.dll!THPPointer::THPPointer [ @ ] 00007FF880EE75F500007FF880EE7540 python311.dll!PyArg_Parse_SizeT [ @ ] 00007FF880F650C400007FF880F65018 python311.dll!PyObject_Call [ @ ] 00007FF880F64D4000007FF880F648EC python311.dll!PyObject_CallObject [ @ ] 00007FF880EC1F7F00007FF880EBCC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FF880EBAE6400007FF880EBACC0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FF880F05C2500007FF880F03DC4 python311.dll!PyIter_Send [ @ ] 00007FF880F64C6A00007FF880F648EC python311.dll!PyObject_CallObject [ @ ] 00007FF880EC1F7F00007FF880EBCC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FF880EBAE6400007FF880EBACC0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FF880F64CF300007FF880F648EC python311.dll!PyObject_CallObject [ @ ] 00007FF880EC1F7F00007FF880EBCC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FF880EBAE6400007FF880EBACC0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FF880F05C7F00007FF880F03DC4 python311.dll!PyIter_Send [ @ ] 00007FF880F6507300007FF880F65018 python311.dll!PyObject_Call [ @ ] 00007FF880F22AA000007FF880F226EC python311.dll!PyInterpreterState_Delete [ @ ] 00007FF880F22A0600007FF880F226EC python311.dll!PyInterpreterState_Delete [ @ ] 00007FF91D35933300007FF91D359290 ucrtbase.dll!recalloc [ @ ] 00007FF91DDE257D00007FF91DDE2560 KERNEL32.DLL!BaseThreadInitThunk [ @ ] 00007FF91F96AF2800007FF91F96AF00 ntdll.dll!RtlUserThreadStart [ @ ]

Prompt executed in 6.25 seconds /

msola-ht commented 3 months ago

the same problem

3.10.14 2.3.0 cu121 vs-16.11.39

[Comfy3D] [Save_3D_Mesh] Saving model to F:\AI\ComfyUI\output\Unique3D/Mesh_Gen_0\mesh.obj
  0%|                                                                                          | 0/200 [00:00<?, ?it/s]Warn!: F:\AI\ComfyUI\env\lib\site-packages\torch\utils\cpp_extension.py:1967: UserWarning: TORCH_CUDA_ARCH_LIST is not set, all archs for visible cards are included for compilation.
If this is not desired, please set os.environ['TORCH_CUDA_ARCH_LIST'].
  warnings.warn(

100%|████████████████████████████████████████████████████████████████████████████████| 200/200 [00:05<00:00, 37.69it/s]
  0%|                                                                                          | 0/100 [00:00<?, ?it/s]
!!! Exception during processing !!! CUDA error: no kernel image is available for execution on the device
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

Exception raised from c10_cuda_check_implementation at ..\c10\cuda\CUDAException.cpp:43 (most recent call first):
00007FFBB639366200007FFBB6393600 c10.dll!c10::Error::Error [<unknown file> @ <unknown line number>]
00007FFBB639318A00007FFBB6393130 c10.dll!c10::detail::torchCheckFail [<unknown file> @ <unknown line number>]
00007FFC3564F93F00007FFC3564F640 c10_cuda.dll!c10::cuda::c10_cuda_check_implementation [<unknown file> @ <unknown line number>]
00007FFA7451FB01 <unknown symbol address> _C.cp310-win_amd64.pyd!<unknown symbol> [<unknown file> @ <unknown line number>]
00007FFA744CB4A7 <unknown symbol address> _C.cp310-win_amd64.pyd!<unknown symbol> [<unknown file> @ <unknown line number>]
00007FFA744D9A2E <unknown symbol address> _C.cp310-win_amd64.pyd!<unknown symbol> [<unknown file> @ <unknown line number>]
00007FFA744D9AB4 <unknown symbol address> _C.cp310-win_amd64.pyd!<unknown symbol> [<unknown file> @ <unknown line number>]
00007FFA744C763B <unknown symbol address> _C.cp310-win_amd64.pyd!<unknown symbol> [<unknown file> @ <unknown line number>]
00007FFBB0C582F600007FFBB0C57530 python310.dll!PyCFunction_GetFlags [<unknown file> @ <unknown line number>]
00007FFBB0C1554C00007FFBB0C15410 python310.dll!PyObject_MakeTpCall [<unknown file> @ <unknown line number>]
00007FFBB0D0E6F200007FFBB0D0E300 python310.dll!PyEval_GetFuncDesc [<unknown file> @ <unknown line number>]
00007FFBB0D0AE9F00007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0D0CE7B00007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0C1585E00007FFBB0C15820 python310.dll!PyFunction_Vectorcall [<unknown file> @ <unknown line number>]
00007FFBA66FF8C100007FFBA66EC4E0 torch_python.dll!THPPointer<THPStorage>::THPPointer<THPStorage> [<unknown file> @ <unknown line number>]
00007FFBB0C5832D00007FFBB0C57530 python310.dll!PyCFunction_GetFlags [<unknown file> @ <unknown line number>]
00007FFBB0C157A700007FFBB0C156B0 python310.dll!PyObject_Call [<unknown file> @ <unknown line number>]
00007FFBB0D0E9CC00007FFBB0D0E300 python310.dll!PyEval_GetFuncDesc [<unknown file> @ <unknown line number>]
00007FFBB0D09D1900007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0D0CE7B00007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0C1585E00007FFBB0C15820 python310.dll!PyFunction_Vectorcall [<unknown file> @ <unknown line number>]
00007FFBB0C177D200007FFBB0C17700 python310.dll!PyMethod_Self [<unknown file> @ <unknown line number>]
00007FFBB0D061A900007FFBB0D06060 python310.dll!PyOS_URandomNonblock [<unknown file> @ <unknown line number>]
00007FFBB0D0E6F200007FFBB0D0E300 python310.dll!PyEval_GetFuncDesc [<unknown file> @ <unknown line number>]
00007FFBB0D0A8E200007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0D0CE7B00007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0C1585E00007FFBB0C15820 python310.dll!PyFunction_Vectorcall [<unknown file> @ <unknown line number>]
00007FFBB0D061A900007FFBB0D06060 python310.dll!PyOS_URandomNonblock [<unknown file> @ <unknown line number>]
00007FFBB0D0E6F200007FFBB0D0E300 python310.dll!PyEval_GetFuncDesc [<unknown file> @ <unknown line number>]
00007FFBB0D0AEB500007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0D0CE7B00007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0C1585E00007FFBB0C15820 python310.dll!PyFunction_Vectorcall [<unknown file> @ <unknown line number>]
00007FFBB0D061A900007FFBB0D06060 python310.dll!PyOS_URandomNonblock [<unknown file> @ <unknown line number>]
00007FFBB0D0E6F200007FFBB0D0E300 python310.dll!PyEval_GetFuncDesc [<unknown file> @ <unknown line number>]
00007FFBB0D0AEB500007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0D0CE7B00007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0C1585E00007FFBB0C15820 python310.dll!PyFunction_Vectorcall [<unknown file> @ <unknown line number>]
00007FFBB0D061A900007FFBB0D06060 python310.dll!PyOS_URandomNonblock [<unknown file> @ <unknown line number>]
00007FFBB0D0E6F200007FFBB0D0E300 python310.dll!PyEval_GetFuncDesc [<unknown file> @ <unknown line number>]
00007FFBB0D0AF0800007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0D0CE7B00007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0C1585E00007FFBB0C15820 python310.dll!PyFunction_Vectorcall [<unknown file> @ <unknown line number>]
00007FFBB0D061A900007FFBB0D06060 python310.dll!PyOS_URandomNonblock [<unknown file> @ <unknown line number>]
00007FFBB0D0E6F200007FFBB0D0E300 python310.dll!PyEval_GetFuncDesc [<unknown file> @ <unknown line number>]
00007FFBB0D0AF0800007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0D0CE7B00007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0C1585E00007FFBB0C15820 python310.dll!PyFunction_Vectorcall [<unknown file> @ <unknown line number>]
00007FFBB0D061A900007FFBB0D06060 python310.dll!PyOS_URandomNonblock [<unknown file> @ <unknown line number>]
00007FFBB0D0E6F200007FFBB0D0E300 python310.dll!PyEval_GetFuncDesc [<unknown file> @ <unknown line number>]
00007FFBB0D0AF0800007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0D0CE7B00007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0C1585E00007FFBB0C15820 python310.dll!PyFunction_Vectorcall [<unknown file> @ <unknown line number>]
00007FFBB0C177D200007FFBB0C17700 python310.dll!PyMethod_Self [<unknown file> @ <unknown line number>]
00007FFBB0C1566D00007FFBB0C155B0 python310.dll!PyVectorcall_Call [<unknown file> @ <unknown line number>]
00007FFBB0D0E8F200007FFBB0D0E300 python310.dll!PyEval_GetFuncDesc [<unknown file> @ <unknown line number>]
00007FFBB0D09D1900007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0D0CE7B00007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0C1585E00007FFBB0C15820 python310.dll!PyFunction_Vectorcall [<unknown file> @ <unknown line number>]
00007FFBB0D061A900007FFBB0D06060 python310.dll!PyOS_URandomNonblock [<unknown file> @ <unknown line number>]
00007FFBB0D0E6F200007FFBB0D0E300 python310.dll!PyEval_GetFuncDesc [<unknown file> @ <unknown line number>]
00007FFBB0D0A8E200007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0D0CE7B00007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0C1585E00007FFBB0C15820 python310.dll!PyFunction_Vectorcall [<unknown file> @ <unknown line number>]
00007FFBB0D061A900007FFBB0D06060 python310.dll!PyOS_URandomNonblock [<unknown file> @ <unknown line number>]

Traceback (most recent call last):
  File "F:\AI\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 "F:\AI\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 "F:\AI\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "F:\AI\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "F:\AI\ComfyUI\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 2942, in run_ET_mesh_optimization
    vertices, faces = run_mesh_refine(vertices, faces, pil_normal_list, steps=refinement_steps, update_normal_interval=target_update_interval, update_warmup=target_warmup_update_num, )
  File "F:\AI\ComfyUI\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\Unique3D\mesh_reconstruction\refine.py", line 53, in run_mesh_refine
    _, _, target_normal = from_py3d_mesh(multiview_color_projection(py3d_mesh, pils, cameras_list=cameras, weights=[2.0, 0.8, 1.0, 0.8], confidence_threshold=0.1, complete_unseen=False, below_confidence_strategy='original', reweight_with_cosangle='linear'))
  File "F:\AI\ComfyUI\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\Unique3D\scripts\project_mesh.py", line 283, in multiview_color_projection
    ret = project_color(meshes, camera, image, eps=eps, resolution=resolution, device=device, use_alpha=use_alpha)
  File "F:\AI\ComfyUI\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\Unique3D\scripts\project_mesh.py", line 134, in project_color
    faces_normals = meshes.faces_normals_packed()[unique_faces]
  File "F:\AI\ComfyUI\env\lib\site-packages\pytorch3d\structures\meshes.py", line 800, in faces_normals_packed
    self._compute_face_areas_normals()
  File "F:\AI\ComfyUI\env\lib\site-packages\pytorch3d\structures\meshes.py", line 868, in _compute_face_areas_normals
    face_areas, face_normals = mesh_face_areas_normals(verts_packed, faces_packed)
  File "F:\AI\ComfyUI\env\lib\site-packages\torch\autograd\function.py", line 598, in apply
    return super().apply(*args, **kwargs)  # type: ignore[misc]
  File "F:\AI\ComfyUI\env\lib\site-packages\pytorch3d\ops\mesh_face_areas_normals.py", line 48, in forward
    areas, normals = _C.face_areas_normals_forward(verts, faces)
RuntimeError: CUDA error: no kernel image is available for execution on the device
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

Exception raised from c10_cuda_check_implementation at ..\c10\cuda\CUDAException.cpp:43 (most recent call first):
00007FFBB639366200007FFBB6393600 c10.dll!c10::Error::Error [<unknown file> @ <unknown line number>]
00007FFBB639318A00007FFBB6393130 c10.dll!c10::detail::torchCheckFail [<unknown file> @ <unknown line number>]
00007FFC3564F93F00007FFC3564F640 c10_cuda.dll!c10::cuda::c10_cuda_check_implementation [<unknown file> @ <unknown line number>]
00007FFA7451FB01 <unknown symbol address> _C.cp310-win_amd64.pyd!<unknown symbol> [<unknown file> @ <unknown line number>]
00007FFA744CB4A7 <unknown symbol address> _C.cp310-win_amd64.pyd!<unknown symbol> [<unknown file> @ <unknown line number>]
00007FFA744D9A2E <unknown symbol address> _C.cp310-win_amd64.pyd!<unknown symbol> [<unknown file> @ <unknown line number>]
00007FFA744D9AB4 <unknown symbol address> _C.cp310-win_amd64.pyd!<unknown symbol> [<unknown file> @ <unknown line number>]
00007FFA744C763B <unknown symbol address> _C.cp310-win_amd64.pyd!<unknown symbol> [<unknown file> @ <unknown line number>]
00007FFBB0C582F600007FFBB0C57530 python310.dll!PyCFunction_GetFlags [<unknown file> @ <unknown line number>]
00007FFBB0C1554C00007FFBB0C15410 python310.dll!PyObject_MakeTpCall [<unknown file> @ <unknown line number>]
00007FFBB0D0E6F200007FFBB0D0E300 python310.dll!PyEval_GetFuncDesc [<unknown file> @ <unknown line number>]
00007FFBB0D0AE9F00007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0D0CE7B00007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0C1585E00007FFBB0C15820 python310.dll!PyFunction_Vectorcall [<unknown file> @ <unknown line number>]
00007FFBA66FF8C100007FFBA66EC4E0 torch_python.dll!THPPointer<THPStorage>::THPPointer<THPStorage> [<unknown file> @ <unknown line number>]
00007FFBB0C5832D00007FFBB0C57530 python310.dll!PyCFunction_GetFlags [<unknown file> @ <unknown line number>]
00007FFBB0C157A700007FFBB0C156B0 python310.dll!PyObject_Call [<unknown file> @ <unknown line number>]
00007FFBB0D0E9CC00007FFBB0D0E300 python310.dll!PyEval_GetFuncDesc [<unknown file> @ <unknown line number>]
00007FFBB0D09D1900007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0D0CE7B00007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0C1585E00007FFBB0C15820 python310.dll!PyFunction_Vectorcall [<unknown file> @ <unknown line number>]
00007FFBB0C177D200007FFBB0C17700 python310.dll!PyMethod_Self [<unknown file> @ <unknown line number>]
00007FFBB0D061A900007FFBB0D06060 python310.dll!PyOS_URandomNonblock [<unknown file> @ <unknown line number>]
00007FFBB0D0E6F200007FFBB0D0E300 python310.dll!PyEval_GetFuncDesc [<unknown file> @ <unknown line number>]
00007FFBB0D0A8E200007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0D0CE7B00007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0C1585E00007FFBB0C15820 python310.dll!PyFunction_Vectorcall [<unknown file> @ <unknown line number>]
00007FFBB0D061A900007FFBB0D06060 python310.dll!PyOS_URandomNonblock [<unknown file> @ <unknown line number>]
00007FFBB0D0E6F200007FFBB0D0E300 python310.dll!PyEval_GetFuncDesc [<unknown file> @ <unknown line number>]
00007FFBB0D0AEB500007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0D0CE7B00007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0C1585E00007FFBB0C15820 python310.dll!PyFunction_Vectorcall [<unknown file> @ <unknown line number>]
00007FFBB0D061A900007FFBB0D06060 python310.dll!PyOS_URandomNonblock [<unknown file> @ <unknown line number>]
00007FFBB0D0E6F200007FFBB0D0E300 python310.dll!PyEval_GetFuncDesc [<unknown file> @ <unknown line number>]
00007FFBB0D0AEB500007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0D0CE7B00007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0C1585E00007FFBB0C15820 python310.dll!PyFunction_Vectorcall [<unknown file> @ <unknown line number>]
00007FFBB0D061A900007FFBB0D06060 python310.dll!PyOS_URandomNonblock [<unknown file> @ <unknown line number>]
00007FFBB0D0E6F200007FFBB0D0E300 python310.dll!PyEval_GetFuncDesc [<unknown file> @ <unknown line number>]
00007FFBB0D0AF0800007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0D0CE7B00007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0C1585E00007FFBB0C15820 python310.dll!PyFunction_Vectorcall [<unknown file> @ <unknown line number>]
00007FFBB0D061A900007FFBB0D06060 python310.dll!PyOS_URandomNonblock [<unknown file> @ <unknown line number>]
00007FFBB0D0E6F200007FFBB0D0E300 python310.dll!PyEval_GetFuncDesc [<unknown file> @ <unknown line number>]
00007FFBB0D0AF0800007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0D0CE7B00007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0C1585E00007FFBB0C15820 python310.dll!PyFunction_Vectorcall [<unknown file> @ <unknown line number>]
00007FFBB0D061A900007FFBB0D06060 python310.dll!PyOS_URandomNonblock [<unknown file> @ <unknown line number>]
00007FFBB0D0E6F200007FFBB0D0E300 python310.dll!PyEval_GetFuncDesc [<unknown file> @ <unknown line number>]
00007FFBB0D0AF0800007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0D0CE7B00007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0C1585E00007FFBB0C15820 python310.dll!PyFunction_Vectorcall [<unknown file> @ <unknown line number>]
00007FFBB0C177D200007FFBB0C17700 python310.dll!PyMethod_Self [<unknown file> @ <unknown line number>]
00007FFBB0C1566D00007FFBB0C155B0 python310.dll!PyVectorcall_Call [<unknown file> @ <unknown line number>]
00007FFBB0D0E8F200007FFBB0D0E300 python310.dll!PyEval_GetFuncDesc [<unknown file> @ <unknown line number>]
00007FFBB0D09D1900007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0D0CE7B00007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0C1585E00007FFBB0C15820 python310.dll!PyFunction_Vectorcall [<unknown file> @ <unknown line number>]
00007FFBB0D061A900007FFBB0D06060 python310.dll!PyOS_URandomNonblock [<unknown file> @ <unknown line number>]
00007FFBB0D0E6F200007FFBB0D0E300 python310.dll!PyEval_GetFuncDesc [<unknown file> @ <unknown line number>]
00007FFBB0D0A8E200007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0D0CE7B00007FFBB0D07A70 python310.dll!PyEval_EvalFrameDefault [<unknown file> @ <unknown line number>]
00007FFBB0C1585E00007FFBB0C15820 python310.dll!PyFunction_Vectorcall [<unknown file> @ <unknown line number>]
00007FFBB0D061A900007FFBB0D06060 python310.dll!PyOS_URandomNonblock [<unknown file> @ <unknown line number>]

Prompt executed in 156.07 seconds
scott-hf commented 2 months ago

[Comfy3D] ExplicitTarget Mesh Optimization CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with TORCH_USE_CUDA_DSA to enable device-side assertions. Exception raised from c10_cuda_check_implementation at ..\c10\cuda\CUDAException.cpp:43 (most recent call first): 00007FF9E1B1366200007FF9E1B13600 c10.dll!c10::Error::Error [ @ ] 00007FF9E1B1318A00007FF9E1B13130 c10.dll!c10::detail::torchCheckFail [ @ ] 00007FF9E253F93F00007FF9E253F640 c10_cuda.dll!c10::cuda::c10_cuda_check_implementation [ @ ] 00007FF8679B0391 _C.cp311-win_amd64.pyd! [ @ ] 00007FF86795BE07 _C.cp311-win_amd64.pyd! [ @ ] 00007FF86796A36E _C.cp311-win_amd64.pyd! [ @ ] 00007FF86796A3F4 _C.cp311-win_amd64.pyd! [ @ ] 00007FF867957F9F _C.cp311-win_amd64.pyd! [ @ ] 00007FF9A3AB112C00007FF9A3AB0EC0 python311.dll!PyObject_MakeTpCall [ @ ] 00007FF9A3AB48DF00007FF9A3AB4650 python311.dll!PyObject_Vectorcall [ @ ] 00007FF9A3AB60B200007FF9A3AB5910 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FF9A3AE6F9400007FF9A3AE6DF0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FF9A3B3077300007FF9A3B30718 python311.dll!PyObject_Call [ @ ] 00007FF8B138026100007FF8B136CEA0 torch_python.dll!THPPointer::THPPointer [ @ ] 00007FF9A3AE2CD100007FF9A3AE1DE0 python311.dll!PyArg_ParseTuple_SizeT [ @ ] 00007FF9A3B307BD00007FF9A3B30718 python311.dll!PyObject_Call [ @ ] 00007FF9A3B3044000007FF9A3B2FFEC python311.dll!PyObject_CallObject [ @ ] 00007FF9A3ABAC9400007FF9A3AB5910 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FF9A3AE6F9400007FF9A3AE6DF0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FF9A3AE84CD00007FF9A3AE6DF0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FF9A3B3036A00007FF9A3B2FFEC python311.dll!PyObject_CallObject [ @ ] 00007FF9A3ABAC9400007FF9A3AB5910 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FF9A3AE6F9400007FF9A3AE6DF0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FF9A3B303F300007FF9A3B2FFEC python311.dll!PyObject_CallObject [ @ ] 00007FF9A3ABAC9400007FF9A3AB5910 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FF9A3AE6F9400007FF9A3AE6DF0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FF9A3AE852700007FF9A3AE6DF0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FF9A3B3077300007FF9A3B30718 python311.dll!PyObject_Call [ @ ] 00007FF9A3B6A16800007FF9A3B69FD4 python311.dll!PyRuntimeState_Init [ @ ] 00007FF9A3B6A0CE00007FF9A3B69FD4 python311.dll!PyRuntimeState_Init [ @ ] 00007FFA89D2933300007FFA89D29290 ucrtbase.dll!recalloc [ @ ] 00007FFA8ADD257D00007FFA8ADD2560 KERNEL32.DLL!BaseThreadInitThunk [ @ ] 00007FFA8C26AF2800007FFA8C26AF00 ntdll.dll!RtlUserThreadStart [ @ ]

felixsoong0825 commented 2 months ago

Warn!: xFormers is available (Attention) Warn!: D:\StableDiffusion\ComfyUI_3D\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py:1967: UserWarning: TORCH_CUDA_ARCH_LIST is not set, all archs for visible cards are included for compilation. If this is not desired, please set os.environ['TORCH_CUDA_ARCH_LIST']. warnings.warn(

Warn!: Traceback (most recent call last): File "D:\StableDiffusion\ComfyUI_3D\ComfyUI\nodes.py", line 1993, 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 "D:\StableDiffusion\ComfyUI_3D\ComfyUI\custom_nodes\ComfyUI-3D-Pack__init.py", line 47, in module = importlib.import_module(f".{nodes_filename}", package=name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "importlib\init.py", line 126, in import_module File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "D:\StableDiffusion\ComfyUI_3D\ComfyUI\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 78, in from Unique3D.scripts.project_mesh import multiview_color_projection, get_cameras_list File "D:\StableDiffusion\ComfyUI_3D\ComfyUI\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\Unique3D\scripts\project_mesh.py", line 98, in pix2faces_renderer = Pix2FacesRenderer() ^^^^^^^^^^^^^^^^^^^ File "D:\StableDiffusion\ComfyUI_3D\ComfyUI\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\Unique3D\scripts\project_mesh.py", line 72, in init__ _warmup(self._glctx, device) File "D:\StableDiffusion\ComfyUI_3D\ComfyUI\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\Unique3D\scripts\project_mesh.py", line 66, in _warmup dr.rasterize(glctx, pos, tri, resolution=[256, 256]) File "D:\StableDiffusion\ComfyUI_3D\python_embeded\Lib\site-packages\nvdiffrast\torch\ops.py", line 310, in rasterize return _rasterize_func.apply(glctx, pos, tri, resolution, ranges, grad_db, -1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\StableDiffusion\ComfyUI_3D\python_embeded\Lib\site-packages\torch\autograd\function.py", line 598, in apply return super().apply(*args, **kwargs) # type: ignore[misc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\StableDiffusion\ComfyUI_3D\python_embeded\Lib\site-packages\nvdiffrast\torch\ops.py", line 246, in forward out, out_db = _get_plugin(gl=True).rasterize_fwd_gl(raster_ctx.cpp_wrapper, pos, tri, resolution, ranges, peeling_idx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: Cuda error: 304[cudaGraphicsGLRegisterBuffer(&s.cudaPosBuffer, s.glPosBuffer, cudaGraphicsRegisterFlagsWriteDiscard);] Exception raised from rasterizeResizeBuffers at D:\StableDiffusion\ComfyUI_3D\python_embeded\Lib\site-packages\nvdiffrast\common\rasterize_gl.cpp:371 (most recent call first): 00007FFE9152366200007FFE91523600 c10.dll!c10::Error::Error [ @ ] 00007FFE9152318A00007FFE91523130 c10.dll!c10::detail::torchCheckFail [ @ ] 00007FFD74808CDC nvdiffrast_plugin_gl.pyd! [ @ ] 00007FFD7483A07F nvdiffrast_plugin_gl.pyd! [ @ ] 00007FFD748174A3 nvdiffrast_plugin_gl.pyd! [ @ ] 00007FFD748170B2 nvdiffrast_plugin_gl.pyd! [ @ ] 00007FFD74823872 nvdiffrast_plugin_gl.pyd! [ @ ] 00007FFD7480F62F nvdiffrast_plugin_gl.pyd! [ @ ] 00007FFD7482D0C3 nvdiffrast_plugin_gl.pyd! [ @ ] 00007FFE91C382BE00007FFE91C38060 python311.dll!PyObject_MakeTpCall [ @ ] 00007FFE91C3BDDF00007FFE91C3BB50 python311.dll!PyObject_Vectorcall [ @ ] 00007FFE91C3D42300007FFE91C3CC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FFE91C3AE6400007FFE91C3ACC0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FFE91CE507300007FFE91CE5018 python311.dll!PyObject_Call [ @ ] 00007FFE696D026100007FFE696BCEA0 torch_python.dll!THPPointer::THPPointer [ @ ] 00007FFE91C675F500007FFE91C67540 python311.dll!PyArg_Parse_SizeT [ @ ] 00007FFE91CE50C400007FFE91CE5018 python311.dll!PyObject_Call [ @ ] 00007FFE91CE4D4000007FFE91CE48EC python311.dll!PyObject_CallObject [ @ ] 00007FFE91C41F7F00007FFE91C3CC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FFE91C3AE6400007FFE91C3ACC0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FFE91CC8D0000007FFE91CC8A10 python311.dll!PyUnicodeWriter_WriteSubstring [ @ ] 00007FFE91C3821600007FFE91C38060 python311.dll!PyObject_MakeTpCall [ @ ] 00007FFE91C3BDDF00007FFE91C3BB50 python311.dll!PyObject_Vectorcall [ @ ] 00007FFE91C3D42300007FFE91C3CC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FFE91C17FEB00007FFE91C17EF0 python311.dll!PyType_CalculateMetaclass [ @ ] 00007FFE91CE253300007FFE91CE249C python311.dll!PyEval_EvalCode [ @ ] 00007FFE91CE088800007FFE91CE06A0 python311.dll!PyEval_GetBuiltins [ @ ] 00007FFE91CE075800007FFE91CE06A0 python311.dll!PyEval_GetBuiltins [ @ ] 00007FFE91C7D2EC00007FFE91C7D208 python311.dll!PyArg_UnpackTuple [ @ ] 00007FFE91CE507300007FFE91CE5018 python311.dll!PyObject_Call [ @ ] 00007FFE91CE4D4000007FFE91CE48EC python311.dll!PyObject_CallObject [ @ ] 00007FFE91C41F7F00007FFE91C3CC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FFE91CC698100007FFE91CC5590 python311.dll!PyNumber_Add [ @ ] 00007FFE91C7B5DB00007FFE91C7B4B8 python311.dll!PyObject_CallMethodObjArgs [ @ ] 00007FFE91C7B51600007FFE91C7B4B8 python311.dll!PyObject_CallMethodObjArgs [ @ ] 00007FFE91CE32D100007FFE91CE27F8 python311.dll!PyConfig_FromDict [ @ ] 00007FFE91C70BA500007FFE91C70610 python311.dll!PyImport_ImportModuleLevelObject [ @ ] 00007FFE91D4388700007FFE91D437B4 python311.dll!PyException_GetTraceback [ @ ] 00007FFE91C43F5900007FFE91C3CC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FFE91C17FEB00007FFE91C17EF0 python311.dll!PyType_CalculateMetaclass [ @ ] 00007FFE91CE253300007FFE91CE249C python311.dll!PyEval_EvalCode [ @ ] 00007FFE91CE088800007FFE91CE06A0 python311.dll!PyEval_GetBuiltins [ @ ] 00007FFE91CE075800007FFE91CE06A0 python311.dll!PyEval_GetBuiltins [ @ ] 00007FFE91C7D2EC00007FFE91C7D208 python311.dll!PyArg_UnpackTuple [ @ ] 00007FFE91CE507300007FFE91CE5018 python311.dll!PyObject_Call [ @ ] 00007FFE91CE4D4000007FFE91CE48EC python311.dll!PyObject_CallObject [ @ ] 00007FFE91C41F7F00007FFE91C3CC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FFE91C17FEB00007FFE91C17EF0 python311.dll!PyType_CalculateMetaclass [ @ ] 00007FFE91CE253300007FFE91CE249C python311.dll!PyEval_EvalCode [ @ ] 00007FFE91CE088800007FFE91CE06A0 python311.dll!PyEval_GetBuiltins [ @ ] 00007FFE91CE075800007FFE91CE06A0 python311.dll!PyEval_GetBuiltins [ @ ] 00007FFE91C7D2EC00007FFE91C7D208 python311.dll!PyArg_UnpackTuple [ @ ] 00007FFE91CE507300007FFE91CE5018 python311.dll!PyObject_Call [ @ ] 00007FFE91CE4D4000007FFE91CE48EC python311.dll!PyObject_CallObject [ @ ] 00007FFE91C41F7F00007FFE91C3CC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FFE91C17FEB00007FFE91C17EF0 python311.dll!PyType_CalculateMetaclass [ @ ] 00007FFE91CE253300007FFE91CE249C python311.dll!PyEval_EvalCode [ @ ] 00007FFE91CE27CA00007FFE91CE249C python311.dll!PyEval_EvalCode [ @ ] 00007FFE91CE274600007FFE91CE249C python311.dll!PyEval_EvalCode [ @ ] 00007FFE91DDED2600007FFE91D89C78 python311.dll!PyThread_tss_is_created [ @ ] 00007FFE91D4F0C900007FFE91D4EFAC python311.dll!PyRun_SimpleFileObject [ @ ] 00007FFE91D4EE3800007FFE91D4EDE4 python311.dll!PyRun_AnyFileObject [ @ ] 00007FFE91D4EA8700007FFE91D4DDB0 python311.dll!PyDict_Values [ @ ] 00007FFE91D4E94300007FFE91D4DDB0 python311.dll!PyDict_Values [ @ ]

Warn!: Cannot import D:\StableDiffusion\ComfyUI_3D\ComfyUI\custom_nodes\ComfyUI-3D-Pack module for custom nodes: Cuda error: 304[cudaGraphicsGLRegisterBuffer(&s.cudaPosBuffer, s.glPosBuffer, cudaGraphicsRegisterFlagsWriteDiscard);] Exception raised from rasterizeResizeBuffers at D:\StableDiffusion\ComfyUI_3D\python_embeded\Lib\site-packages\nvdiffrast\common\rasterize_gl.cpp:371 (most recent call first): 00007FFE9152366200007FFE91523600 c10.dll!c10::Error::Error [ @ ] 00007FFE9152318A00007FFE91523130 c10.dll!c10::detail::torchCheckFail [ @ ] 00007FFD74808CDC nvdiffrast_plugin_gl.pyd! [ @ ] 00007FFD7483A07F nvdiffrast_plugin_gl.pyd! [ @ ] 00007FFD748174A3 nvdiffrast_plugin_gl.pyd! [ @ ] 00007FFD748170B2 nvdiffrast_plugin_gl.pyd! [ @ ] 00007FFD74823872 nvdiffrast_plugin_gl.pyd! [ @ ] 00007FFD7480F62F nvdiffrast_plugin_gl.pyd! [ @ ] 00007FFD7482D0C3 nvdiffrast_plugin_gl.pyd! [ @ ] 00007FFE91C382BE00007FFE91C38060 python311.dll!PyObject_MakeTpCall [ @ ] 00007FFE91C3BDDF00007FFE91C3BB50 python311.dll!PyObject_Vectorcall [ @ ] 00007FFE91C3D42300007FFE91C3CC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FFE91C3AE6400007FFE91C3ACC0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FFE91CE507300007FFE91CE5018 python311.dll!PyObject_Call [ @ ] 00007FFE696D026100007FFE696BCEA0 torch_python.dll!THPPointer::THPPointer [ @ ] 00007FFE91C675F500007FFE91C67540 python311.dll!PyArg_Parse_SizeT [ @ ] 00007FFE91CE50C400007FFE91CE5018 python311.dll!PyObject_Call [ @ ] 00007FFE91CE4D4000007FFE91CE48EC python311.dll!PyObject_CallObject [ @ ] 00007FFE91C41F7F00007FFE91C3CC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FFE91C3AE6400007FFE91C3ACC0 python311.dll!PyFunction_Vectorcall [ @ ] 00007FFE91CC8D0000007FFE91CC8A10 python311.dll!PyUnicodeWriter_WriteSubstring [ @ ] 00007FFE91C3821600007FFE91C38060 python311.dll!PyObject_MakeTpCall [ @ ] 00007FFE91C3BDDF00007FFE91C3BB50 python311.dll!PyObject_Vectorcall [ @ ] 00007FFE91C3D42300007FFE91C3CC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FFE91C17FEB00007FFE91C17EF0 python311.dll!PyType_CalculateMetaclass [ @ ] 00007FFE91CE253300007FFE91CE249C python311.dll!PyEval_EvalCode [ @ ] 00007FFE91CE088800007FFE91CE06A0 python311.dll!PyEval_GetBuiltins [ @ ] 00007FFE91CE075800007FFE91CE06A0 python311.dll!PyEval_GetBuiltins [ @ ] 00007FFE91C7D2EC00007FFE91C7D208 python311.dll!PyArg_UnpackTuple [ @ ] 00007FFE91CE507300007FFE91CE5018 python311.dll!PyObject_Call [ @ ] 00007FFE91CE4D4000007FFE91CE48EC python311.dll!PyObject_CallObject [ @ ] 00007FFE91C41F7F00007FFE91C3CC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FFE91CC698100007FFE91CC5590 python311.dll!PyNumber_Add [ @ ] 00007FFE91C7B5DB00007FFE91C7B4B8 python311.dll!PyObject_CallMethodObjArgs [ @ ] 00007FFE91C7B51600007FFE91C7B4B8 python311.dll!PyObject_CallMethodObjArgs [ @ ] 00007FFE91CE32D100007FFE91CE27F8 python311.dll!PyConfig_FromDict [ @ ] 00007FFE91C70BA500007FFE91C70610 python311.dll!PyImport_ImportModuleLevelObject [ @ ] 00007FFE91D4388700007FFE91D437B4 python311.dll!PyException_GetTraceback [ @ ] 00007FFE91C43F5900007FFE91C3CC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FFE91C17FEB00007FFE91C17EF0 python311.dll!PyType_CalculateMetaclass [ @ ] 00007FFE91CE253300007FFE91CE249C python311.dll!PyEval_EvalCode [ @ ] 00007FFE91CE088800007FFE91CE06A0 python311.dll!PyEval_GetBuiltins [ @ ] 00007FFE91CE075800007FFE91CE06A0 python311.dll!PyEval_GetBuiltins [ @ ] 00007FFE91C7D2EC00007FFE91C7D208 python311.dll!PyArg_UnpackTuple [ @ ] 00007FFE91CE507300007FFE91CE5018 python311.dll!PyObject_Call [ @ ] 00007FFE91CE4D4000007FFE91CE48EC python311.dll!PyObject_CallObject [ @ ] 00007FFE91C41F7F00007FFE91C3CC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FFE91C17FEB00007FFE91C17EF0 python311.dll!PyType_CalculateMetaclass [ @ ] 00007FFE91CE253300007FFE91CE249C python311.dll!PyEval_EvalCode [ @ ] 00007FFE91CE088800007FFE91CE06A0 python311.dll!PyEval_GetBuiltins [ @ ] 00007FFE91CE075800007FFE91CE06A0 python311.dll!PyEval_GetBuiltins [ @ ] 00007FFE91C7D2EC00007FFE91C7D208 python311.dll!PyArg_UnpackTuple [ @ ] 00007FFE91CE507300007FFE91CE5018 python311.dll!PyObject_Call [ @ ] 00007FFE91CE4D4000007FFE91CE48EC python311.dll!PyObject_CallObject [ @ ] 00007FFE91C41F7F00007FFE91C3CC20 python311.dll!PyEval_EvalFrameDefault [ @ ] 00007FFE91C17FEB00007FFE91C17EF0 python311.dll!PyType_CalculateMetaclass [ @ ] 00007FFE91CE253300007FFE91CE249C python311.dll!PyEval_EvalCode [ @ ] 00007FFE91CE27CA00007FFE91CE249C python311.dll!PyEval_EvalCode [ @ ] 00007FFE91CE274600007FFE91CE249C python311.dll!PyEval_EvalCode [ @ ] 00007FFE91DDED2600007FFE91D89C78 python311.dll!PyThread_tss_is_created [ @ ] 00007FFE91D4F0C900007FFE91D4EFAC python311.dll!PyRun_SimpleFileObject [ @ ] 00007FFE91D4EE3800007FFE91D4EDE4 python311.dll!PyRun_AnyFileObject [ @ ] 00007FFE91D4EA8700007FFE91D4DDB0 python311.dll!PyDict_Values [ @ ] 00007FFE91D4E94300007FFE91D4DDB0 python311.dll!PyDict_Values [ @ ]

Loading: ComfyUI-Manager (V2.50.3)

ComfyUI Revision: 2615 [c6812947] *DETACHED | Released on '2024-08-26'

Import times for custom nodes: 0.0 seconds: D:\StableDiffusion\ComfyUI_3D\ComfyUI\custom_nodes\websocket_image_save.py 0.5 seconds: D:\StableDiffusion\ComfyUI_3D\ComfyUI\custom_nodes\ComfyUI-Manager 7.8 seconds (IMPORT FAILED): D:\StableDiffusion\ComfyUI_3D\ComfyUI\custom_nodes\ComfyUI-3D-Pack

Starting server