You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
comfyui-3d-pack still failed import ? please help #565
there nodes in red, is comfyui3dpack is not the same with hunyuan3d-2mv-turbo model? (hunyuan3d v2 shapegen, comfy3d multi background, comfy3d load hunyuan3d... , comfy3d hunyuan3d v2 paint...)
Error message occurred while importing the 'ComfyUI-3D-Pack' module.
Traceback (most recent call last):
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 853, in get_module
return importlib.import_module("." + module_name, self.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "importlib_init.py", line 90, in import_module
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in load_unlocked
File "", line 999, in exec_module
File "", line 488, in call_with_frames_removed
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\loaders\unet.py", line 46, in
from .lora_pipeline import LORA_WEIGHT_NAME, LORA_WEIGHT_NAME_SAFE, TEXT_ENCODER_NAME, UNET_NAME
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\loaders\lora_pipeline.py", line 36, in
from .lora_base import LoraBaseMixin
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\loaders\lora_base.py", line 47, in
from peft.tuners.tuners_utils import BaseTunerLayer
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\peft_init.py", line 17, in
from .auto import (
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\peft\auto.py", line 32, in
from .peft_model import (
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\peft\peft_model.py", line 37, in
from transformers import Cache, DynamicCache, EncoderDecoderCache, HybridCache, PreTrainedModel
ImportError: cannot import name 'HybridCache' from 'transformers' (E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\transformers_init.py)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 853, in get_module
return importlib.import_module("." + module_name, self.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "importlib_init.py", line 90, in import_module
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1310, in _find_and_load_unlocked
File "", line 488, in _call_with_frames_removed
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in find_and_load_unlocked
File "", line 935, in load_unlocked
File "", line 999, in exec_module
File "", line 488, in call_with_frames_removed
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\models\autoencoders_init.py", line 1, in
from .autoencoder_asym_kl import AsymmetricAutoencoderKL
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\models\autoencoders\autoencoder_asym_kl.py", line 23, in
from .vae import DecoderOutput, DiagonalGaussianDistribution, Encoder, MaskConditionDecoder
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\models\autoencoders\vae.py", line 25, in
from ..unets.unet_2d_blocks import (
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\models\unets_init.py", line 6, in
from .unet_2d import UNet2DModel
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\models\unets\unet_2d.py", line 24, in
from .unet_2d_blocks import UNetMidBlock2D, get_down_block, get_up_block
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\models\unets\unet_2d_blocks.py", line 36, in
from ..transformers.dual_transformer_2d import DualTransformer2DModel
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\models\transformers_init.py", line 13, in
from .prior_transformer import PriorTransformer
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\models\transformers\prior_transformer.py", line 9, in
from ...loaders import PeftAdapterMixin, UNet2DConditionLoadersMixin
File "", line 1412, in _handle_fromlist
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 843, in getattr
module = self._get_module(self._class_to_module[name])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 855, in get_module
raise RuntimeError(
RuntimeError: Failed to import diffusers.loaders.unet because of the following error (look up to see its traceback):
cannot import name 'HybridCache' from 'transformers' (E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\transformers_init.py)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 853, in get_module
return importlib.import_module("." + module_name, self.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "importlib_init.py", line 90, in import_module
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 999, in exec_module
File "", line 488, in _call_with_frames_removed
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\pipelines\pipeline_utils.py", line 44, in
from ..models import AutoencoderKL
File "", line 1412, in _handle_fromlist
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 843, in getattr
module = self._get_module(self._class_to_module[name])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 855, in get_module
raise RuntimeError(
RuntimeError: Failed to import diffusers.models.autoencoders.autoencoder_kl because of the following error (look up to see its traceback):
Failed to import diffusers.loaders.unet because of the following error (look up to see its traceback):
cannot import name 'HybridCache' from 'transformers' (E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\transformers_init.py)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "E:\Programs\ComfyUI3D\ComfyUI\nodes.py", line 2227, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 999, in exec_module
File "", line 488, in call_with_frames_removed
File "E:\Programs\ComfyUI3D\ComfyUI\custom_nodes\ComfyUI-3D-Pack_init.py", line 54, in
module = importlib.import_module(f".{nodes_filename}", package=name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "importlib_init_.py", line 90, in import_module
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 999, in exec_module
File "", line 488, in _call_with_frames_removed
File "E:\Programs\ComfyUI3D\ComfyUI\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 19, in
from diffusers import (
File "", line 1412, in _handle_fromlist
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 844, in getattr
value = getattr(module, name)
^^^^^^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 843, in getattr
module = self._get_module(self._class_to_module[name])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 855, in get_module
raise RuntimeError(
RuntimeError: Failed to import diffusers.pipelines.pipeline_utils because of the following error (look up to see its traceback):
Failed to import diffusers.models.autoencoders.autoencoder_kl because of the following error (look up to see its traceback):
Failed to import diffusers.loaders.unet because of the following error (look up to see its traceback):
cannot import name 'HybridCache' from 'transformers' (E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\transformers_init.py)
@DenisKochetov install through good,
still failed import,
Error message occurred while importing the 'ComfyUI-3D-Pack' module.
Traceback (most recent call last):
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 853, in get_module
return importlib.import_module("." + module_name, self.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "importlib_init.py", line 90, in import_module
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1310, in _find_and_load_unlocked
File "", line 488, in _call_with_frames_removed
File "", line 1387, in gcd_import
File "", line 1360, in find_and_load
File "", line 1331, in find_and_load_unlocked
File "", line 935, in load_unlocked
File "", line 999, in exec_module
File "", line 488, in call_with_frames_removed
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\models\autoencoders_init.py", line 1, in
from .autoencoder_asym_kl import AsymmetricAutoencoderKL
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\models\autoencoders\autoencoder_asym_kl.py", line 22, in
from ..modeling_utils import ModelMixin
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\models\modeling_utils.py", line 35, in
from ..quantizers import DiffusersAutoQuantizer, DiffusersQuantizer
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\quantizers_init.py", line 15, in
from .auto import DiffusersAutoQuantizer
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\quantizers\auto.py", line 21, in
from .bitsandbytes import BnB4BitDiffusersQuantizer, BnB8BitDiffusersQuantizer
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\quantizers\bitsandbytes_init.py", line 2, in
from .utils import dequantize_and_replace, dequantize_bnb_weight, replace_with_bnb_linear
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\quantizers\bitsandbytes\utils.py", line 32, in
import bitsandbytes as bnb
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\bitsandbytes_init.py", line 20, in
from .nn import modules
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\bitsandbytes\nn_init.py", line 21, in
from .triton_based_modules import (
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\bitsandbytes\nn\triton_based_modules.py", line 6, in
from bitsandbytes.triton.dequantize_rowwise import dequantize_rowwise
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\bitsandbytes\triton\dequantize_rowwise.py", line 18, in
@triton.autotune(
^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\runtime\autotuner.py", line 378, in decorator
return Autotuner(fn, fn.arg_names, configs, key, reset_to_zero, restore_value, pre_hook=pre_hook,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\runtime\autotuner.py", line 130, in init
self.do_bench = driver.active.get_benchmarker()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\runtime\driver.py", line 23, in getattr
self._initialize_obj()
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\runtime\driver.py", line 20, in _initialize_obj
self._obj = self._init_fn()
^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\runtime\driver.py", line 9, in _create_driver
return actives0
^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\backends\nvidia\driver.py", line 580, in init
self.utils = CudaUtils() # TODO: make static
^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\backends\nvidia\driver.py", line 101, in init
mod = compile_module_from_src(Path(os.path.join(dirname, "driver.c")).read_text(), "cuda_utils")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\backends\nvidia\driver.py", line 74, in compile_module_from_src
so = _build(name, src_path, tmpdir, library_dirs(), include_dir, libraries)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\runtime\build.py", line 100, in _build
raise e
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\runtime\build.py", line 97, in _build
ret = subprocess.check_call(cc_cmd)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "subprocess.py", line 413, in check_call
subprocess.CalledProcessError: Command '['E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\runtime\tcc\tcc.exe', 'C:\Users\541(N)~1\AppData\Local\Temp\tmp2lab785m\cuda_utils.c', '-O3', '-shared', '-Wno-psabi', '-o', 'C:\Users\541(N)~1\AppData\Local\Temp\tmp2lab785m\cuda_utils.cp312-win_amd64.pyd', '-fPIC', '-lcuda', '-lpython3', '-LE:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\backends\nvidia\lib', '-LC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\lib\x64', '-LE:\Programs\ComfyUI3D\python_embeded\libs', '-IE:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\backends\nvidia\include', '-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\include', '-IC:\Users\541(N)~1\AppData\Local\Temp\tmp2lab785m', '-IE:\Programs\ComfyUI3D\python_embeded\Include']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 853, in get_module
return importlib.import_module("." + module_name, self.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "importlib_init.py", line 90, in import_module
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 999, in exec_module
File "", line 488, in _call_with_frames_removed
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\pipelines\pipeline_utils.py", line 44, in
from ..models import AutoencoderKL
File "", line 1412, in _handle_fromlist
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 843, in getattr
module = self._get_module(self._class_to_module[name])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 855, in _get_module
raise RuntimeError(
RuntimeError: Failed to import diffusers.models.autoencoders.autoencoder_kl because of the following error (look up to see its traceback):
Command '['E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\runtime\tcc\tcc.exe', 'C:\Users\541(N)~1\AppData\Local\Temp\tmp2lab785m\cuda_utils.c', '-O3', '-shared', '-Wno-psabi', '-o', 'C:\Users\541(N)~1\AppData\Local\Temp\tmp2lab785m\cuda_utils.cp312-win_amd64.pyd', '-fPIC', '-lcuda', '-lpython3', '-LE:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\backends\nvidia\lib', '-LC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\lib\x64', '-LE:\Programs\ComfyUI3D\python_embeded\libs', '-IE:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\backends\nvidia\include', '-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\include', '-IC:\Users\541(N)~1\AppData\Local\Temp\tmp2lab785m', '-IE:\Programs\ComfyUI3D\python_embeded\Include']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "E:\Programs\ComfyUI3D\ComfyUI\nodes.py", line 2227, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 999, in exec_module
File "", line 488, in call_with_frames_removed
File "E:\Programs\ComfyUI3D\ComfyUI\custom_nodes\ComfyUI-3D-Pack_init.py", line 53, in
module = importlib.import_module(f".{nodes_filename}", package=name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "importlib_init_.py", line 90, in import_module
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 999, in exec_module
File "", line 488, in _call_with_frames_removed
File "E:\Programs\ComfyUI3D\ComfyUI\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 19, in
from diffusers import (
File "", line 1412, in _handle_fromlist
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 844, in getattr
value = getattr(module, name)
^^^^^^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 843, in getattr
module = self._get_module(self._class_to_module[name])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 855, in _get_module
raise RuntimeError(
RuntimeError: Failed to import diffusers.pipelines.pipeline_utils because of the following error (look up to see its traceback):
Failed to import diffusers.models.autoencoders.autoencoder_kl because of the following error (look up to see its traceback):
Command '['E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\runtime\tcc\tcc.exe', 'C:\Users\541(N)~1\AppData\Local\Temp\tmp2lab785m\cuda_utils.c', '-O3', '-shared', '-Wno-psabi', '-o', 'C:\Users\541(N)~1\AppData\Local\Temp\tmp2lab785m\cuda_utils.cp312-win_amd64.pyd', '-fPIC', '-lcuda', '-lpython3', '-LE:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\backends\nvidia\lib', '-LC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\lib\x64', '-LE:\Programs\ComfyUI3D\python_embeded\libs', '-IE:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\backends\nvidia\include', '-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\include', '-IC:\Users\541(N)~1\AppData\Local\Temp\tmp2lab785m', '-IE:\Programs\ComfyUI3D\python_embeded\Include']' returned non-zero exit status 1.
thanks @DenisKochetov , I have add some new nodes, and models,,,, I will still install triton also hope it still help too
everytime we have new nodes, or model,, what should we do to have update to stable , need create new wheel ; dependencies ? what we do ? sorry I am new just ever heard about this not sure what it calls exactly ,, thanks
Activity
masaomo commentedon Apr 1, 2026
also try load hunyuan3d_v2_mv_turbo
there nodes in red, is comfyui3dpack is not the same with hunyuan3d-2mv-turbo model? (hunyuan3d v2 shapegen, comfy3d multi background, comfy3d load hunyuan3d... , comfy3d hunyuan3d v2 paint...)
I am new just install done through,
DenisKochetov commentedon Apr 2, 2026
@masaomo could you please send me logs of your errors and screenshots maybe
masaomo commentedon Apr 2, 2026
@DenisKochetov , here please
Error message occurred while importing the 'ComfyUI-3D-Pack' module.
Traceback (most recent call last):
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 853, in get_module
return importlib.import_module("." + module_name, self.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "importlib_init.py", line 90, in import_module
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in load_unlocked
File "", line 999, in exec_module
File "", line 488, in call_with_frames_removed
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\loaders\unet.py", line 46, in
from .lora_pipeline import LORA_WEIGHT_NAME, LORA_WEIGHT_NAME_SAFE, TEXT_ENCODER_NAME, UNET_NAME
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\loaders\lora_pipeline.py", line 36, in
from .lora_base import LoraBaseMixin
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\loaders\lora_base.py", line 47, in
from peft.tuners.tuners_utils import BaseTunerLayer
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\peft_init.py", line 17, in
from .auto import (
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\peft\auto.py", line 32, in
from .peft_model import (
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\peft\peft_model.py", line 37, in
from transformers import Cache, DynamicCache, EncoderDecoderCache, HybridCache, PreTrainedModel
ImportError: cannot import name 'HybridCache' from 'transformers' (E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\transformers_init.py)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 853, in get_module
return importlib.import_module("." + module_name, self.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "importlib_init.py", line 90, in import_module
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1310, in _find_and_load_unlocked
File "", line 488, in _call_with_frames_removed
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in find_and_load_unlocked
File "", line 935, in load_unlocked
File "", line 999, in exec_module
File "", line 488, in call_with_frames_removed
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\models\autoencoders_init.py", line 1, in
from .autoencoder_asym_kl import AsymmetricAutoencoderKL
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\models\autoencoders\autoencoder_asym_kl.py", line 23, in
from .vae import DecoderOutput, DiagonalGaussianDistribution, Encoder, MaskConditionDecoder
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\models\autoencoders\vae.py", line 25, in
from ..unets.unet_2d_blocks import (
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\models\unets_init.py", line 6, in
from .unet_2d import UNet2DModel
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\models\unets\unet_2d.py", line 24, in
from .unet_2d_blocks import UNetMidBlock2D, get_down_block, get_up_block
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\models\unets\unet_2d_blocks.py", line 36, in
from ..transformers.dual_transformer_2d import DualTransformer2DModel
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\models\transformers_init.py", line 13, in
from .prior_transformer import PriorTransformer
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\models\transformers\prior_transformer.py", line 9, in
from ...loaders import PeftAdapterMixin, UNet2DConditionLoadersMixin
File "", line 1412, in _handle_fromlist
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 843, in getattr
module = self._get_module(self._class_to_module[name])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 855, in get_module
raise RuntimeError(
RuntimeError: Failed to import diffusers.loaders.unet because of the following error (look up to see its traceback):
cannot import name 'HybridCache' from 'transformers' (E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\transformers_init.py)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 853, in get_module
return importlib.import_module("." + module_name, self.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "importlib_init.py", line 90, in import_module
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 999, in exec_module
File "", line 488, in _call_with_frames_removed
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\pipelines\pipeline_utils.py", line 44, in
from ..models import AutoencoderKL
File "", line 1412, in _handle_fromlist
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 843, in getattr
module = self._get_module(self._class_to_module[name])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 855, in get_module
raise RuntimeError(
RuntimeError: Failed to import diffusers.models.autoencoders.autoencoder_kl because of the following error (look up to see its traceback):
Failed to import diffusers.loaders.unet because of the following error (look up to see its traceback):
cannot import name 'HybridCache' from 'transformers' (E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\transformers_init.py)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "E:\Programs\ComfyUI3D\ComfyUI\nodes.py", line 2227, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 999, in exec_module
File "", line 488, in call_with_frames_removed
File "E:\Programs\ComfyUI3D\ComfyUI\custom_nodes\ComfyUI-3D-Pack_init.py", line 54, in
module = importlib.import_module(f".{nodes_filename}", package=name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "importlib_init_.py", line 90, in import_module
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 999, in exec_module
File "", line 488, in _call_with_frames_removed
File "E:\Programs\ComfyUI3D\ComfyUI\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 19, in
from diffusers import (
File "", line 1412, in _handle_fromlist
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 844, in getattr
value = getattr(module, name)
^^^^^^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 843, in getattr
module = self._get_module(self._class_to_module[name])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 855, in get_module
raise RuntimeError(
RuntimeError: Failed to import diffusers.pipelines.pipeline_utils because of the following error (look up to see its traceback):
Failed to import diffusers.models.autoencoders.autoencoder_kl because of the following error (look up to see its traceback):
Failed to import diffusers.loaders.unet because of the following error (look up to see its traceback):
cannot import name 'HybridCache' from 'transformers' (E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\transformers_init.py)
DenisKochetov commentedon Apr 2, 2026
@masaomo
You’re hitting a version conflict between peft and transformers.
Please switch to the dev branch — we’ve pinned compatible versions there.
Then reinstall deps:
That should fix it 👍
masaomo commentedon Apr 2, 2026
@DenisKochetov install through good,
still failed import,
Error message occurred while importing the 'ComfyUI-3D-Pack' module.
Traceback (most recent call last):
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 853, in get_module
return importlib.import_module("." + module_name, self.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "importlib_init.py", line 90, in import_module
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1310, in _find_and_load_unlocked
File "", line 488, in _call_with_frames_removed
File "", line 1387, in gcd_import
File "", line 1360, in find_and_load
File "", line 1331, in find_and_load_unlocked
File "", line 935, in load_unlocked
File "", line 999, in exec_module
File "", line 488, in call_with_frames_removed
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\models\autoencoders_init.py", line 1, in
from .autoencoder_asym_kl import AsymmetricAutoencoderKL
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\models\autoencoders\autoencoder_asym_kl.py", line 22, in
from ..modeling_utils import ModelMixin
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\models\modeling_utils.py", line 35, in
from ..quantizers import DiffusersAutoQuantizer, DiffusersQuantizer
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\quantizers_init.py", line 15, in
from .auto import DiffusersAutoQuantizer
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\quantizers\auto.py", line 21, in
from .bitsandbytes import BnB4BitDiffusersQuantizer, BnB8BitDiffusersQuantizer
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\quantizers\bitsandbytes_init.py", line 2, in
from .utils import dequantize_and_replace, dequantize_bnb_weight, replace_with_bnb_linear
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\quantizers\bitsandbytes\utils.py", line 32, in
import bitsandbytes as bnb
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\bitsandbytes_init.py", line 20, in
from .nn import modules
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\bitsandbytes\nn_init.py", line 21, in
from .triton_based_modules import (
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\bitsandbytes\nn\triton_based_modules.py", line 6, in
from bitsandbytes.triton.dequantize_rowwise import dequantize_rowwise
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\bitsandbytes\triton\dequantize_rowwise.py", line 18, in
@triton.autotune(
^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\runtime\autotuner.py", line 378, in decorator
return Autotuner(fn, fn.arg_names, configs, key, reset_to_zero, restore_value, pre_hook=pre_hook,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\runtime\autotuner.py", line 130, in init
self.do_bench = driver.active.get_benchmarker()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\runtime\driver.py", line 23, in getattr
self._initialize_obj()
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\runtime\driver.py", line 20, in _initialize_obj
self._obj = self._init_fn()
^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\runtime\driver.py", line 9, in _create_driver
return actives0
^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\backends\nvidia\driver.py", line 580, in init
self.utils = CudaUtils() # TODO: make static
^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\backends\nvidia\driver.py", line 101, in init
mod = compile_module_from_src(Path(os.path.join(dirname, "driver.c")).read_text(), "cuda_utils")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\backends\nvidia\driver.py", line 74, in compile_module_from_src
so = _build(name, src_path, tmpdir, library_dirs(), include_dir, libraries)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\runtime\build.py", line 100, in _build
raise e
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\runtime\build.py", line 97, in _build
ret = subprocess.check_call(cc_cmd)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "subprocess.py", line 413, in check_call
subprocess.CalledProcessError: Command '['E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\runtime\tcc\tcc.exe', 'C:\Users\541(N)~1\AppData\Local\Temp\tmp2lab785m\cuda_utils.c', '-O3', '-shared', '-Wno-psabi', '-o', 'C:\Users\541(N)~1\AppData\Local\Temp\tmp2lab785m\cuda_utils.cp312-win_amd64.pyd', '-fPIC', '-lcuda', '-lpython3', '-LE:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\backends\nvidia\lib', '-LC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\lib\x64', '-LE:\Programs\ComfyUI3D\python_embeded\libs', '-IE:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\backends\nvidia\include', '-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\include', '-IC:\Users\541(N)~1\AppData\Local\Temp\tmp2lab785m', '-IE:\Programs\ComfyUI3D\python_embeded\Include']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 853, in get_module
return importlib.import_module("." + module_name, self.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "importlib_init.py", line 90, in import_module
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 999, in exec_module
File "", line 488, in _call_with_frames_removed
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\pipelines\pipeline_utils.py", line 44, in
from ..models import AutoencoderKL
File "", line 1412, in _handle_fromlist
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 843, in getattr
module = self._get_module(self._class_to_module[name])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 855, in _get_module
raise RuntimeError(
RuntimeError: Failed to import diffusers.models.autoencoders.autoencoder_kl because of the following error (look up to see its traceback):
Command '['E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\runtime\tcc\tcc.exe', 'C:\Users\541(N)~1\AppData\Local\Temp\tmp2lab785m\cuda_utils.c', '-O3', '-shared', '-Wno-psabi', '-o', 'C:\Users\541(N)~1\AppData\Local\Temp\tmp2lab785m\cuda_utils.cp312-win_amd64.pyd', '-fPIC', '-lcuda', '-lpython3', '-LE:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\backends\nvidia\lib', '-LC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\lib\x64', '-LE:\Programs\ComfyUI3D\python_embeded\libs', '-IE:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\backends\nvidia\include', '-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\include', '-IC:\Users\541(N)~1\AppData\Local\Temp\tmp2lab785m', '-IE:\Programs\ComfyUI3D\python_embeded\Include']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "E:\Programs\ComfyUI3D\ComfyUI\nodes.py", line 2227, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 999, in exec_module
File "", line 488, in call_with_frames_removed
File "E:\Programs\ComfyUI3D\ComfyUI\custom_nodes\ComfyUI-3D-Pack_init.py", line 53, in
module = importlib.import_module(f".{nodes_filename}", package=name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "importlib_init_.py", line 90, in import_module
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 999, in exec_module
File "", line 488, in _call_with_frames_removed
File "E:\Programs\ComfyUI3D\ComfyUI\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 19, in
from diffusers import (
File "", line 1412, in _handle_fromlist
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 844, in getattr
value = getattr(module, name)
^^^^^^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 843, in getattr
module = self._get_module(self._class_to_module[name])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 855, in _get_module
raise RuntimeError(
RuntimeError: Failed to import diffusers.pipelines.pipeline_utils because of the following error (look up to see its traceback):
Failed to import diffusers.models.autoencoders.autoencoder_kl because of the following error (look up to see its traceback):
Command '['E:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\runtime\tcc\tcc.exe', 'C:\Users\541(N)~1\AppData\Local\Temp\tmp2lab785m\cuda_utils.c', '-O3', '-shared', '-Wno-psabi', '-o', 'C:\Users\541(N)~1\AppData\Local\Temp\tmp2lab785m\cuda_utils.cp312-win_amd64.pyd', '-fPIC', '-lcuda', '-lpython3', '-LE:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\backends\nvidia\lib', '-LC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\lib\x64', '-LE:\Programs\ComfyUI3D\python_embeded\libs', '-IE:\Programs\ComfyUI3D\python_embeded\Lib\site-packages\triton\backends\nvidia\include', '-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\include', '-IC:\Users\541(N)~1\AppData\Local\Temp\tmp2lab785m', '-IE:\Programs\ComfyUI3D\python_embeded\Include']' returned non-zero exit status 1.
DenisKochetov commentedon Apr 2, 2026
@masaomo try
Or
https://files.pythonhosted.org/packages/62/1e/8d9814e67ba3f20094cf3c69e7815a491f20beb86469a647550ba86728b0/triton_windows-3.6.0.post26-cp312-cp312-win_amd64.whl
masaomo commentedon Apr 4, 2026
thanks @DenisKochetov , I have add some new nodes, and models,,,, I will still install triton also hope it still help too
everytime we have new nodes, or model,, what should we do to have update to stable , need create new wheel ; dependencies ? what we do ? sorry I am new just ever heard about this not sure what it calls exactly ,, thanks