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
  • FP8
  • AGX Thor
Labels
  • Text
  • Image
  • Generation
Build
Embedl-optimized
Precision
FP8 + BF16 + FP16
Runtime
TensorRT 10.16 with Embedl optimizations
Output
512×512 image
Run FLUX.2 [klein] 4B on AGX Thor

Generated by this build

Ran on AGX Thor, this build

  • seed 42

    --prompt

    A red ceramic teapot and a blue cup on a sunlit wooden table.

    Generated image
    Generated image

    Seed 42 · 512 × 512 · 4 steps

  • seed 314

    --prompt

    A tiny observatory on a mossy hill under a clear starry sky, watercolor illustration.

    Generated image
    Generated image

    Seed 314 · 512 × 512 · 4 steps

  • seed 2718

    --prompt

    A neatly arranged collection of colorful glass marbles on white paper, studio photograph.

    Generated image
    Generated image

    Seed 2718 · 512 × 512 · 4 steps

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: Black Forest Labs' original model in BF16 (decoder in FP16) on stock TensorRT, same settings, same device.

Files

Image Size

Model

docker.io/embedl/models:hf.black-forest-labs.flux-2-klein-4b.fp8-embedl.thor.2026101817525bbe

9.70 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