-
Notifications
You must be signed in to change notification settings - Fork 153
Description
An error occurred. The log is as follows:
======================================== ComfyUI-nunchaku Initialization ========================================
Nunchaku version: 0.3.1
ComfyUI-nunchaku version: 0.3.3
Node NunchakuFluxDiTLoader import failed:
Traceback (most recent call last):
File "/home/chawk/ComfyUI/custom_nodes/ComfyUI-nunchaku/init.py", line 31, in
from .nodes.models.flux import NunchakuFluxDiTLoader
File "/home/chawk/ComfyUI/custom_nodes/ComfyUI-nunchaku/nodes/models/flux.py", line 13, in
from nunchaku import NunchakuFluxTransformer2dModel
File "/home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/init.py", line 1, in
from .models import NunchakuFluxTransformer2dModel, NunchakuSanaTransformer2DModel, NunchakuT5EncoderModel
File "/home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/models/init.py", line 1, in
from .text_encoders.t5_encoder import NunchakuT5EncoderModel
File "/home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/models/text_encoders/t5_encoder.py", line 12, in
from .linear import W4Linear
File "/home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/models/text_encoders/linear.py", line 7, in
from ..._C.ops import gemm_awq, gemv_awq
ImportError: /home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/_C.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN3c106detail23torchInternalAssertFailEPKcS2_jS2_RKSs
Node NunchakuFluxLoraLoader import failed:
Traceback (most recent call last):
File "/home/chawk/ComfyUI/custom_nodes/ComfyUI-nunchaku/init.py", line 38, in
from .nodes.lora.flux import NunchakuFluxLoraLoader
File "/home/chawk/ComfyUI/custom_nodes/ComfyUI-nunchaku/nodes/lora/flux.py", line 6, in
from nunchaku.lora.flux import to_diffusers
File "/home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/init.py", line 1, in
from .models import NunchakuFluxTransformer2dModel, NunchakuSanaTransformer2DModel, NunchakuT5EncoderModel
File "/home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/models/init.py", line 1, in
from .text_encoders.t5_encoder import NunchakuT5EncoderModel
File "/home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/models/text_encoders/t5_encoder.py", line 12, in
from .linear import W4Linear
File "/home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/models/text_encoders/linear.py", line 7, in
from ..._C.ops import gemm_awq, gemv_awq
ImportError: /home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/_C.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN3c106detail23torchInternalAssertFailEPKcS2_jS2_RKSs
Nodes NunchakuTextEncoderLoader and NunchakuTextEncoderLoaderV2 import failed:
Traceback (most recent call last):
File "/home/chawk/ComfyUI/custom_nodes/ComfyUI-nunchaku/init.py", line 46, in
from .nodes.models.text_encoder import NunchakuTextEncoderLoader, NunchakuTextEncoderLoaderV2
File "/home/chawk/ComfyUI/custom_nodes/ComfyUI-nunchaku/nodes/models/text_encoder.py", line 14, in
from nunchaku import NunchakuT5EncoderModel
File "/home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/init.py", line 1, in
from .models import NunchakuFluxTransformer2dModel, NunchakuSanaTransformer2DModel, NunchakuT5EncoderModel
File "/home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/models/init.py", line 1, in
from .text_encoders.t5_encoder import NunchakuT5EncoderModel
File "/home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/models/text_encoders/t5_encoder.py", line 12, in
from .linear import W4Linear
File "/home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/models/text_encoders/linear.py", line 7, in
from ..._C.ops import gemm_awq, gemv_awq
ImportError: /home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/_C.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN3c106detail23torchInternalAssertFailEPKcS2_jS2_RKSs
Nodes NunchakuPulidApply,NunchakuPulidLoader, NunchakuPuLIDLoaderV2 and NunchakuFluxPuLIDApplyV2 import failed:
Traceback (most recent call last):
File "/home/chawk/ComfyUI/custom_nodes/ComfyUI-nunchaku/init.py", line 61, in
from .nodes.models.pulid import (
File "/home/chawk/ComfyUI/custom_nodes/ComfyUI-nunchaku/nodes/models/pulid.py", line 16, in
from nunchaku.models.pulid.pulid_forward import pulid_forward
File "/home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/init.py", line 1, in
from .models import NunchakuFluxTransformer2dModel, NunchakuSanaTransformer2DModel, NunchakuT5EncoderModel
File "/home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/models/init.py", line 1, in
from .text_encoders.t5_encoder import NunchakuT5EncoderModel
File "/home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/models/text_encoders/t5_encoder.py", line 12, in
from .linear import W4Linear
File "/home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/models/text_encoders/linear.py", line 7, in
from ..._C.ops import gemm_awq, gemv_awq
ImportError: /home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/_C.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN3c106detail23torchInternalAssertFailEPKcS2_jS2_RKSs
Node NunchakuModelMerger import failed:
Traceback (most recent call last):
File "/home/chawk/ComfyUI/custom_nodes/ComfyUI-nunchaku/init.py", line 79, in
from .nodes.tools.merge_safetensors import NunchakuModelMerger
File "/home/chawk/ComfyUI/custom_nodes/ComfyUI-nunchaku/nodes/tools/merge_safetensors.py", line 6, in
from nunchaku.merge_safetensors import merge_safetensors
File "/home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/init.py", line 1, in
from .models import NunchakuFluxTransformer2dModel, NunchakuSanaTransformer2DModel, NunchakuT5EncoderModel
File "/home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/models/init.py", line 1, in
from .text_encoders.t5_encoder import NunchakuT5EncoderModel
File "/home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/models/text_encoders/t5_encoder.py", line 12, in
from .linear import W4Linear
File "/home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/models/text_encoders/linear.py", line 7, in
from ..._C.ops import gemm_awq, gemv_awq
ImportError: /home/chawk/miniconda3/envs/comfyui/lib/python3.10/site-packages/nunchaku/_C.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN3c106detail23torchInternalAssertFailEPKcS2_jS2_RKSs
The environment is as follows:
Package Version Editable project location
absl-py 1.4.0
accelerate 1.6.0
addict 2.4.0
aenum 3.1.15
aggdraw 1.3.19
aiofiles 24.1.0
aiohappyeyeballs 2.5.0
aiohttp 3.12.0
aiohttp-cors 0.8.1
aiosignal 1.3.2
albucore 0.0.16
albumentations 1.4.3
alembic 1.16.2
aliyun-python-sdk-core 2.16.0
aliyun-python-sdk-core-v3 2.13.33
aliyun-python-sdk-kms 2.16.5
altair 5.5.0
annotated-types 0.7.0
antlr4-python3-runtime 4.9.3
anyio 4.9.0
anykeystore 0.2
apex 0.9.10.dev0
argbind 0.3.9
arrow 1.3.0
asttokens 3.0.0
astunparse 1.6.3
async-timeout 4.0.3
attrdict 2.0.1
attrs 25.1.0
audioread 3.0.1
av 14.3.0
azure-cognitiveservices-speech 1.41.1
basicsr 1.4.2
beautifulsoup4 4.13.3
binaryornot 0.4.4
binpacking 1.5.2
bitsandbytes 0.46.1
blend_modes 2.2.0
blendmodes 2022
blessed 1.21.0
blind-watermark 0.4.4
blinker 1.9.0
blis 1.3.0
blobfile 3.0.0
Brotli 1.1.0
build 1.2.2.post1
cachetools 5.5.2
catalogue 2.0.10
certifi 2025.1.31
cffi 1.17.1
chardet 5.2.0
charset-normalizer 3.4.1
civitai-py 0.1.10
clean-fid 0.1.35
click 8.1.8
clip 1.0
clip-interrogator 0.6.0
cloudpathlib 0.21.1
coloredlogs 15.0.1
colorlog 6.9.0
colour-science 0.4.6
comfy-cli 1.3.8
comfyui-embedded-docs 0.2.3
comfyui_frontend_package 1.23.4
comfyui_workflow_templates 0.1.31
confection 0.1.5
contourpy 1.3.1
controlnet_aux 0.0.10
cookiecutter 2.6.0
cpm-kernels 1.0.11
cpufeature 0.2.1
crcmod 1.7
cryptacular 1.6.2
cryptography 44.0.2
cssselect2 0.8.0
ctranslate2 4.6.0
cupy-cuda12x 13.4.1
curl_cffi 0.10.0
cycler 0.12.1
cymem 2.0.11
Cython 3.0.12
dacite 1.9.2
dashscope 1.20.14
datasets 3.3.2
decorator 4.4.2
decord 0.6.0
defusedxml 0.7.1
Deprecated 1.2.18
deprecation 2.1.0
depth_anything 2024.1.22.0
depth_anything_v2 2024.7.1.0
descript-audio-codec 1.0.0
descript-audiotools 0.7.2
dfloat11 0.1.0
diffusers 0.35.0.dev0
dill 0.3.8
diskcache 5.6.3
distro 1.9.0
dm-tree 0.1.9
docopt 0.6.2
docstring_parser 0.16
dsine 2024.3.23
easydict 1.13
edge-tts 6.1.19
editdistance 0.8.1
einops 0.8.0
embreex 2.17.7.post6
et_xmlfile 2.0.0
exceptiongroup 1.2.2
executing 2.2.0
facexlib 0.3.0
fal_client 0.7.0
fastapi 0.115.12
faster-whisper 1.1.0
fastrlock 0.8.3
ffmpeg-python 0.2.0
ffmpy 0.5.0
filelock 3.17.0
filetype 1.2.0
filterpy 1.4.5
fire 0.7.0
flash_attn 2.7.4.post1
flashinfer-python 0.2.3
flatbuffers 25.2.10
flatten-dict 0.4.2
flet 0.27.6
fonttools 4.56.0
frontend 0.0.3
frozenlist 1.5.0
fsspec 2024.9.0
ftfy 6.3.1
funasr 1.2.6
future 1.0.0
fvcore 0.1.5.post20221221
g4f 0.5.2.2
gast 0.6.0
gdown 5.2.0
geffnet 1.0.2
gguf 0.17.1
gitdb 4.0.12
GitPython 3.1.32
glob2 0.5
google-ai-generativelanguage 0.6.10
google-api-core 2.24.2
google-api-python-client 2.166.0
google-auth 2.38.0
google-auth-httplib2 0.2.0
google-genai 1.9.0
google-generativeai 0.8.3
google-pasta 0.2.0
googleapis-common-protos 1.69.2
GPUtil 1.4.0
gradio 5.32.0
gradio_client 1.10.2
gradio_imageslider 0.0.20
greenlet 3.2.1
groovy 0.1.2
grpcio 1.70.0
grpcio-status 1.63.0rc1
h11 0.16.0
h5py 3.13.0
handrefinerportable 2024.2.12.0
hf-xet 1.1.4
httpcore 1.0.9
httplib2 0.22.0
httptools 0.6.4
httpx 0.28.1
httpx-sse 0.4.1
huggingface-hub 0.30.2
humanfriendly 10.0
hupper 1.12.1
hydra-core 1.3.2
idna 3.10
ImageHash 4.3.2
imageio 2.37.0
imageio-ffmpeg 0.6.0
importlib 1.0.4
importlib_metadata 8.6.1
importlib_resources 6.5.2
inflection 0.5.1
inquirerpy 0.3.4
insightface 0.7.3
install 1.3.5
iopath 0.1.10
ipython 8.36.0
itsdangerous 2.2.0
jaconv 0.4.0
jamo 0.4.1
jax 0.6.2
jaxlib 0.6.2
jedi 0.19.2
jieba 0.42.1
Jinja2 3.1.6
jiter 0.9.0
jmespath 0.10.0
joblib 1.4.2
jsonmerge 1.8.0
jsonpatch 1.33
jsonpointer 3.0.0
jsonschema 4.23.0
jsonschema-specifications 2024.10.1
julius 0.2.7
kaldiio 2.18.1
keras 3.9.0
kiwisolver 1.4.8
kornia 0.8.1
kornia_rs 0.1.9
ktransformers 0.3+cu128torch26avx2
langchain 0.3.24
langchain-core 0.3.56
langchain-text-splitters 0.3.8
langcodes 3.5.0
langdetect 1.0.9
langsmith 0.3.38
language_data 1.3.0
lark 1.1.2
lazy_loader 0.4
libclang 18.1.1
librosa 0.11.0
lightning 2.5.1.post0
lightning-utilities 0.14.2
litelama 0.1.7
llvmlite 0.44.0
lmdb 1.6.2
loguru 0.7.3
lxml 5.3.1
Mako 1.3.10
manifold3d 3.0.1
mapbox_earcut 1.0.3
marisa-trie 1.2.1
Markdown 3.7
markdown-it-py 3.0.0
markdown2 2.5.3
MarkupSafe 2.1.5
matplotlib 3.10.3
matplotlib-inline 0.1.7
matrix-client 0.4.0
mdurl 0.1.2
mediapipe 0.10.21
mixpanel 4.10.1
ml_dtypes 0.5.1
mmdet 3.3.0
modelscope 1.25.0
moviepy 1.0.3
mpmath 1.3.0
ms_swift 3.5.3
msgpack 1.1.0
multidict 6.1.0
multiprocess 0.70.16
murmurhash 1.0.13
namex 0.0.8
narwhals 1.32.0
nest-asyncio 1.6.0
networkx 3.4.2
ngrok 1.4.0
ninja 1.11.1.4
nls 1.1.0
nltk 3.9.1
npx 0.1.6
numba 0.61.0
nvidia-cublas-cu12 12.6.4.1
nvidia-cuda-cupti-cu12 12.6.80
nvidia-cuda-nvrtc-cu12 12.6.77
nvidia-cuda-runtime-cu12 12.6.77
nvidia-cudnn-cu12 9.5.1.17
nvidia-cufft-cu12 11.3.0.4
nvidia-cufile-cu12 1.11.1.6
nvidia-curand-cu12 10.3.7.77
nvidia-cusolver-cu12 11.7.1.2
nvidia-cusparse-cu12 12.5.4.2
nvidia-cusparselt-cu12 0.6.3
nvidia-nccl-cu12 2.21.5
nvidia-nvjitlink-cu12 12.6.85
nvidia-nvtx-cu12 12.6.77
oauthlib 3.2.2
ollama 0.5.1
omegaconf 2.3.0
onnx 1.17.0
onnxruntime 1.21.0
onnxruntime-gpu 1.22.0
open-clip-torch 2.20.0
openai 1.56.1
opencv-contrib-python 4.11.0.86
opencv-python 4.11.0.86
opencv-python-headless 4.11.0.86
opencv-transforms 0.0.6
openpyxl 3.1.5
opt_einsum 3.4.0
optree 0.14.1
orjson 3.10.16
oss2 2.19.1
packaging 24.2
pandas 2.2.3
parso 0.8.4
PasteDeploy 3.1.0
pathlib 1.0.1
pathspec 0.12.1
pbkdf2 1.3
peft 0.15.2
pexpect 4.9.0
pfzy 0.3.4
piexif 1.1.3
pillow 11.2.1
pillow-avif-plugin 1.4.3
pip 25.1.1
plaster 1.1.2
plaster-pastedeploy 1.0.1
platformdirs 4.3.6
pocketflow 0.0.2
pooch 1.8.2
portalocker 3.1.1
preshed 3.0.10
prettytable 3.16.0
proglog 0.1.10
prompt_toolkit 3.0.50
propcache 0.3.0
proto-plus 1.26.1
protobuf 4.25.8
psd-tools 1.10.7
psutil 5.9.5
ptyprocess 0.7.0
pure_eval 0.2.3
py-cpuinfo 9.0.0
pyAesCrypt 6.1.1
pyarrow 20.0.0
pyasn1 0.6.1
pyasn1_modules 0.4.2
pycocotools 2.0.8
pycollada 0.9
pycparser 2.22
pycryptodome 3.21.0
pycryptodomex 3.22.0
pydantic 2.11.3
pydantic_core 2.33.1
pydantic-settings 2.9.1
pydeck 0.9.1
pydub 0.25.1
PyGithub 2.6.1
Pygments 2.19.1
PyJWT 2.8.0
pyloudnorm 0.1.1
PyMatting 1.1.13
PyNaCl 1.5.0
pynndescent 0.5.13
pyparsing 3.2.1
pypinyin 0.53.0
pyproject_hooks 1.2.0
pyramid 2.0.2
pyramid-mailer 0.15.1
PySocks 1.7.1
PySoundFile 0.9.0.post1
pystoi 0.4.1
python-dateutil 2.9.0.post0
python-dotenv 1.0.1
python-multipart 0.0.19
python-slugify 8.0.4
python3-openid 3.2.0
pytorch-lightning 1.9.4
pytorch-wpe 0.0.1
pytz 2025.2
PyWavelets 1.8.0
PyYAML 6.0.2
pyzbar 0.1.9
pyzmq 26.4.0
qrcode 8.1
questionary 2.1.0
randomname 0.2.1
redis 5.2.0
referencing 0.36.2
regex 2024.11.6
repath 0.9.0
reportlab 4.3.1
repoze.sendmail 4.4.1
requests 2.32.3
requests-oauthlib 2.0.0
requests-toolbelt 1.0.0
resize-right 0.0.2
rich 13.9.4
rouge 1.0.1
rpds-py 0.23.1
rsa 4.9
rtree 1.4.0
ruff 0.11.9
safehttpx 0.1.6
safetensors 0.5.3
sageattention 1.0.6
scepter 1.4.1 /home/chawk/scepter
scikit-image 0.21.0
scikit-learn 1.6.1
scipy 1.15.3
seaborn 0.13.2
segment-anything 1.0
semantic-version 2.10.0
semver 3.0.4
sentencepiece 0.2.0
setproctitle 1.3.6
setuptools 80.9.0
sgl-kernel 0.1.1
sglang 0.4.6.post2
shapely 2.0.7
shellingham 1.5.4
shtab 1.7.2
simplejson 3.20.1
six 1.17.0
smart_open 7.3.0.post1
smmap 5.0.2
sniffio 1.3.1
sortedcontainers 2.4.0
sounddevice 0.5.1
soundfile 0.13.1
soupsieve 2.6
soxr 0.5.0.post1
spaces 0.34.2
spacy 3.8.7
spacy-legacy 3.0.12
spacy-loggers 1.0.5
spandrel 0.3.4
spandrel_extra_arches 0.1.1
SQLAlchemy 2.0.40
srsly 2.5.1
stack-data 0.6.3
starlette 0.46.2
streamlit 1.45.0
supervision 0.25.1
svg.path 6.3
svglib 1.5.1
sympy 1.13.1
tabulate 0.9.0
tb-nightly 2.20.0a20250325
tenacity 9.1.2
tensorboard 2.16.1
tensorboard-data-server 0.7.2
tensorboardX 2.6.2.2
tensorflow 2.16.2
tensorflow_cpu 2.19.0
tensorflow-io-gcs-filesystem 0.37.1
tensorflow-model-optimization 0.8.0
termcolor 2.5.0
terminaltables 3.1.10
text-unidecode 1.3
textblob 0.19.0
tf_keras 2.16.0
thinc 8.3.6
threadpoolctl 3.5.0
tifffile 2025.3.13
tiktoken 0.9.0
timm 1.0.11
tinycss2 1.4.0
tldr 3.4.1
tokenizers 0.21.1
tomesd 0.1.3
toml 0.10.2
tomli 2.2.1
tomlkit 0.13.2
torch 2.6.0+cu126
torch-complex 0.4.4
torch-stoi 0.2.3
torchao 0.10.0
torchaudio 2.6.0+cu126
torchdiffeq 0.2.3
torchmetrics 1.7.0
torchsde 0.2.6
torchvision 0.21.0+cu126
tornado 6.5.1
tqdm 4.67.1
traitlets 5.14.3
trampoline 0.1.2
transaction 5.0
transformers 4.51.3
transformers-stream-generator 0.0.5
translationstring 1.4
transparent-background 1.3.3
trimesh 4.6.5
triton 3.2.0
trl 0.17.0
typer 0.15.3
typer-config 1.4.2
types-python-dateutil 2.9.0.20241206
typing_extensions 4.12.2
typing-inspection 0.4.0
tzdata 2025.2
ultralytics 8.3.96
ultralytics-thop 2.0.14
umap-learn 0.5.7
uritemplate 4.1.1
urllib3 1.26.20
uv 0.7.2
uvicorn 0.34.2
uvloop 0.21.0
velruse 1.1.1
venusian 3.1.1
vhacdx 0.0.8.post2
wasabi 1.1.3
watchdog 6.0.0
watchfiles 1.1.0
wcwidth 0.2.13
weasel 0.4.1
webencodings 0.5.1
WebOb 1.8.9
websocket-client 1.8.0
websockets 15.0.1
Werkzeug 3.1.3
wget 3.2
wheel 0.45.1
wrapt 1.17.2
WTForms 3.2.1
wtforms-recaptcha 0.3.2
xatlas 0.0.9
xformers 0.0.29.post3
xxhash 3.5.0
yacs 0.1.8
yapf 0.43.0
yarl 1.19.0
zhipuai 2.1.5.20250106
zhon 2.1.1
zipp 3.21.0
zmq 0.0.0
zope.deprecation 5.1
zope.interface 7.2
zope.sqlalchemy 3.1
zstandard 0.23.0
I had tested nunchaku v0.3.2.dev, v0.3.1,v0.3.0, v0.2.0 and so on ,found that this error occurs in all of them.