6 nodesgenerated

ComfyUI-GGUF

ComfyUI-GGUF adds GGUF quantized model loading to ComfyUI: UNet and advanced UNet loaders plus CLIP loaders for up to four encoders.

City@city96
GitHub

Repository overview

ComfyUI-GGUF adds support for model files stored in the GGUF format to ComfyUI. GGUF is the quantized container format popularized by llama.cpp, and this package lets ComfyUI load quantized diffusion models and quantized text encoders directly. The pinned source scan identifies 6 registered nodes: two UNet loaders and four CLIP loaders.

Quantization of transformer and DiT style diffusion models such as Flux has relatively little effect on output quality, which makes GGUF a practical way to run large models on GPUs with limited VRAM. Each node page below documents its inputs, widgets, outputs, and category, with a link back to the implementing source.

Key capabilities

  • Quantized diffusion model loading: UnetLoaderGGUF loads a GGUF checkpoint from the models/unet directory and returns a standard MODEL output, so it can replace the built-in "Load Diffusion Model" node in an existing workflow.
  • Dequantization controls: UnetLoaderGGUFAdvanced adds dequant_dtype, patch_dtype, and patch_on_device so you can trade precision against memory during dequantization and patching.
  • Quantized text encoders: CLIPLoaderGGUF, DualCLIPLoaderGGUF, TripleCLIPLoaderGGUF, and QuadrupleCLIPLoaderGGUF load one to four GGUF CLIP or T5 encoders and return a combined CLIP object in place of the standard CLIP loader nodes.
  • Lower VRAM footprint: GGUF files use fewer bits per weight than full precision checkpoints, which reduces both disk size and the memory needed to load the model.

Installation

Clone the repository into the ComfyUI custom_nodes directory and install its Python dependencies:

git clone https://github.com/city96/ComfyUI-GGUF
python -m pip install -r ComfyUI-GGUF/requirements.txt

Restart ComfyUI after installation. ComfyUI portable users should run the dependency command with the portable installation's embedded Python interpreter. ComfyUI must be recent enough to support custom ops when loading a UNET-only model.

Place GGUF diffusion models in models/unet and GGUF text encoders in models/clip so the loader dropdowns can find them. Pre-quantized Flux, SD3.5, and T5 builds are published under the city96 Hugging Face account, and the tools folder of the repository documents how to create your own quants.

Node categories

The latest scan contains 2 categories. The largest categories are:

  • Uncategorized: 4 nodes
  • bootleg: 2 nodes

Use the node directory on this page to search by node name, class, or category.

Notes

  • The "Force/Set CLIP Device" node sometimes shown in screenshots of GGUF workflows is not part of this package.
  • LoRA loading is experimental, but the built-in LoRA loader nodes generally work with GGUF models.
  • The CLIP loaders accept both quantized gguf files and regular safetensors or bin text encoders.

Source and version

This overview is generated from the pinned source checkout. Repository statistics and maintainer information are refreshed separately from GitHub.