CLIP Name (GGUF)
A clean dropdown for your GGUF text encoders only
- clip_name
CLIPNameGGUF is the sibling of CLIPName with one meaningful difference: its dropdown only shows GGUF-quantized text encoders. That's it - same value-node pattern, same string out, but the list is filtered to .gguf files. It exists because of a quiet bit of engineering in the pack that most people never notice.
The mechanism that makes it work
ComfyUI doesn't ship a built-in "GGUF CLIP" folder. The lhyNodes pack adds one at load time: it registers custom folder keys (clip_gguf and, for its sibling, unet_gguf) that merge the existing text_encoders and clip folders and keep only files ending in .gguf. So CLIPNameGGUF shows you exactly your quantized text encoders - nothing else - and the dropdown stays readable even when models/text_encoders is stuffed with a hundred raw CLIP files.
This matters if you run Flux-class models on a card that can't hold the full stack. The GGUF story (per the KB's gguf panel): it's llama.cpp's quantized weight format, and city96's ComfyUI-GGUF pack brought it to diffusion as the default low-VRAM path. Q8 is "basically fp16 at half the size," and the whole point of quantized stacks is fitting bigger models on smaller cards. In a workflow that loads a GGUF UNet through UnetLoaderGGUF, using the matching GGUF CLIP keeps everything in one quantized ecosystem.
The output is the filename string, wired the usual way: convert the clip_name input on a CLIPLoaderGGUF-style node to an input, connect this node, and one dropdown controls it. Because the output is the pack's "any" type, it'll also feed text nodes and filename prefixes.
Inputs and outputs
clip_name- dropdown of only your.gguftext encoders.
One output: clip_name (*), the selected filename.
Installing it
Part of ComfyUI-lhyNodes:
- ComfyUI Manager → search
lhyNodes→ Install, restart. - Or manually:
cd ComfyUI/custom_nodes
git clone https://github.com/lihaoyun6/ComfyUI-lhyNodes.git
python -m pip install -r ComfyUI-lhyNodes/requirements.txt
Restart ComfyUI. You'll also want ComfyUI-GGUF (city96) installed for the actual GGUF loaders this name feeds into - the lhyNodes pack supplies the picker, not the loader.
Where people get burned
The obvious one: if you have no .gguf files in text_encoders or clip, the dropdown is empty and the node is useless - that's a "download a GGUF CLIP first" situation, not a bug. Also remember the folder-key trick only registers at pack load: drop a new GGUF in mid-session and you may need to reload the workflow (or restart) for it to appear. And the usual name-node caveat applies: it returns text, not a loaded model - pair it with an actual GGUF CLIP loader downstream.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| clip_name | COMBO | 0 options: |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| clip_name | * | — |