Views
No views yet
black-forest-labs/FLUX.2-klein-4B
for low-VRAM / edge inference. Runs on an 8GB GPU, or CPU-only.--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.--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 |
^.*(_mlp\.(0|2)|_attn\.(proj|qkv)|\.linear(1|2))\.weight=<qtype>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)1sd-cli \
2 --diffusion-model flux-2-klein-4b-Q4_K.gguf \
3 --vae flux2-vae.safetensors \
4 --llm Qwen3-4B-Q4_K_M.gguf \
5 -p "a red fox in an autumn forest, golden hour" \
6 --cfg-scale 1.0 --steps 4 --sampling-method euler \
7 -W 768 -H 768 --offload-to-cpu --diffusion-fa --vae-tiling -o out.pngklein 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 |