您好,我需要帮助,这个咋解决呢 #716
Unanswered
Humble1106
asked this question in
Q&A
Replies: 2 comments 2 replies
-
节点也没有,fix也没用,崩溃了,求助求助 |
Beta Was this translation helpful? Give feedback.
0 replies
-
解决了,更新一下ac就可以 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Traceback (most recent call last):
File "C:\ComfyUI-aki\ComfyUI-aki-v1.1\python\lib\site-packages\diffusers\utils\import_utils.py", line 920, in get_module
return importlib.import_module("." + module_name, self.name)
File "C:\ComfyUI-aki\ComfyUI-aki-v1.1\python\lib\importlib_init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\ComfyUI-aki\ComfyUI-aki-v1.1\python\lib\site-packages\diffusers\loaders\peft.py", line 38, in
from .lora_base import fetch_state_dict, func_optionally_disable_offloading
File "C:\ComfyUI-aki\ComfyUI-aki-v1.1\python\lib\site-packages\diffusers\loaders\lora_base.py", line 56, in
from peft.tuners.tuners_utils import BaseTunerLayer
File "C:\ComfyUI-aki\ComfyUI-aki-v1.1\python\lib\site-packages\peft_init.py", line 17, in
from .auto import (
File "C:\ComfyUI-aki\ComfyUI-aki-v1.1\python\lib\site-packages\peft\auto.py", line 31, in
from .config import PeftConfig
File "C:\ComfyUI-aki\ComfyUI-aki-v1.1\python\lib\site-packages\peft\config.py", line 24, in
from .utils import CONFIG_NAME, PeftType, TaskType
File "C:\ComfyUI-aki\ComfyUI-aki-v1.1\python\lib\site-packages\peft\utils_init.py", line 16, in
from .loftq_utils import replace_lora_weights_loftq
File "C:\ComfyUI-aki\ComfyUI-aki-v1.1\python\lib\site-packages\peft\utils\loftq_utils.py", line 25, in
from accelerate.utils.memory import clear_device_cache
ImportError: cannot import name 'clear_device_cache' from 'accelerate.utils.memory' (C:\ComfyUI-aki\ComfyUI-aki-v1.1\python\lib\site-packages\accelerate\utils\memory.py)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\ComfyUI-aki\ComfyUI-aki-v1.1\nodes.py", line 2141, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\ComfyUI-aki\ComfyUI-aki-v1.1\custom_nodes\comfyui-easy-use_init.py", line 15, in
importlib.import_module('.py.routes', name)
File "C:\ComfyUI-aki\ComfyUI-aki-v1.1\python\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 992, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1050, in _gcd_import
File "", line 1027, in find_and_load
File "", line 1006, in find_and_load_unlocked
File "", line 688, in load_unlocked
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\ComfyUI-aki\ComfyUI-aki-v1.1\custom_nodes\comfyui-easy-use\py_init.py", line 2, in
from .libs.sampler import easySampler
File "C:\ComfyUI-aki\ComfyUI-aki-v1.1\custom_nodes\comfyui-easy-use\py\libs\sampler.py", line 10, in
from ..modules.brushnet.model_patch import add_model_patch
File "C:\ComfyUI-aki\ComfyUI-aki-v1.1\custom_nodes\comfyui-easy-use\py\modules\brushnet_init.py", line 12, in
from .model import BrushNetModel, PowerPaintModel
File "C:\ComfyUI-aki\ComfyUI-aki-v1.1\custom_nodes\comfyui-easy-use\py\modules\brushnet\model.py", line 23, in
from diffusers.models.unets.unet_2d_condition import UNet2DConditionModel
File "C:\ComfyUI-aki\ComfyUI-aki-v1.1\python\lib\site-packages\diffusers\models\unets_init.py", line 6, in
from .unet_2d import UNet2DModel
File "C:\ComfyUI-aki\ComfyUI-aki-v1.1\python\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 "C:\ComfyUI-aki\ComfyUI-aki-v1.1\python\lib\site-packages\diffusers\models\unets\unet_2d_blocks.py", line 36, in
from ..transformers.dual_transformer_2d import DualTransformer2DModel
File "C:\ComfyUI-aki\ComfyUI-aki-v1.1\python\lib\site-packages\diffusers\models\transformers_init.py", line 6, in
from .cogvideox_transformer_3d import CogVideoXTransformer3DModel
File "C:\ComfyUI-aki\ComfyUI-aki-v1.1\python\lib\site-packages\diffusers\models\transformers\cogvideox_transformer_3d.py", line 22, in
from ...loaders import PeftAdapterMixin
File "", line 1075, in _handle_fromlist
File "C:\ComfyUI-aki\ComfyUI-aki-v1.1\python\lib\site-packages\diffusers\utils\import_utils.py", line 910, in getattr
module = self._get_module(self._class_to_module[name])
File "C:\ComfyUI-aki\ComfyUI-aki-v1.1\python\lib\site-packages\diffusers\utils\import_utils.py", line 922, in _get_module
raise RuntimeError(
RuntimeError: Failed to import diffusers.loaders.peft because of the following error (look up to see its traceback):
cannot import name 'clear_device_cache' from 'accelerate.utils.memory' (C:\ComfyUI-aki\ComfyUI-aki-v1.1\python\lib\site-packages\accelerate\utils\memory.py)
Beta Was this translation helpful? Give feedback.
All reactions