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

my cuda12.4 env can not import nexfort #5

Open
zzh412 opened this issue Nov 4, 2024 · 0 comments
Open

my cuda12.4 env can not import nexfort #5

zzh412 opened this issue Nov 4, 2024 · 0 comments

Comments

@zzh412
Copy link

zzh412 commented Nov 4, 2024

Env: cuda 12.4, pytorch=2.3.0

run nvidia-smi show :

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.107.02 Driver Version: 550.107.02 CUDA Version: 12.4 |
|-----------------------------------------+------------------------+----------------------+

run comfyui show:
** ComfyUI startup time: 2024-11-04 11:48:53.442906
** Platform: Linux
** Python version: 3.11.10 (main, Sep 7 2024, 18:35:41) [GCC 11.4.0]
** Python executable: /home/panhao/下载/cursor-0.42.3-build-241016kxu9umuir-x86_64.AppImage
** Log path: /home/panhao/zzh-mootion/seedv-comfyui/ComfyUI/comfyui.log

Prestartup times for custom nodes:
0.0 seconds: /home/panhao/zzh-mootion/seedv-comfyui/ComfyUI/custom_nodes/rgthree-comfy
0.0 seconds: /home/panhao/zzh-mootion/seedv-comfyui/ComfyUI/custom_nodes/ComfyUI-Manager

Total VRAM 24210 MB, total RAM 64089 MB
pytorch version: 2.3.0+cu121
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
Using pytorch cross attention
[Prompt Server] web root: /home/panhao/zzh-mootion/seedv-comfyui/ComfyUI/web
(pysssss:WD14Tagger) [DEBUG] Available ORT providers: TensorrtExecutionProvider, CUDAExecutionProvider, CPUExecutionProvider
(pysssss:WD14Tagger) [DEBUG] Using ORT providers: CUDAExecutionProvider, CPUExecutionProvider

Loading: ComfyUI-Inspire-Pack (V1.2)

Unable to load nexfort.{extension} module. Is it compatible with your PyTorch installation?
Traceback (most recent call last):
File "/home/panhao/zzh-mootion/seedv-comfyui/onediff/src/onediff/utils/import_utils.py", line 16, in check_module_availability
importlib.import_module(module_name)
File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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 "/home/panhao/.local/lib/python3.11/site-packages/nexfort/init.py", line 22, in
exec(f"import nexfort.{extension} as {extension}")
File "", line 1, in
ImportError: /home/panhao/.local/lib/python3.11/site-packages/nexfort/_C.cpython-311-x86_64-linux-gnu.so: undefined symbol: _ZNK3c105Error4whatEv

Traceback (most recent call last):
File "/home/panhao/zzh-mootion/seedv-comfyui/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 "/home/panhao/zzh-mootion/seedv-comfyui/ComfyUI/custom_nodes/onediff_comfy_nodes/init.py", line 5, in
from ._nodes import (
File "/home/panhao/zzh-mootion/seedv-comfyui/ComfyUI/custom_nodes/onediff_comfy_nodes/_nodes.py", line 26, in
raise RuntimeError(
RuntimeError: Neither OneFlow nor Nexfort is available. Please ensure at least one of them is installed.

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

1 participant