Nodes Browser
ComfyDeploy: How ComfyUI_CogView4_Wrapper works in ComfyUI?
What is ComfyUI_CogView4_Wrapper?
The unofficial implementation of CogView4 project in ComfyUI.
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
ComfyUI_CogView4_Wrapper
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
ComfyUI_CogView4_Wrapper
The unofficial implementation of CogView4 project in ComfyUI.
Recommended to run on Nvidia GPU with VRAM of 16GB or more.
Install
Open the cmd window in the plugin directory of ComfyUI, like ComfyUI\custom_nodes
,type
git clone https://github.com/chflame163/ComfyUI_CogView4_Wrapper.git
Install dependency packages:
pip install -r ComfyUI_CogView4_Wrapper/requirements.txt
The model will be automatically downloaded to the ComfyUI/models/CogView/CogView4-6B
directory during the first run.
You can also manually download the model from huggingface.co/THUDM/CogView4-6B or BaiduNetdisk to the above directory.
Note
ComfyUI_CogView4_Wrapper requires the installation of the diffusers dependency package in dev version, which may affect certain plugins. Please be aware of backing up the environment.
statement
This nodes follows the MIT license, Some of its functional code comes from other open-source projects. Thanks to the original author. If used for commercial purposes, please refer to the original project license to authorization agreement.