FL

Flan T5 Xxl

FlanGGUF by easygoing0114Updated 2026-07-10
Download on Hugging Face
Parameters4.76B
Context512
Layers24
Architecturet5encoder
Smallest quant2.5 GB
Quick answer

Flan T5 Xxl needs about 6.6 GB of memory at Q4_K_M (a 2.9 GB file) with an 8K context window, so it fits on a 8 GB GPU. This repository has 5 quants, from 2.5 GB (Q3_K_L) to 5.1 GB (Q8_0).

Flan T5 Xxl – a large text encoder for NLP and image conditioning

Flan T5 Xxl is a 4.76 billion‑parameter encoder model. It is fused from Google’s FLAN‑T5‑XXL and available in multiple quantized GGUF formats. The model is licensed under apache‑2.0 and supports 512‑token context.

Good at

  • High‑quality text encoding
  • Image‑generation conditioning
  • Large‑scale NLP tasks

Limits

  • 512‑token context only
  • No vision support
  • Requires 6–9 GB VRAM for 8k context

Best for

  • Text‑to‑image pipelines
  • Prompt conditioning for diffusion models
  • Large‑scale text summarization

Who it’s for. Developers building image generation or large‑scale NLP applications that need a high‑capacity text encoder. The model is suitable for users with moderate GPU memory who can run quantized GGUF files.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q3_K_L2.5 GB 3.2 GB
Fits Get file →
Q4_K_M2.9 GB 3.6 GB
Fits Get file →
Q5_K_M3.4 GB 4.1 GB
Fits Get file →
Q6_K3.9 GB 4.6 GB
Fits Get file →
Q8_05.1 GB 5.8 GB
Fits Get file →

For 8 GB VRAM use Q4_K_M (6.6 GB) or Q5_K_M (7.1 GB). With 12 GB VRAM Q6_K (7.6 GB) or Q8_0 (8.8 GB) are viable. The Q3_K_L quant (6.2 GB) is the lightest option but offers lower precision.

What GPU do you need for Flan T5 Xxl?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) 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: no quant fits at an 8K context.
  • 8 GB VRAM: the best quant that fits is Q6_K (3.9 GB file, about 7.6 GB in use).
  • 12 GB VRAM: the best quant that fits is Q8_0 (5.1 GB file, about 8.8 GB in use).

Which Flan T5 Xxl quant should you choose?

Q4_K_M is the usual starting point for Flan T5 Xxl: it balances file size and quality well. Here it is a 2.9 GB file.

The Q8_0 file is 5.1 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 Q3_K_L at 2.5 GB, with the quality trade-offs that come with fewer bits. A reasonable choice when a 4-bit file will not fit, mostly on larger models. Quality loss is noticeable but often acceptable.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturet5encoder
Parameters4.76B
Layers24
Trained context512 tokens
KV cache (fp16)384 KB per token

Source

Quantized byeasygoing0114
FamilyFlan
Licenseapache-2.0
Downloads (HF)2,800
Last updated2026-07-10

Frequently asked questions about Flan T5 Xxl

How much VRAM does Flan T5 Xxl need?

About 6.6 GB at Q4_K_M with an 8K context window. That is the 2.9 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 Flan T5 Xxl on an 8 GB GPU?

Yes, with Q6_K: the 3.9 GB file needs about 7.6 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of Flan T5 Xxl GGUF?

It depends on the quant: Q3_K_L is 2.5 GB, Q4_K_M is 2.9 GB, Q5_K_M is 3.4 GB, Q6_K is 3.9 GB, Q8_0 is 5.1 GB.

What context length does Flan T5 Xxl support?

The GGUF header lists a trained context length of 512 tokens (512). The KV cache grows with the context you use: about 3.2 GB at 8K and 0.2 GB at 512.

Where can I download Flan T5 Xxl GGUF?

The files are on Hugging Face in the easygoing0114/flan-t5-xxl-fused repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does Flan T5 Xxl 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 Flan T5 Xxl on 8 GB VRAM?

Yes, using Q4_K_M or Q5_K_M quantizations which require 6.6–7.1 GB at 8k context.

Does the model support vision tasks?

No, the model is a text encoder only and has no vision capabilities.

What license applies to this model?

The model is released under the apache‑2.0 license.

Similar models

Browse all →

More from easygoing0114

All by easygoing0114 →

More Flan models

All Flan →

Other small models

All small models →