Downloads · 30 days
1.3K
24% of all-time downloads
adithya-balaji/FLUX.2-klein-4B-GGUF
FLUX.2-klein-4B-GGUF is a text-to-image model from adithya-balaji. Use it when you need an image from a text prompt. It is set up for gguf. The card lists the license as apache-2.0.
Self-quantized GGUF builds of black-forest-labs/FLUX.2-klein-4B for low-VRAM / edge inference. Runs on an 8GB GPU, or CPU-only.
Downloads · 30 days
1.3K
24% of all-time downloads
All-time downloads
5.6K
Public
Repo size
7 GB
Likes
1
Public
Click a slice to open those files.
.gguf7 GB · 100%
From the Hugging Face model README
Self-quantized GGUF builds of black-forest-labs/FLUX.2-klein-4B
for low-VRAM / edge inference. Runs on an 8GB GPU, or CPU-only.
These weights were produced with stable-diffusion.cpp
(--mode convert) and are intended for use with stable-diffusion.cpp / GGUF-aware
runtimes. FLUX.2 is by Black Forest Labs; klein 4B is Apache-2.0.
Only the heavy MLP / attention / linear weights are quantized (via
--tensor-type-rules); norms and embeddings are kept at higher precision, which
preserves quality at low bit-depth.
| File | Precision (quant) | Bits (weights) | Size |
|---|---|---|---|
flux-2-klein-4b-Q2_K.gguf | Q2_K | ~2-bit K-quant | 1.49 GB |
flux-2-klein-4b-Q4_K.gguf | Q4_K | ~4-bit K-quant | 2.29 GB |
flux-2-klein-4b-Q5_K.gguf | Q5_K | ~5-bit K-quant | 2.72 GB |
Quantization rule used:
^.*(_mlp\.(0|2)|_attn\.(proj|qkv)|\.linear(1|2))\.weight=<qtype>
Which to pick: Q4_K is the recommended balance for 8GB. Q5_K for best
fidelity if you have headroom. Q2_K for the tightest RAM / smallest storage
(softer detail).
flux2-vae.safetensors — e.g. Comfy-Org/flux2-dev (split_files/vae/flux2-vae.safetensors)unsloth/Qwen3-4B-GGUF (Qwen3-4B-Q4_K_M.gguf)sd-cli \
--diffusion-model flux-2-klein-4b-Q4_K.gguf \
--vae flux2-vae.safetensors \
--llm Qwen3-4B-Q4_K_M.gguf \
-p "a red fox in an autumn forest, golden hour" \
--cfg-scale 1.0 --steps 4 --sampling-method euler \
-W 768 -H 768 --offload-to-cpu --diffusion-fa --vae-tiling -o out.png
klein is step-distilled: use 4 steps and CFG 1.0 (euler). A minimal pure
C++ front-end is available as sd-flux2.cpp.
| Quant | Gen time |
|---|---|
| Q4_K | ~14.5 s |
| Q5_K | ~15.8 s |
| Q2_K | ~16.0 s |