Skip to content

VersusGPU

Nunchaku vs GGUF in ComfyUI: Which 4-Bit Route for FLUX?

Nunchaku and GGUF both shrink big image models like FLUX to fit in less VRAM in ComfyUI. We compare how they work, GPU support, model choice, installs and what ComfyUI's own maintainers now recommend.

By , Senior Hardware Editor

5 min read

Nunchaku vs GGUF in ComfyUI: Which 4-Bit Route for FLUX?

It's based on the projects' GitHub pages, documentation and Hugging Face model listings, read on 2 December 2026. Performance claims are the developers' own.

If a full-size FLUX.1-dev won't fit in your graphics card's memory, the two best-known ways to shrink it in ComfyUI are GGUF files loaded with city96's ComfyUI-GGUF nodes, and Nunchaku's SVDQuant 4-bit models loaded with the ComfyUI-nunchaku plugin. They solve the same problem in very different ways.

The short version

Nunchaku (ComfyUI-nunchaku)

GGUF (ComfyUI-GGUF)

What it is

Inference engine for 4-bit models quantised with SVDQuant

Custom nodes that load GGUF-format model files

Licence

Apache-2.0

Apache-2.0

What's quantised

Weights and activations (W4A4), with a 16-bit low-rank branch

Model weights, at a range of bits per weight

Precision choices

INT4 (RTX 20 to 40-series) or FP4 (RTX 50-series)

For FLUX.1-dev: Q2_K up to Q8_0, plus F16

GPU support

NVIDIA only (Turing, Ampere, Ada, Blackwell)

Not tied to a GPU brand in its README (includes macOS notes)

Models

Pre-quantised releases from the Nunchaku team: FLUX.1 variants, Qwen-Image and Qwen-Image-Edit, Z-Image-Turbo and more

Any model someone has converted to GGUF; tools to make your own

Install

Plugin plus a backend wheel matched to your Python, PyTorch and CUDA

Clone the nodes and pip install gguf

Latest activity seen

Stable v1.2.1, January 2026; repo last pushed September 2026

Repo last pushed January 2026

How they work

GGUF is the file format made popular by llama.cpp for language models (see our GGUF vs safetensors explainer). The ComfyUI-GGUF README explains that quantisation didn't suit older convolution-based UNET image models, but transformer (DiT) models such as FLUX "seem less affected by quantization", so they can run at much lower bits per weight on low-end GPUs. The weights are stored in compact form. In ComfyUI you swap the stock Load Diffusion Model node for Unet Loader (GGUF) and put the .gguf file in models/unet. There are also GGUF loaders for the T5 text encoder to save more VRAM.

Nunchaku goes further. SVDQuant quantises both the weights and the activations to 4 bits (W4A4), unlike weight-only 4-bit formats such as NF4 (W4A16), which the developers use as their baseline. To protect image quality it moves outliers into a small low-rank branch that stays at 16-bit, and Nunchaku fuses the extra kernels so the branch doesn't add much delay. The developers claim this makes 12B FLUX.1 3.6 times smaller than BF16, and that their INT4 model runs 3.0 times faster than the NF4 W4A16 baseline on RTX 4090s, with their NVFP4 model 3.1 times faster than BF16 and NF4 on an RTX 5090.

The developers don't compare Nunchaku directly with GGUF on those pages, and we haven't either, so treat any "X times faster than GGUF" claim you see elsewhere with care.

GPU support

This is the biggest practical difference. Nunchaku's build guide lists only NVIDIA architectures: Turing (sm_75), Ampere (sm_80, sm_86), Ada (sm_89) and Blackwell (sm_120). RTX 50-series owners must use the FP4 models, and everyone else uses INT4. RTX 20-series cards also need the nunchaku-fp16 attention option and float16 data type in the loader.

ComfyUI-GGUF is a set of ordinary ComfyUI nodes, and its README doesn't tie it to any GPU brand; it even includes notes for macOS. That makes it the more realistic choice on an AMD Radeon or Intel Arc card (see our Radeon and Arc ComfyUI guides).

Model choice and flexibility

GGUF gives you a sliding scale. city96's FLUX.1-dev GGUF repo on Hugging Face has Q2_K, Q3_K_S, Q4_0, Q4_1, Q4_K_S, Q5_0, Q5_1, Q5_K_S, Q6_K and Q8_0 files plus F16, so you can trade size against quality to suit your card. The README also points to tools for making your own quants, and says LoRA loading is "experimental" but should work with the built-in LoRA loader.

Nunchaku offers one 4-bit format per GPU family, and you depend on the Nunchaku team (or its DeepCompressor tool) for new models. The upside is that the team has released ready-made versions of the models people want most: FLUX.1-dev, FLUX.1-Kontext-dev, Qwen-Image, Qwen-Image-Edit and Edit-2509 (with Lightning variants) and Z-Image-Turbo, plus ControlNet, PuLID and LoRA support in the plugin.

Installing and keeping it working

ComfyUI-GGUF is the simpler install: clone it into custom_nodes and install the gguf Python package. On the Windows portable build, the README gives the commands using the bundled python_embeded Python.

Nunchaku needs the plugin plus a compiled backend wheel that must match your Python, PyTorch and CUDA versions. The plugin's install_wheel.json workflow helps, but compatibility is the weak spot: the latest stable wheels (v1.2.1) cover PyTorch 2.8 to 2.11, the latest development builds date from March 2026, and ComfyUI's README tells users to update PyTorch if it's more than six months old. Check there's a wheel for your exact set-up before you start.

What ComfyUI's maintainers say

There's one more thing to weigh. ComfyUI's own README now lists, among its top troubleshooting tips: "Remove all GGUF related nodes and models and delete them completely from your system. Use ComfyUI native formats like convrot int8 or w6a8 instead, they will be more than 2x faster." That's the ComfyUI team's claim, not a test result of ours, but it suggests checking whether a native quantised version of your model exists before going down the GGUF route. The same README also warns against performance flags in general, which is worth remembering if you're adding things like SageAttention on top.

Which should you choose?

Choose Nunchaku if you have an NVIDIA RTX 20-series or newer card, want one of the models the team has already released, and are happy to keep a separate ComfyUI install with a matching PyTorch. Our Nunchaku set-up guide walks through it.

Choose GGUF if you're on AMD, Intel or a Mac, need a model Nunchaku doesn't offer, or want to pick an exact size (Q8_0 for quality, Q4 or lower to squeeze into small VRAM). Then check whether a ComfyUI-native quantised format would be a better fit, as the ComfyUI team suggests.

Either way, our low-VRAM ComfyUI guide has more ways to make big models fit.

The bottom line

Nunchaku and GGUF both let big models like FLUX.1-dev run in less VRAM in ComfyUI. Nunchaku is the more ambitious route, with true 4-bit maths on NVIDIA RTX cards, ready-made FLUX, Qwen-Image and Z-Image models and big speed claims from its developers, but it's NVIDIA-only and fussy about PyTorch versions. GGUF is simpler, works on any GPU ComfyUI supports and offers Q2 to Q8 sizes, though ComfyUI's maintainers now recommend native formats instead. Forge PC hasn't tested either.

Sources

  1. 01Nunchaku team, Nunchaku GitHub README
  2. 02Nunchaku team, ComfyUI-nunchaku GitHub README
  3. 03Nunchaku team, Nunchaku installation guide
  4. 04Nunchaku team, ComfyUI-nunchaku diffusion model node reference
  5. 05Nunchaku team, Nunchaku GitHub releases
  6. 06city96, ComfyUI-GGUF GitHub README
  7. 07city96, FLUX.1-dev GGUF on Hugging Face
  8. 08Comfy Org, ComfyUI GitHub README

About the author

Callum Reid

Senior Hardware Editor

Callum leads GPU, CPU and platform architecture coverage at Forge PC. Before joining the editorial desk, he spent nine years specifying, assembling and stress-testing custom gaming and workstation systems in the UK, with a focus on PCIe bandwidth, VRM thermal design, DDR5 memory tuning and 1440p/4K frame-time consistency.

More from Callum Reid

Read next

How to Fix ATTEMPTED_WRITE_TO_READONLY_MEMORY on Windows 11

How-To

How to Fix ATTEMPTED_WRITE_TO_READONLY_MEMORY on Windows 11

ATTEMPTED_WRITE_TO_READONLY_MEMORY (0xBE) means a driver tried to write to protected memory. Here's how to find the driver from the blue screen or minidump, update, roll back or remove it, use safe mode and Driver Verifier, and rule out RAM, system files and malware.

Marcus Thorne5 min

How to Fix UNMOUNTABLE_BOOT_VOLUME on Windows 11

How-To

How to Fix UNMOUNTABLE_BOOT_VOLUME on Windows 11

UNMOUNTABLE_BOOT_VOLUME (0xED) means Windows couldn't mount the drive it boots from. Here's how to check the drive and its connection, get into the recovery environment, and run Microsoft's fixes: Startup Repair, chkdsk /r and bootrec, plus what to do if the drive itself has failed.

Marcus Thorne5 min

Best Free CD Ripping Software for Windows (2026)

Best Picks

Best Free CD Ripping Software for Windows (2026)

The best free CD ripping software for Windows, ranked: Exact Audio Copy, fre:ac, CUERipper, foobar2000 and MusicBee. We explain which ones verify rips with AccurateRip, which are easiest, and who each one suits.

Hannah Vance5 min