2024-07-25 13:06:58 +08:00
2024-07-19 00:20:40 +08:00
2024-07-17 20:58:36 +08:00
2024-07-17 20:58:36 +08:00
2024-07-10 02:19:27 +08:00
2024-07-20 00:36:22 +08:00
2024-07-25 03:41:00 +08:00
2024-07-10 02:19:27 +08:00
2024-07-14 11:16:31 +08:00
2024-07-10 02:17:42 +08:00
2024-07-25 03:41:00 +08:00
2024-07-14 17:39:42 +08:00
2024-07-14 16:55:22 +08:00
2024-07-11 12:43:21 +08:00
2024-07-25 13:06:58 +08:00

image

Recent changes

  • [2024-07-25] 修正sampling_settings,参数来自 scheduler_config.json,仅V2生效
  • [2024-07-21] 感谢来自yiwangsimple对Mac修复和测试的分支 https://github.com/yiwangsimple/ComfyUI-Kolors-MZ
  • [2024-07-21] 新增MZ_ChatGLM3TextEncodeAdvanceV2节点
  • [2024-07-18] IPA相关节点已在ComfyUI_IPAdapter_plus中支持
  • [2024-07-17] 新增支持IPAdapter_plus的加载器和高级应用节点 MZ_KolorsCLIPVisionLoader,MZ_IPAdapterModelLoaderKolors,MZ_IPAdapterAdvancedKolors
  • [2024-07-14] 删除自动兼容ControlNet, 新增MZ_KolorsControlNetPatch节点 image

ComfyUI上Kolors的实现

参考自 https://github.com/kijai/ComfyUI-KwaiKolorsWrapper

使用ComfyUI原生采样

工作流在examples/workflow.png中获取

UNET模型下载

unet模型放置在 models/unet/ 文件夹下

模型主页: https://huggingface.co/Kwai-Kolors/Kolors

下载地址: https://huggingface.co/Kwai-Kolors/Kolors/resolve/main/unet/diffusion_pytorch_model.fp16.safetensors

ChatGLM3模型下载

chatglm3放置在 models/LLM/ 文件夹下

模型主页: https://huggingface.co/Kijai/ChatGLM3-safetensors

下载地址: https://huggingface.co/Kijai/ChatGLM3-safetensors/resolve/main/chatglm3-fp16.safetensors

官方IP-Adapter-Plus模型下载地址

模型主页: https://huggingface.co/Kwai-Kolors/Kolors-IP-Adapter-Plus

https://huggingface.co/Kwai-Kolors/Kolors-IP-Adapter-Plus/resolve/main/ip_adapter_plus_general.bin 下载至 models/ipadapter/

https://huggingface.co/Kwai-Kolors/Kolors-IP-Adapter-Plus/resolve/main/image_encoder/pytorch_model.bin 下载至 models/clip_vision/

Implementation of Kolors on ComfyUI

Reference from https://github.com/kijai/ComfyUI-KwaiKolorsWrapper

Using ComfyUI Native Sampling

The workflow is obtained in examples/workflow.png

UNET model download

The unet model is placed in the models/unet/ folder

Model homepage: https://huggingface.co/Kwai-Kolors/Kolors

Download link: https://huggingface.co/Kwai-Kolors/Kolors/resolve/main/unet/diffusion_pytorch_model.fp16.safetensors

ChatGLM3 model download

The chatglm3 is placed in the models/LLM/ folder

Model homepage: https://huggingface.co/Kijai/ChatGLM3-safetensors

Download link: https://huggingface.co/Kijai/ChatGLM3-safetensors/resolve/main/chatglm3-fp16.safetensors

Model homepage: https://huggingface.co/Kwai-Kolors/Kolors-IP-Adapter-Plus

https://huggingface.co/Kwai-Kolors/Kolors-IP-Adapter-Plus/resolve/main/ip_adapter_plus_general.bin Download to models/ipadapter/

https://huggingface.co/Kwai-Kolors/Kolors-IP-Adapter-Plus/resolve/main/image_encoder/pytorch_model.bin Download to models/clip_vision/

FAQ

Mac用户无法使用(Mac users cannot use)

和IPAdapter有关的错误(Errors related to IPAdapter)

  • 确保ComfyUI本体和ComfyUI_IPAdapter_plus已经更新到最新版本(Make sure ComfyUI ontology and ComfyUI_IPAdapter_plus are updated to the latest version)

name 'round_up' is not defined

module 'comfy.model_detection' has no attribute 'unet_prefix_from_state_dict'

  • 更新ComfyUI本体到最新版本(Update ComfyUI ontology to the latest version)

RuntimeError: Only Tensors of floating point dtype can require gradients

Error occurred when executing MZ_ChatGLM3Loader: 'ChatGLMModel' object has no attribute 'transformer'

  • 检查ChatGLM3Loader节点选择的模型是否已经正确下载

Credits

Star History

Star History Chart

Contact

Stargazers

Stargazers repo roster for @MinusZoneAI/ComfyUI-Kolors-MZ

Sponsorship

S
Description
No description provided
Readme GPL-3.0
10 MiB
Languages
Python 100%