打造使用comfyui过程中所遇各类问题[lbk]最强贴[rbk]
stablediffusion吧
全部回复
仅看楼主
level 9
alenh 楼主
每日分享
2025年05月09日 04点05分 16
level 1
Sizes of tensors must match except in dimension 1. Expected size 2048 but got size 4096 for tensor number 1 in the list.大佬求问这是什么情况
2025年05月18日 00点05分 18
更新comfy本体,重启
2025年05月18日 01点05分
@alenh 同时复核下模型使用是否正常,别混用
2025年05月18日 16点05分
level 1
大佬,跑出来的图颜色整体偏红,色彩很浓怎么解决?
2025年05月18日 04点05分 19
过拟合吧,贴图看参数
2025年05月18日 04点05分
level 1
Traceback (most recent call last):
File "I:\ComfyUI-aki-v1.4\python\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 73, in <module>
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed while importing _pywrap_tensorflow_internal: 动态链接库(DLL)初始化例程失败。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "I:\ComfyUI-aki-v1.4\nodes.py", line 2123, in load_custom_node
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "I:\ComfyUI-aki-v1.4\custom_nodes\was-node-suite-comfyui\__init__.py", line 1, in <module>
from .WAS_Node_Suite import NODE_CLASS_MAPPINGS
File "I:\ComfyUI-aki-v1.4\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 2412, in <module>
from transformers import BlipProcessor, BlipForConditionalGeneration, BlipForQuestionAnswering
File "I:\ComfyUI-aki-v1.4\python\lib\site-packages\transformers\utils\import_utils.py", line 2045, in __getattr__
module = self._get_module(self._class_to_module[name])
File "I:\ComfyUI-aki-v1.4\python\lib\site-packages\transformers\utils\import_utils.py", line 2075, in _get_module
raise e
File "I:\ComfyUI-aki-v1.4\python\lib\site-packages\transformers\utils\import_utils.py", line 2073, in _get_module
return importlib.import_module("." + module_name, self.__name__)
File "I:\ComfyUI-aki-v1.4\python\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "I:\ComfyUI-aki-v1.4\python\lib\site-packages\transformers\models\blip\processing_blip.py", line 22, in <module>
from ...processing_utils import ProcessingKwargs, ProcessorMixin, Unpack
File "I:\ComfyUI-aki-v1.4\python\lib\site-packages\transformers\processing_utils.py", line 37, in <module>
from .video_utils import VideoInput, load_video
File "I:\ComfyUI-aki-v1.4\python\lib\site-packages\transformers\video_utils.py", line 26, in <module>
from .image_transforms import PaddingMode, to_channel_dimension_format
File "I:\ComfyUI-aki-v1.4\python\lib\site-packages\transformers\image_transforms.py", line 47, in <module>
import tensorflow as tf
File "I:\ComfyUI-aki-v1.4\python\lib\site-packages\tensorflow\__init__.py", line 40, in <module>
from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow # pylint: disable=unused-import
File "I:\ComfyUI-aki-v1.4\python\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 88, in <module>
raise ImportError(
ImportError: Traceback (most recent call last):
File "I:\ComfyUI-aki-v1.4\python\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 73, in <module>
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed while importing _pywrap_tensorflow_internal: 动态链接库(DLL)初始化例程失败。
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors for some common causes and solutions.
If you need help, create an issue at https://github.com/tensorflow/tensorflow/issues and include the entire stack trace above this error message.
2025年06月02日 09点06分 20
was-node-suite-comfyui一直加载失败,有人知道原因吗,怎么解决
2025年06月02日 09点06分
@解戒师 秋叶还是原生,发完整的log文件我识别
2025年06月02日 10点06分
初步判断跟transformers版本有关,发完整log判断及其关联
2025年06月02日 13点06分
@alenh 报错都说TensorFlow有问题,我重装了好几次都没用,不知道怎么搞
2025年06月04日 15点06分
level 9
alenh 楼主
每日分享
2025年06月03日 17点06分 21
level 1
# ComfyUI Error Report#
# Error Details- **Node ID:** 7- **Node Type:** CLIPTextEncode- **Exception Type:** RuntimeError- **Exception Message:** ERROR: clip input is invalid: NoneIf the clip is from a checkpoint loader node your checkpoint does not contain a valid clip or text encoder model.## Stack Trace``` File "D:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 349, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 224, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 196, in _map_node_over_list process_inputs(input_dict, i) File "D:\ComfyUI-aki-v1.6\ComfyUI\execution.py", line 185, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI-aki-v1.6\ComfyUI\nodes.py", line 67, in encode raise RuntimeError("ERROR: clip input is invalid: None\n\nIf the clip is from a checkpoint loader node your checkpoint does not contain a valid clip or text encoder model.")```## System Information- **ComfyUI Version:** 0.3.39- **Arguments:** D:\ComfyUI-aki-v1.6\ComfyUI\main.py --auto-launch --preview-method auto --disable-cuda-malloc- **OS:** nt- **Python Version:** 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]- **Embedded Python:** false- **PyTorch Version:** 2.7.0+cu126## Devices- **Name:** cuda:0 NVIDIA GeForce RTX 3060 : cudaMallocAsync - **Type:** cuda - **VRAM Total:** 12884377600 - **VRAM Free:** 11793334272 - **Torch VRAM Total:** 0 - **Torch VRAM Free:** 0
看7楼说的是pytorch版本问题,但是不知如何解决,求操作方法。附目前的环境图
2025年06月04日 05点06分 22
看报错信息,貌似你模型使用有问题,截图看流
2025年06月04日 06点06分
@alenh 为了查原因lora这种都删掉了,就剩下基础流也报错。确实有些模型能正常跑,有些就不行,问题是会报错的模型还不少。比如flux1-dev-fp8.safetensors
2025年06月04日 06点06分
@lvmj1 发完整log进一步识别
2025年06月04日 06点06分
你强,私我发不就可以了
2025年06月04日 07点06分
level 8
大佬,你知道这是什么原因吗?跑wan2.1出的视频很大几率是黑色的,7900xtx用的pytorchversion:2.6.0,底模我用wan2.1_i2v_480p_14B_fp8_scaled和gguf的版本都试过了还是一样,其他设置参数都是默认的如图。
2025年06月04日 07点06分 24
teacache和enhance video先pypass
2025年06月04日 08点06分
另,核对下模型,comfy org官方模型与kijai模型不能混用
2025年06月04日 08点06分
回复 alenh :大佬,我解决了,是pytorch版本的问题退回2.51就好了
2025年06月05日 03点06分
@俞文超 那比较奇怪了,核心我认为不是torch版本问题
2025年06月05日 03点06分
level 1
完整log太长只能转图片发
2025年06月04日 07点06分 25
level 5
大佬,我更新了nunchaku3.0后变得特别卡,现在想回退,应该怎么样才能把环境也删掉重新安装呢
2025年06月06日 18点06分 26
卸载nunchaku依赖即可
2025年06月07日 00点06分
重新装之前的依赖版本
2025年06月07日 00点06分
@alenh 大佬,我现在的问题就是不会卸载依赖,依赖该如何卸载哇
2025年06月07日 01点06分
@牧沐木😄 pip uninstall 依赖名称,不懂就先看看相关文章哈
2025年06月07日 01点06分
level 9
alenh 楼主
每日分享
2025年06月12日 04点06分 27
level 9
alenh 楼主
每日分享
2025年06月13日 05点06分 28
level 9
alenh 楼主
每日分享
2025年06月20日 14点06分 29
这种倾斜的光线是怎么打出来的,是用了controlnet还是提示词生出来的
2025年06月21日 13点06分
@纯心灵电波 这图没有上cn,靠提词引导
2025年06月21日 13点06分
level 9
alenh 楼主
每日分享
2025年06月22日 13点06分 30
level 1
这是为什么啊,我打开就让我安装,然后点安装跳底下的失败,我已经安装了python最新版了,是因为虚拟化关掉了报错吗?
2025年07月06日 10点07分 31
虚拟环境创建/配置错误
2025年07月06日 11点07分
用的什么包
2025年07月06日 11点07分
首页 1 2 3 尾页