Images / black-forest-labs

FLUX.2 klein base 4B

FLUX.2 klein base 4B from black-forest-labs. Source-based hardware guidance from its published configuration.

EstimatedRepository opened Jan 14, 2026Source checked 9/25/2026Version: a3b4f484
LOCALRENTED GPUOPEN WEIGHTS

At a glance

Parameters
3.88B
Architecture
unknown
License
apache-2.0
Software
Diffusers
View the model source
MY HARDWARE

Will it run on your machine?

Save your machine to see a personalized rating and its reasoning.

Add my hardware

Ways to run it

Diffusers · See official guide

Repository-specific command in publisher documentation; confirm dependencies and hardware in the source.

import torch from diffusers import Flux2KleinPipeline device = "cuda" dtype = torch.bfloat16 pipe = Flux2KleinPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-base-4B", torch_dtype=dtype) pipe.enable_model_cpu_offload() # save some VRAM by offloading the model to CPU prompt = "A cat holding a sign that says hello world" image = pipe( prompt=prompt, height=1024, width=1024, guidance_scale=4.0, num_inference_steps=50, generator=torch.Generator(device=device).manual_seed(0) ).images[0] image.save("flux-klein.png")
Official instructions

Explore its uses

SAFETENSORS

Keep exploring

FLUX.2 klein base 4B: hardware, VRAM & setup | YouRunAI