[2024-08-02] Support faceid, add some related nodes, see examples/workflow_ipa_faceid.png for workflow
[2024-07-27] Added MZ_KolorsControlNetLoader node for loading the official ControlNet model
[2024-07-26] Added MZ_ApplySDXLSamplingSettings node for V2 version to return to SDXL scheduler configuration.
[2024-07-25] Corrected sampling_settings, parameters come from scheduler_config.json, only V2 takes effect
[2024-07-21] Thanks to the branch from yiwangsimple for Mac repair and testing https://github.com/yiwangsimple/ComfyUI-Kolors-MZ
[2024-07-21] Added MZ_ChatGLM3TextEncodeAdvanceV2 node
[2024-07-18] IPA related nodes have been supported in ComfyUI_IPAdapter_plus
[2024-07-17] Added new loaders and advanced application nodes that support IPAdapter_plus MZ_KolorsCLIPVisionLoader, MZ_IPAdapterModelLoaderKolors, MZ_IPAdapterAdvancedKolors
[2024-07-14] Delete automatic compatibility with ControlNet and add MZ_KolorsControlNetPatch node
Reference from https://github.com/kijai/ComfyUI-KwaiKolorsWrapper
Use ComfyUI native sampling
The workflow is obtained in examples/workflow.png
The unet model is placed under the models/unet/ folder
Model homepage: https://huggingface.co/Kwai-Kolors/Kolors
Download address: https://huggingface.co/Kwai-Kolors/Kolors/resolve/main/unet/diffusion_pytorch_model.fp16.safetensors
chatglm3 is placed under the models/LLM/ folder
Model homepage: https://huggingface.co/Kijai/ChatGLM3-safetensors
Download address: https://huggingface.co/Kijai/ChatGLM3-safetensors/resolve/main/chatglm3-fp16.safetensors
The faceid related nodes are already supported, and the IPAdapter implementation needs to update ComfyUI_IPAdapter_plus to the latest version.
https://github.com/cubiq/ComfyUI_IPAdapter_plus/blob/main/examples/ipadapter_kolors.json
https://github.com/cubiq/ComfyUI_IPAdapter_plus/blob/main/examples/IPAdapter_FaceIDv2_Kolors.json
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/
Model homepage: https://huggingface.co/Kwai-Kolors/Kolors-IP-Adapter-FaceID-Plus
https://huggingface.co/Kwai-Kolors/Kolors-IP-Adapter-FaceID-Plus/resolve/main/ipa-faceid-plus.bin Download to models/ipadapter/
https://huggingface.co/Kwai-Kolors/Kolors-IP-Adapter-FaceID-Plus/resolve/main/clip-vit-large-patch14-336/pytorch_model.bin Download to models/clip_vision/
https://huggingface.co/MonsterMMORPG/tools/resolve/main/antelopev2.zip Download and extract to models/insightface/models/antelopev2/*.onnx
Model homepage (Depth): https://huggingface.co/Kwai-Kolors/Kolors-ControlNet-Depth
Model homepage (Canny): https://huggingface.co/Kwai-Kolors/Kolors-ControlNet-Canny
Model homepage (Pose): https://huggingface.co/Kwai-Kolors/Kolors-ControlNet-Pose
Model homepage: https://huggingface.co/Kwai-Kolors/Kolors-Inpainting
https://huggingface.co/Kwai-Kolors/Kolors-Inpainting/resolve/main/unet/diffusion_pytorch_model.safetensors Download to models/unet/
Reference from https://github.com/kijai/ComfyUI-KwaiKolorsWrapper
Using ComfyUI Native Sampling
The workflow is obtained in examples/workflow.png
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
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
The faceid related nodes have been supported in it, and the IPAdapter implementation needs to update ComfyUI_IPAdapter_plus to the latest version
https://github.com/cubiq/ComfyUI_IPAdapter_plus/blob/main/examples/ipadapter_kolors.json
https://github.com/cubiq/ComfyUI_IPAdapter_plus/blob/main/examples/IPAdapter_FaceIDv2_Kolors.json
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/
Model homepage: https://huggingface.co/Kwai-Kolors/Kolors-IP-Adapter-FaceID-Plus
https://huggingface.co/Kwai-Kolors/Kolors-IP-Adapter-FaceID-Plus/resolve/main/ipa-faceid-plus.bin Download to models/ipadapter/
https://huggingface.co/Kwai-Kolors/Kolors-IP-Adapter-FaceID-Plus/resolve/main/clip-vit-large-patch14-336/pytorch_model.bin Download to models/clip_vision/
https://huggingface.co/MonsterMMORPG/tools/resolve/main/antelopev2.zip Download and unzip to models/insightface/models/antelopev2/*.onnx
Model homepage(Depth): https://huggingface.co/Kwai-Kolors/Kolors-ControlNet-Depth
Model homepage(Canny): https://huggingface.co/Kwai-Kolors/Kolors-ControlNet-Canny
Model homepage(Pose): https://huggingface.co/Kwai-Kolors/Kolors-ControlNet-Pose
Model homepage: https://huggingface.co/Kwai-Kolors/Kolors-Inpainting
https://huggingface.co/Kwai-Kolors/Kolors-Inpainting/resolve/main/unet/diffusion_pytorch_model.safetensors Download to models/unet/
Test workflow comes from examples/workflow_same_seed_test.png
The test workflow comes from examples/workflow_same_seed_test.png
Error while loading model
Mac users cannot use (Mac users cannot use)
Errors related to IPAdapter
name 'round_up' is not defined
module 'comfy.model_detection' has no attribute 'unet_prefix_from_state_dict'
RuntimeError: Only Tensors of floating point dtype can require gradients
Error occurred when executing MZ_ChatGLM3Loader: 'ChatGLMModel' object has no attribute 'transformer'