Low-VRAM guide · checked Oct 27, 2026
Run Qwen Image 2.1 on low VRAM
Qwen and Comfy Org publish no minimum GPU for Qwen-Image-2.1. When VRAM runs short, ComfyUI keeps part of the models in system RAM, so 12 and 16 GB cards run the official files and 8 GB cards run GGUF builds. Below: what people measured, which files to pick and the settings that save memory.
What runs on 8, 12 and 16 GB
User reports in ComfyUI, not official figures:
| GPU | Files and settings | Result |
|---|---|---|
| RTX 5060 Ti 16 GB, 32 GB RAM | The template files: int8 diffusion model, int8 text encoder | 1760×2368, 20 steps: 75 s with PyTorch for CUDA 13; 234–330 s before that update |
| RTX 4070 Ti 12 GB, 64 GB RAM | The template files: int8 diffusion model, int8 text encoder | Text to image at 4 MP, 25 steps: 121 s. Edit at 1 MP, 25 steps: 57 s. Both timed from unloaded models. |
| 2× Tesla T4 15 GB (Kaggle) | int8 diffusion model on one card, int8 text encoder on the other | 1024×1024, 40 steps: 248–272 s; 139–147 s with Comfy Kitchen INT8 attention |
| RTX 2080 Super 8 GB | Q4_K_M GGUF through the leejet/ComfyUI-GGUF fork, w4a8 text encoder, bf16 VAE, --lowvram | 768×768, 12 steps, CFG 1: 213 s end to end, GPU peak 7,623 MiB |
| RTX 5050 Laptop 8 GB, 16 GB RAM | Turbo Q5_0 GGUF, int8 text encoder | Edits run, but on ComfyUI 0.42.0 they ignored the prompt; see the problems below |
System RAM matters as much as VRAM: whatever doesn't fit on the GPU waits there. The 8 GB setup's author calls 32 GB of system RAM “a practical target”. We found no report that runs Qwen-Image-2.1 in ComfyUI on a GPU with less than 8 GB.
Sources: ComfyUI #16470 · comfyui.nomadoor.net (RTX 4070 Ti timings) · Comfy-Org discussion #8 (Tesla T4) · toyhank/qwen-image-2.1-8gb · ComfyUI #17187
Which files to use
The diffusion model and the text encoder are the two large files, and each comes in several precisions, all in Comfy-Org/Qwen-Image-2.1. The VAE (0.68 GB) is the same for every setup.
| File | Size | When to use it |
|---|---|---|
| qwen_ | 7.26 GB | The default: the templates load it, and it ran on the 12 and 16 GB cards above |
| qwen_ | 14.23 GB | 24 GB cards; it saves no memory |
| qwen3vl_ | 9.35 GB | The templates' choice; it ran on 12 GB with 64 GB of RAM |
| qwen3vl_ | 6.31 GB | Under 16 GB of VRAM or with less RAM; the 8 GB setup above uses it |
| qwen3vl_ | 17.53 GB | Not for low VRAM: at 16.33 GiB it is larger than a T4's 14.9 GiB |
Sources: Comfy-Org/Qwen-Image-2.1 · Comfy-Org discussion #8 (Tesla T4) · toyhank/qwen-image-2.1-8gb
GGUF: what works and what doesn't
GGUF files shrink the diffusion model further. unsloth/Qwen-Image-2.1-GGUF goes from 2.47 GB (Q2_K) to 7.64 GB (Q8_0), and unsloth/Qwen-Image-2.1-Turbo-GGUF covers Turbo across the same range, recommending Q4_K_M (4.20 GB) for most GPUs. A GGUF holds only the diffusion model: keep Comfy-Org's text encoder and VAE next to it.
ComfyUI doesn't load GGUF files itself, and the usual loader, city96's ComfyUI-GGUF, has not merged Qwen-Image-2.1 support as of Oct 27; its last commit is from January. What goes wrong with it:
- Unknown model architecture: unsloth's files lack the architecture field the loader reads (unsloth GGUF discussion #5). PR #483 adds detection and is still open.
- mat1 and mat2 shapes cannot be multiplied (215x24576 and 12288x4096): the loader ignores an activation that Qwen-Image-2.1's layers depend on (issue #487, open).
- A GGUF Qwen3-VL text encoder fails with a 12288 shape error, because the loader doesn't load its vision part (PR #485, open). Keep the safetensors text encoder.
The 8 GB setup in the table above uses the leejet/ComfyUI-GGUF fork instead, which loads these files. If your memory allows, Comfy-Org's int8 files are the format ComfyUI itself supports; a ComfyUI developer calls int8 “the preferred format to use”.
Sources: unsloth/Qwen-Image-2.1-GGUF · unsloth/Qwen-Image-2.1-Turbo-GGUF · unsloth GGUF discussion #5 · ComfyUI-GGUF PR #483 · ComfyUI-GGUF issue #487 · ComfyUI-GGUF PR #485 · leejet/ComfyUI-GGUF · toyhank/qwen-image-2.1-8gb · ComfyUI #17232
Settings that save memory or time
- Leave the prompt enhancer off. It is a separate 9B model (int8 9.47 GB, w4a8 6.72 GB) that runs before the image model; the templates start with refine_prompt off.
- Use Turbo or the Turbo LoRA: 8 steps instead of 25. It needs the same memory but samples in a fraction of the time. Turbo guide
- Generate at 1024×1024, the templates' default, rather than at the native 2048×2048. On two T4s the reporter measured about 4 GiB of working memory at 1024×1024.
- For edits, set resolution to a number instead of the template's 0: a 3000×4000 photo samples at about 12 MP at 0 and about 1 MP at 1024. Use 992 or 1056 rather than exactly 1024 to avoid a known noise bug. Editing guide
- Qwen-Image-2.1 keeps the encoded prompt and reference images in a cache between steps. The Qwen Image 2.1 Cache node shrinks it: dtype int8 “halves the cache at about bf16 accuracy”, int4 “quarters it but roughly doubles the per-step error”, and device auto “uses spare VRAM, then RAM”.
- On NVIDIA, install PyTorch built for CUDA 13 (cu130). ComfyUI's optimized int8 operations need it: the 16 GB card in the table went from 234–330 to 75 seconds after the update.
- Start ComfyUI with --lowvram, as the 8 GB setup does, and keep 32 GB of system RAM if you can.
Sources: Comfy-Org/Qwen-Image-2.1 · docs.comfy.org · Comfy-Org discussion #8 (Tesla T4) · ComfyUI nodes_qwen.py · ComfyUI #16470 · toyhank/qwen-image-2.1-8gb
Low-memory problems
Problems reported on 8 to 16 GB setups, with what helped.
Unknown model architecture, or mat1 and mat2 shapes cannot be multiplied (215x24576 and 12288x4096)
The standard ComfyUI-GGUF node can't run Qwen-Image-2.1 GGUF files yet. Use the leejet/ComfyUI-GGUF fork, or the int8 files from Comfy-Org.
On 8 GB, edits silently ignore the prompt
Reported on ComfyUI 0.42.0 with an 8 GB laptop GPU and 16 GB of RAM; 0.41.0 worked (ComfyUI #17187, open). Users linked it to a race when offloaded memory is handed over, which PR #17297 fixed in the development branch on Oct 22; the fix is not in a release as of v0.42.5. Until then, the reporter's last working version was 0.41.0.
The text encoder reloads from disk on every run
When the log shows Model storage policy: fast_disk=True, ComfyUI drops the text encoder from VRAM without keeping a copy in RAM. A user in ComfyUI #16498 explains that --high-ram keeps it pinned in RAM (it can't be combined with --cache-ram) and --disable-dynamic-vram turns fast_disk off. Open, with no maintainer reply.
RuntimeError: Boolean value of Tensor with more than one value is ambiguous
An intermittent error in Qwen-Image-2.1's prefix cache, seen after hundreds of runs with a Q4_K_M GGUF and a LoRA on an 8 GB RTX 3060 Ti (ComfyUI #16947). A fix, PR #17101, is open and not merged.
Sources: ComfyUI-GGUF issue #487 · ComfyUI #17187 · ComfyUI PR #17297 · ComfyUI #16498 · ComfyUI #16947