Skip to content
Search models or paste a model link. Press Enter to search.

FLUX.2 [klein] 4B

black-forest-labs/FLUX.2-klein-4B
Left and right arrow keys switch the vendor.
black-forest-labs/flux-2-klein-4b architecture graph
black-forest-labs/flux-2-klein-4b architecture graph
  • black-forest-labs/flux-2-klein-4b
  • BF16
  • AGX Thor
Labels
  • Text
  • Image
  • Generation
Build
Baseline TensorRT
Precision
BF16 + FP16
Runtime
TensorRT 10.16
Output
512×512 image
Run FLUX.2 [klein] 4B on AGX Thor

Black Forest Labs' compact text-to-image model. It generates an image from a text prompt in a few distilled steps.

Methodology

  • Latency: median wall time from prompt to encoded PNG over 200 PartiPrompts after three warm-ups: 512×512, batch 1, four steps, guidance 1.0, no embedding cache.
  • Accuracy: CLIPScore (CLIP ViT-B/32) of the images for 200 PartiPrompts with fixed seeds, none used for calibration.
  • Memory: peak memory of the serving process, and TensorRT's peak device allocation including I/O buffers, measured separately; on the Thor's unified memory the two are not additive.
  • Size: the six TensorRT engines on disk.
  • Baseline TensorRT: this build is the baseline: Black Forest Labs' original model in BF16 (decoder in FP16) on stock TensorRT.

Files

Image Size

Model

docker.io/embedl/models:hf.black-forest-labs.flux-2-klein-4b.bf16.thor.202610291630bdd4

13.12 GiB

Runtime

docker.io/embedl/models:flux2-klein.runtime.arm64.2026101814283371

—

Variants

Every build of FLUX.2 [klein] 4B on AGX Thor.

Variant Precision Speed Runtime

huggingface_bf16_tensorrt

BF16 639.94 ms
Latency: Median time per image
TensorRT 10.16
flux2-klein.runtime.arm64.2026101814283371

huggingface_fp8_embedl_tensorrt

FP8 430.57 ms
Latency: Median time per image
TensorRT 10.16 with Embedl optimizations
flux2-klein.runtime.arm64.2026101814283371