ComfyUI GLM-4 Wrapper

ComfyUI GLM-4 Wrapper. This powerful tool enhances your prompt engineering process by allowing users to easily construct detailed, high-quality prompts for image/video generation based on user image and/or user prompts.

How much VRAM does ComfyUI GLM-4 Wrapper require?

Direct Answer: The ComfyUI node ComfyUI GLM-4 Wrapper requires a minimum base VRAM of 4096MB and is optimized for GPUs with at least 8GB of VRAM. Low VRAM mode is not supported for this node.

Very High (4-8GB)
Base VRAM:
4096MB (4.0GB)
Recommended GPU:
8GB+ VRAM
Low VRAM Mode:
✗ Not supported
Estimation Confidence:
MEDIUM

Interactive VRAM Compatibility Estimator

Estimated Total VRAM: 3.00 GBTarget: 8 GB
✅ Comfortable Fit

Your GPU has plenty of headroom. You can run this node safely with your active configurations!

Deploy on High-Performance GPUs

Need more VRAM to run ComfyUI with this node? Rent low-cost, high-performance GPUs on Vast.ai instantly.

🚀 Deploy on Vast.ai

Deploy on Cloud GPUs

Need more VRAM to run ComfyUI with this node? Rent low-cost, high-performance cloud GPUs on RunPod instantly.

🚀 Deploy on RunPod

What Python packages are required for ComfyUI GLM-4 Wrapper?

Direct Answer: Running ComfyUI GLM-4 Wrapper requires installing the following Python package dependencies: accelerate>=0.33.0, bitsandbytes>=0.43.3, botocore>=1.35.10, einops>=0.8.0, huggingface-hub>=0.24.5, jinja2>=3.1.4, numpy==1.26.4, optimum>=1.22.0, pillow>=10.4.0, pydantic>=2.8.2, qwen-vl-utils, sentence_transformers>=3.0.1, sentencepiece>=0.2.0, sse-starlette>=2.1.3, tiktoken>=0.7.0, timm>=1.0.8, torch>=2.3.1, torchvision>=0.19.0. This node specifically requires PyTorch version 2.3.1 or newer.

requirements.txt
accelerate>=0.33.0
bitsandbytes>=0.43.3
botocore>=1.35.10
einops>=0.8.0
huggingface-hub>=0.24.5
jinja2>=3.1.4
numpy==1.26.4
optimum>=1.22.0
pillow>=10.4.0
pydantic>=2.8.2
qwen-vl-utils
sentence_transformers>=3.0.1
sentencepiece>=0.2.0
sse-starlette>=2.1.3
tiktoken>=0.7.0
timm>=1.0.8
torch>=2.3.1
torchvision>=0.19.0

Interactive Setup & Dependency Resolver

Operating System:
Environment Type:
Run this terminal command in your ComfyUI root folder:
# Loading command...

Special Environment Requirements:

Requires PyTorch version 2.3.1+.

To update PyTorch for your selected setup, run:
# Loading PyTorch command...

Frequently Asked Questions

How much VRAM does ComfyUI GLM-4 Wrapper require?

ComfyUI GLM-4 Wrapper requires a minimum of 4096MB (4.0GB) of VRAM for base operation. For optimal performance, a GPU with at least 8GB of VRAM is recommended. Low VRAM mode is not supported for this node.

Can I run ComfyUI GLM-4 Wrapper on an RTX 3060, RTX 4070, or RTX 4090?

✅ RTX 3060 (12GB): Yes, fully compatible with 6.8GB headroom. ✅ RTX 4070 (12GB): Yes, fully compatible with 6.8GB headroom. ✅ RTX 4070 Ti (16GB): Yes, fully compatible with 10.4GB headroom. ✅ RTX 4090 (24GB): Yes, fully compatible with 17.6GB headroom

What PyTorch version does ComfyUI GLM-4 Wrapper need?

ComfyUI GLM-4 Wrapper requires the following PyTorch-related packages: torch>=2.3.1, torchvision>=0.19.0. Ensure your ComfyUI environment has these installed. Ensure your PyTorch installation matches your CUDA version (use torch.version.cuda to check).

What Python packages are required for ComfyUI GLM-4 Wrapper?

To run ComfyUI GLM-4 Wrapper, you need to install: accelerate>=0.33.0, bitsandbytes>=0.43.3, botocore>=1.35.10, einops>=0.8.0, huggingface-hub>=0.24.5, jinja2>=3.1.4, numpy==1.26.4, optimum>=1.22.0, pillow>=10.4.0, pydantic>=2.8.2, qwen-vl-utils, sentence_transformers>=3.0.1, sentencepiece>=0.2.0, sse-starlette>=2.1.3, tiktoken>=0.7.0, timm>=1.0.8, torch>=2.3.1, torchvision>=0.19.0. You can install these using pip or add them to your requirements.txt file.

How do I install ComfyUI GLM-4 Wrapper in ComfyUI?

To install ComfyUI GLM-4 Wrapper: (1) Navigate to your ComfyUI/custom_nodes directory, (2) Clone the repository: git clone https://github.com/Nojahhh/ComfyUI_GLM4_Wrapper, (3) Install dependencies: pip install -r requirements.txt (if present), (4) Restart ComfyUI. Alternatively, use ComfyUI Manager for one-click installation.