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
| Method | Time (s) | Speedup |
|---|---|---|
| Eager (PyTorch) | 3.743 | 1.0x |
| torch.compile (KJNodes) | 3.064 | 1.22x |
| Qlip BF16 + LoRA | 2.944 | 1.27x |
| Qlip FP8 + LoRA | 2.215 | 1.69x |
RTX 5090, image edit, 1024x2048, distilled, 4 steps
| Method | Time (s) | Speedup |
|---|---|---|
| Eager (PyTorch) | 10.144 | 1.0x |
| Qlip FP8-dynamic + LoRA | 7.919 | 1.28x |
| Qlip FP8-static + LoRA | 7.520 | 1.35x |
| Qlip NVFP4 + LoRA | 6.058 | 1.67x |
| Qlip NVFP4 + FP4 attention + LoRA † | 3.299 | 3.07x |
| Qlip NVFP4 + FP4 attention, no LoRA † | 2.810 | 3.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
| Method | Time (s) | Speedup |
|---|---|---|
| Eager (PyTorch) | 2.05 | 1.0x |
| Qlip FP8-dynamic + LoRA | 1.59 | 1.29x |
| Qlip NVFP4 + LoRA | 1.27 | 1.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.