Having issues installing nunchaku in Linux.
I've tried following a guide made by Chatgpt.
This are my errors:
ComfyUI-nunchaku version: 1.2.1
Could not parse nunchaku version: Package 'nunchaku' not found.. Please ensure you have at least v1.0.0.
Node `NunchakuFluxDiTLoader` import failed:
Traceback (most recent call last):
File "/home/kris/ComfyUI/ComfyUI/custom_nodes/ComfyUI-nunchaku/__init__.py", line 82, in <module>
from .nodes.models.flux import NunchakuFluxDiTLoader
File "/home/kris/ComfyUI/ComfyUI/custom_nodes/ComfyUI-nunchaku/nodes/models/flux.py", line 16, in <module>
from nunchaku import NunchakuFluxTransformer2dModel
ModuleNotFoundError: No module named 'nunchaku'
Node `NunchakuQwenImageDiTLoader` import failed:
Traceback (most recent call last):
File "/home/kris/ComfyUI/ComfyUI/custom_nodes/ComfyUI-nunchaku/__init__.py", line 89, in <module>
from .nodes.models.qwenimage import NunchakuQwenImageDiTLoader
File "/home/kris/ComfyUI/ComfyUI/custom_nodes/ComfyUI-nunchaku/nodes/models/qwenimage.py", line 13, in <module>
from nunchaku.utils import check_hardware_compatibility, get_gpu_memory, get_precision_from_quantization_config
ModuleNotFoundError: No module named 'nunchaku'
Nodes `NunchakuFluxLoraLoader` and `NunchakuFluxLoraStack` import failed:
Traceback (most recent call last):
File "/home/kris/ComfyUI/ComfyUI/custom_nodes/ComfyUI-nunchaku/__init__.py", line 96, in <module>
from .nodes.lora.flux import NunchakuFluxLoraLoader, NunchakuFluxLoraStack
File "/home/kris/ComfyUI/ComfyUI/custom_nodes/ComfyUI-nunchaku/nodes/lora/flux.py", line 9, in <module>
from nunchaku.lora.flux import to_diffusers
ModuleNotFoundError: No module named 'nunchaku'
Nodes `NunchakuTextEncoderLoader` and `NunchakuTextEncoderLoaderV2` import failed:
Traceback (most recent call last):
File "/home/kris/ComfyUI/ComfyUI/custom_nodes/ComfyUI-nunchaku/__init__.py", line 104, in <module>
from .nodes.models.text_encoder import NunchakuTextEncoderLoader, NunchakuTextEncoderLoaderV2
File "/home/kris/ComfyUI/ComfyUI/custom_nodes/ComfyUI-nunchaku/nodes/models/text_encoder.py", line 18, in <module>
from nunchaku import NunchakuT5EncoderModel
ModuleNotFoundError: No module named 'nunchaku'
Nodes `NunchakuPulidApply`,`NunchakuPulidLoader`, `NunchakuPuLIDLoaderV2` and `NunchakuFluxPuLIDApplyV2` import failed:
Traceback (most recent call last):
File "/home/kris/ComfyUI/ComfyUI/custom_nodes/ComfyUI-nunchaku/__init__.py", line 119, in <module>
from .nodes.models.pulid import (
File "/home/kris/ComfyUI/ComfyUI/custom_nodes/ComfyUI-nunchaku/nodes/models/pulid.py", line 19, in <module>
from nunchaku.models.pulid.pulid_forward import pulid_forward
ModuleNotFoundError: No module named 'nunchaku'
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
Nodes `NunchakuFluxIPAdapterApply` and `NunchakuIPAdapterLoader` import failed:
Traceback (most recent call last):
File "/home/kris/ComfyUI/ComfyUI/custom_nodes/ComfyUI-nunchaku/__init__.py", line 136, in <module>
from .nodes.models.ipadapter import NunchakuFluxIPAdapterApply, NunchakuIPAdapterLoader
File "/home/kris/ComfyUI/ComfyUI/custom_nodes/ComfyUI-nunchaku/nodes/models/ipadapter.py", line 14, in <module>
from nunchaku.models.ip_adapter.diffusers_adapters import apply_IPA_on_pipe
ModuleNotFoundError: No module named 'nunchaku'
Nodes `NunchakuZImageDiTLoader` import failed:
Traceback (most recent call last):
File "/home/kris/ComfyUI/ComfyUI/custom_nodes/ComfyUI-nunchaku/__init__.py", line 144, in <module>
from .nodes.models.zimage import NunchakuZImageDiTLoader
File "/home/kris/ComfyUI/ComfyUI/custom_nodes/ComfyUI-nunchaku/nodes/models/zimage.py", line 12, in <module>
from nunchaku.models.transformers.utils import convert_fp16, patch_scale_key
ModuleNotFoundError: No module named 'nunchaku'
Node `NunchakuModelMerger` import failed:
Traceback (most recent call last):
File "/home/kris/ComfyUI/ComfyUI/custom_nodes/ComfyUI-nunchaku/__init__.py", line 151, in <module>
from .nodes.tools.merge_safetensors import NunchakuModelMerger
File "/home/kris/ComfyUI/ComfyUI/custom_nodes/ComfyUI-nunchaku/nodes/tools/merge_safetensors.py", line 10, in <module>
from nunchaku.merge_safetensors import merge_safetensors