ERNIE Image needs about 6.1 GB of memory at Q4_K_M (a 5.0 GB file) with an 8K context window, so it fits on a 8 GB GPU. This repository has 19 quants, from 3.2 GB (Q2_K) to 16.1 GB (F16).
ERNIE-Image – 8B text‑to‑image model with strong instruction following
ERNIE-Image is an 8B DiT text‑to‑image model quantized to GGUF. It excels at complex prompts, text rendering, and structured visual tasks. The model supports a wide range of styles from realistic photography to stylized aesthetics.
Good at
- Complex instruction following
- Dense text rendering
- Structured image generation
Limits
- No vision support
- Requires 8K context for estimates
- License is apache‑2.0
Best for
- Poster and comic creation
- UI‑style image generation
- Multi‑panel layouts
Who it’s for. Developers and designers needing high‑quality, controllable text‑to‑image generation on consumer hardware. The model is suitable for applications that require precise layout and text rendering.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| Q2_K | 3.2 GB | 4.1 GB | Fits | Get file → | |
| Q3_K_S | 3.8 GB | 4.8 GB | Fits | Get file → | |
| Q3_K_M | 3.9 GB | 4.9 GB | Fits | Get file → | |
| Q2_K | 4.0 GB | 4.9 GB | Fits | Get file → | |
| Q4_0 | 4.8 GB | 5.8 GB | Fits | Get file → | |
| Q3_K_M | 4.8 GB | 5.9 GB | Fits | Get file → | |
| Q4_K_S | 4.9 GB | 6.0 GB | Fits | Get file → | |
| Q4_K_M | 5.0 GB | 6.1 GB | Fits | Get file → | |
| Q4_1 | 5.3 GB | 6.4 GB | Fits | Get file → | |
| Q5_0 | 5.7 GB | 6.9 GB | Fits | Get file → | |
| Q4_K_M | 5.8 GB | 7.0 GB | Fits | Get file → | |
| Q5_K_S | 5.9 GB | 7.1 GB | Fits | Get file → | |
| Q5_K_M | 5.9 GB | 7.1 GB | Fits | Get file → | |
| Q5_1 | 6.2 GB | 7.5 GB | Tight | Get file → | |
| Q5_K_M | 6.7 GB | 8.0 GB | Too big | Get file → | |
| Q6_K | 6.8 GB | 8.1 GB | Too big | Get file → | |
| Q8_0 | 8.7 GB | 10.2 GB | Too big | Get file → | |
| BF16 | 16.1 GB | 18.5 GB | Too big | Get file → | |
| F16 | 16.1 GB | 18.5 GB | Too big | Get file → |
For 8 GB VRAM, use Q4_0 (file size 4.76 GB, memory 5.8 GB). For 12 GB VRAM, Q5_0 (5.75 GB, 6.9 GB) or Q5_K_M (5.93 GB, 7.1 GB) are good choices. Larger VRAM allows Q6_K or Q8_0 for higher quality.
What GPU do you need for ERNIE Image?
These figures add the file size, an fp16 KV cache at an 8K context window and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.
- 4 GB VRAM: no quant fits at an 8K context.
- 6 GB VRAM: the best quant that fits is Q4_K_S (4.9 GB file, about 6.0 GB in use).
- 8 GB VRAM: the best quant that fits is Q5_K_M (6.7 GB file, about 8.0 GB in use).
- 12 GB VRAM: the best quant that fits is Q8_0 (8.7 GB file, about 10.2 GB in use).
- 16 GB VRAM: the best quant that fits is Q8_0 (8.7 GB file, about 10.2 GB in use).
- 24 GB VRAM: the best quant that fits is BF16 (16.1 GB file, about 18.5 GB in use).
Which ERNIE Image quant should you choose?
Q4_K_M is the usual starting point for ERNIE Image: it balances file size and quality well. Here it is a 5.0 GB file.
The Q8_0 file is 8.7 GB, about 1.7 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.
If memory is tight, the smallest file is Q2_K at 3.2 GB, with the quality trade-offs that come with fewer bits. Use it only when memory is very tight. Expect a clear drop in quality, which is usually worse on small models and easier to live with on large ones.
New to quant names? Read GGUF quantization explained.
Specifications
Architecture from the GGUF header
Source
Frequently asked questions about ERNIE Image
How much VRAM does ERNIE Image need?
About 6.1 GB at Q4_K_M with an 8K context window. That is the 5.0 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.
Can I run ERNIE Image on an 8 GB GPU?
Yes, with Q5_K_M: the 6.7 GB file needs about 8.0 GB at 8K context. Larger quants in this repository do not fit in 8 GB.
What is the file size of ERNIE Image GGUF?
It depends on the quant: Q2_K is 3.2 GB, Q3_K_S is 3.8 GB, Q3_K_M is 3.9 GB, Q2_K is 4.0 GB, Q4_0 is 4.8 GB, Q3_K_M is 4.8 GB and 13 more.
Where can I download ERNIE Image GGUF?
The files are on Hugging Face in the unsloth/ERNIE-Image-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.
What license does ERNIE Image use?
Hugging Face lists the license as apache-2.0. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.
Can I run ERNIE‑Image on 8 GB VRAM?
Yes, the Q4_0 quant requires about 5.8 GB memory at 8K context, fitting within 8 GB VRAM.
Does ERNIE‑Image support image input?
No, the model is text‑to‑image only and does not accept image inputs.
What license applies to ERNIE‑Image?
The model is released under the apache‑2.0 license.