FLUX.2 Klein 9B (ComfyUI)

Black Forest Labs

FLUX.2 Klein 9B for ComfyUI, accelerated by TheStage AI Qlip engines.

Perfomance

Latency Benchmarks

We measured generation time on H100, RTX 5090 and B200 against eager PyTorch in the same ComfyUI graph. Lower time is better.

H100, text-to-image, 1024x1024, 20 steps, cfg 1.0

MethodTime (s)Speedup
Eager (PyTorch)3.7431.0x
torch.compile (KJNodes)3.0641.22x
Qlip BF16 + LoRA2.9441.27x
Qlip FP8 + LoRA2.2151.69x

RTX 5090, image edit, 1024x2048, distilled, 4 steps

MethodTime (s)Speedup
Eager (PyTorch)10.1441.0x
Qlip FP8-dynamic + LoRA7.9191.28x
Qlip FP8-static + LoRA7.5201.35x
Qlip NVFP4 + LoRA6.0581.67x
Qlip NVFP4 + FP4 attention + LoRA †3.2993.07x
Qlip NVFP4 + FP4 attention, no LoRA †2.8103.61x

Full warm generation time. † FP4-attention engines need the fp4attn TensorRT plugin, which ships in an upcoming qlip release. Until then use the NVFP4 engines without FP4 attention.

B200, image edit

MethodTime (s)Speedup
Eager (PyTorch)2.051.0x
Qlip FP8-dynamic + LoRA1.591.29x
Qlip NVFP4 + LoRA1.271.61x

Benchmarking Methodology

All numbers are a single generation with batch size 1, measured warm: engines are already loaded and the first (cold) run is excluded. Each table states what is timed (full generation, sampler only, or transformer only) and the settings. Qlip rows with + LoRA use engines with runtime LoRA support, which adds about 5-15% compared to engines without LoRA, even when no LoRA is applied.

Algorithm summary:
Load the original FLUX.2 Klein 9B checkpoint in ComfyUI.
For Qlip rows, attach Qlip Engines Loader with the engines for the given precision and GPU.
Run one warm-up generation to load engines and initialize GPU caches.
Run the generation with fixed prompt, seed and settings.
Report the time of the warm run; speedup is eager time divided by Qlip time.