Nodes/comfyui-ez-llm/Load LLM as CLIP
ComfyUI Node

Load LLM as CLIP

A ComfyUI node in LLM/text encoder with 7 inputs and 1 output.

By spawner1145·Created 12 months ago·Updated 5 months ago· 4
Load LLM as CLIP
    • clip
    model_folder
    system_promptYou are an assistant designed to generate high-quality images with the highest degree of image-text alignment based on textual prompts.
    devicecuda
    dtypeFP16
    target_hidden_size2304
    enable_weightstrue
    force_offloadtrue
    CategoryLLM/text encoder

    Inputs (7)

    NameTypeDefaultDescription
    model_folderCOMBO1 options: (请将模型放到 models/LLM 目录)
    system_promptSTRINGYou are an assistant designed to generate high-quality images with the highest degree of image-text alignment based on textual prompts.
    deviceCOMBOcuda3 options: auto, cpu, cuda
    dtypeCOMBOFP166 options: default, BF16, FP32, FP16, FP8_E4M3, FP8_E5M2
    target_hidden_sizeINT2304512–8192目标隐藏层大小。Gemma-2 2B=2304, Qwen-3=1024
    enable_weightsBOOLEANtrue启用权重功能:支持 (word:1.5) 语法和超长提示词自动分批
    force_offloadBOOLEANtrue强制模型在不使用时卸载到CPU,减少显存占用

    Outputs (1)

    NameTypeDescription
    clipCLIP