whatisgithub

What is comfyui-gguf?

city96/comfyui-gguf — explained in plain English

Analysis updated 2026-05-18

3,624PythonAudience · vibe coderComplexity · 3/5Setup · moderate

In one sentence

A ComfyUI add-on that lets you load quantized GGUF AI image models, shrinking VRAM needs on consumer GPUs.

Mindmap

mindmap
  root((ComfyUI GGUF))
    Problem solved
      Limited GPU VRAM
      Quantized model files
    Best fit
      Newer transformer models
      Flux style architectures
    Setup
      Clone into custom nodes
      Install one dependency
      Unet Loader GGUF node
    Extras
      T5 text encoder support
      Experimental LoRA loading
      Prequantized HuggingFace models

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Run large AI image models like Flux on a consumer GPU with limited VRAM.

USE CASE 2

Load pre-quantized GGUF models from HuggingFace instead of building them yourself.

USE CASE 3

Use a quantized T5 text encoder alongside GGUF or standard model formats.

USE CASE 4

Add a Unet Loader (GGUF) node to an existing ComfyUI image generation workflow.

What is it built with?

PythonComfyUIGGUFPyTorch

How does it compare?

city96/comfyui-ggufploomber/ploomberhkuds/paper2slides
Stars3,6243,6243,625
LanguagePythonPythonPython
Setup difficultymoderatemoderatemoderate
Complexity3/53/53/5
Audiencevibe coderdataresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires cloning into ComfyUI's custom_nodes folder and installing one Python dependency, LoRA support is experimental.

No license information is stated in the explanation.

So what is it?

ComfyUI-GGUF is an add-on for ComfyUI, a node-based interface for generating AI images. The add-on lets ComfyUI load AI models stored in a file format called GGUF, which originated from a project called llama.cpp and is designed for running large AI models on consumer hardware. The core problem this solves is VRAM. High-quality AI image generation models can be too large to fit on the graphics card memory of most consumer GPUs. GGUF files are quantized versions of those models, meaning the numbers inside them are stored at lower precision to shrink the file size and memory footprint. For some model types, specifically newer transformer-based image models like Flux, quantization works well without a major quality loss. Older models based on a different architecture (called conv2d or UNET) do not benefit as much from quantization, so this add-on is most useful for the newer model families. To use it, you clone the repository into the custom_nodes folder inside your ComfyUI installation and install one Python dependency. After that, a new loader node called "Unet Loader (GGUF)" becomes available in ComfyUI. You place your .gguf model files in the unet models folder and connect that loader into your workflow wherever you would normally load a diffusion model. The author also provides pre-quantized versions of several popular models on HuggingFace, so you do not need to create the GGUF files yourself. Support for loading a quantized version of the T5 text encoder is included as well, via separate loader nodes. These nodes accept both GGUF files and the standard safetensors or bin formats, so you can mix and match depending on what you have. The README notes that LoRA loading is experimental but functional, and that macOS users on Apple Silicon may need a specific version of the PyTorch library due to a buffer size bug in newer nightly builds. The project is described as a work in progress.

Copy-paste prompts

Prompt 1
Explain how to install ComfyUI-GGUF into my ComfyUI custom_nodes folder.
Prompt 2
Why does GGUF quantization work better for Flux than older UNET based models?
Prompt 3
Show me how to connect the Unet Loader (GGUF) node into a ComfyUI workflow.
Prompt 4
What PyTorch version do I need on Apple Silicon to avoid the buffer size bug?

Frequently asked questions

What is comfyui-gguf?

A ComfyUI add-on that lets you load quantized GGUF AI image models, shrinking VRAM needs on consumer GPUs.

What language is comfyui-gguf written in?

Mainly Python. The stack also includes Python, ComfyUI, GGUF.

What license does comfyui-gguf use?

No license information is stated in the explanation.

How hard is comfyui-gguf to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is comfyui-gguf for?

Mainly vibe coder.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.