flux dev needs about 8.0 GB of memory at Q4_K_M (a 6.7 GB file) with an 8K context window, so it fits on a 8 GB GPU. This repository has 13 quants, from 0.2 GB (F16) to 12.7 GB (Q8_0).
flux dev is a 123M-parameter Flux model in GGUF format, quantized by Harrold1313. The repository has 13 quant files, from 0.2 GB (F16) to 12.7 GB (Q8_0).
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| F16 | 0.2 GB | 0.7 GB | Fits | Get file → | |
| F16 | 0.2 GB | 0.8 GB | Fits | Get file → | |
| Q4_0 | 2.8 GB | 3.6 GB | Fits | Get file → | |
| Q2_K | 3.9 GB | 4.9 GB | Fits | Get file → | |
| Q3_K_M | 5.1 GB | 6.2 GB | Fits | Get file → | |
| Q4_0 | 6.7 GB | 8.0 GB | Too big | Get file → | |
| Q4_K_M | 6.7 GB | 8.0 GB | Too big | Get file → | |
| Q4_1 | 7.4 GB | 8.8 GB | Too big | Get file → | |
| Q5_0 | 8.2 GB | 9.7 GB | Too big | Get file → | |
| Q5_K_M | 8.2 GB | 9.7 GB | Too big | Get file → | |
| Q5_1 | 8.9 GB | 10.5 GB | Too big | Get file → | |
| Q6_K | 9.8 GB | 11.4 GB | Too big | Get file → | |
| Q8_0 | 12.7 GB | 14.7 GB | Too big | Get file → |
What GPU do you need for flux dev?
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: the best quant that fits is Q4_0 (2.8 GB file, about 3.6 GB in use).
- 6 GB VRAM: the best quant that fits is Q2_K (3.9 GB file, about 4.9 GB in use).
- 8 GB VRAM: the best quant that fits is Q4_K_M (6.7 GB file, about 8.0 GB in use).
- 12 GB VRAM: the best quant that fits is Q6_K (9.8 GB file, about 11.4 GB in use).
- 16 GB VRAM: the best quant that fits is Q8_0 (12.7 GB file, about 14.7 GB in use).
Which flux dev quant should you choose?
Q4_K_M is the usual starting point for flux dev: it balances file size and quality well. Here it is a 6.7 GB file.
The Q8_0 file is 12.7 GB, about 1.9 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 F16 at 0.2 GB, with the quality trade-offs that come with fewer bits. The unquantized model. It gives original quality and needs the most memory, so it is mainly for conversion or reference.
New to quant names? Read GGUF quantization explained.
Specifications
Architecture from the GGUF header
Source
Frequently asked questions about flux dev
How much VRAM does flux dev need?
About 8.0 GB at Q4_K_M with an 8K context window. That is the 6.7 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 flux dev on an 8 GB GPU?
Yes, with Q4_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 flux dev GGUF?
It depends on the quant: F16 is 0.2 GB, F16 is 0.2 GB, Q4_0 is 2.8 GB, Q2_K is 3.9 GB, Q3_K_M is 5.1 GB, Q4_0 is 6.7 GB and 7 more.
Where can I download flux dev GGUF?
The files are on Hugging Face in the Harrold1313/flux-dev-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 flux dev use?
Hugging Face lists the license as other. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.