Hi! I’m a bit new at using ComfyUI and currently learning. As I start ComfyUI I get this kind of error message as below, and according to what I read lately, it seems to be an issue of not having the right version of nunchaku versus torch and cuda? I must add that strangely I actually have a “portable” version of ComfyUI (installed with Easy-Install-ComfyUI) in Linux which seems to be rare. I don’t need to create a venv. Anyway this is the data I have to display. Do you need more info to decide the best setup? Thanks in advance.
[ERROR] Node `NunchakuQwenImageDiTLoader` import failed:
Traceback (most recent call last):
File "/home/xxxxxxx/Desktop/ComfyUI-Easy-Install/ComfyUI-Easy-Install/ComfyUI/custom_nodes/ComfyUI-nunchaku/__init__.py", line 89, in <module>
from .nodes.models.qwenimage import NunchakuQwenImageDiTLoader
File "/home/xxxxxxx/Desktop/ComfyUI-Easy-Install/ComfyUI-Easy-Install/ComfyUI/custom_nodes/ComfyUI-nunchaku/nodes/models/qwenimage.py", line 15, in <module>
from ...model_configs.qwenimage import NunchakuQwenImage
File "/home/xxxxxxx/Desktop/ComfyUI-Easy-Install/ComfyUI-Easy-Install/ComfyUI/custom_nodes/ComfyUI-nunchaku/model_configs/qwenimage.py", line 8, in <module>
from .. import model_base
File "/home/xxxxxxx/Desktop/ComfyUI-Easy-Install/ComfyUI-Easy-Install/ComfyUI/custom_nodes/ComfyUI-nunchaku/model_base/__init__.py", line 1, in <module>
from .qwenimage import NunchakuQwenImage
File "/home/xxxxxxx/Desktop/ComfyUI-Easy-Install/ComfyUI-Easy-Install/ComfyUI/custom_nodes/ComfyUI-nunchaku/model_base/qwenimage.py", line 12, in <module>
from ..models.qwenimage import NunchakuQwenImageTransformer2DModel
File "/home/xxxxxxx/Desktop/ComfyUI-Easy-Install/ComfyUI-Easy-Install/ComfyUI/custom_nodes/ComfyUI-nunchaku/models/qwenimage.py", line 20, in <module>
from comfy.ldm.qwen_image.model import (
ImportError: cannot import name 'apply_rotary_emb' from 'comfy.ldm.qwen_image.model' (/home/xxxxxxx/Desktop/ComfyUI-Easy-Install/ComfyUI-Easy-Install/ComfyUI/comfy/ldm/qwen_image/model.py)
[ERROR] Nodes `NunchakuPulidApply`,`NunchakuPulidLoader`, `NunchakuPuLIDLoaderV2` and `NunchakuFluxPuLIDApplyV2` import failed:
Traceback (most recent call last):
File "/home/xxxxxxx/Desktop/ComfyUI-Easy-Install/ComfyUI-Easy-Install/ComfyUI/custom_nodes/ComfyUI-nunchaku/__init__.py", line 119, in <module>
from .nodes.models.pulid import (
File "/home/xxxxxxx/Desktop/ComfyUI-Easy-Install/ComfyUI-Easy-Install/ComfyUI/custom_nodes/ComfyUI-nunchaku/nodes/models/pulid.py", line 20, in <module>
from nunchaku.pipeline.pipeline_flux_pulid import PuLIDPipeline
File "/home/xxxxxxx/Desktop/ComfyUI-Easy-Install/ComfyUI-Easy-Install/python_embeded/lib/python3.12/site-packages/nunchaku/pipeline/pipeline_flux_pulid.py", line 18, in <module>
import insightface
ModuleNotFoundError: No module named 'insightface'
======================================================
nunchaku 1.2.1+cu13.0torch2.9
torch 2.9.1+cu130
torch-stoi 0.2.3
torchaudio 2.9.1+cu130
torchsde 0.2.6
torchvision 0.24.1+cu130
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 595.71.05 Driver Version: 595.71.05 CUDA Version: 13.2 |
+-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 3050 ... Off | 00000000:01:00.0 Off | N/A |
| N/A 47C P8 7W / 80W | 163MiB / 4096MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+