Krea 2 Turbo (ComfyUI)
Krea
Krea 2 Turbo for ComfyUI, accelerated by TheStage AI Qlip engines.
Python usage
Overview
Elastic ComfyUI models are precompiled inference engines produced by TheStage AI Qlip. They replace the transformer blocks of the original Krea 2 Turbo model inside ComfyUI: you keep your usual loaders, samplers and VAE, and the heavy denoising runs through optimized TensorRT engines. Base model weights are not included; the engines work on top of the original checkpoint.
On TheStage AI platform the Qlip engines are listed as size S; Original is the same model in eager PyTorch. Depending on the GPU, the following precision variants are available:
FP8: 8-bit weights and activations, near-lossless, the default choice on Hopper GPUs.
All engines with the _lora suffix accept LoRA at runtime: LoRA weights are engine inputs, so you can switch LoRAs without recompiling. Engines are GPU-architecture specific: use the folder for your GPU.
About the model. Krea 2 Turbo is a single-stream DiT for image generation: 8 steps, batch 1. The engines run on top of the ComfyUI checkpoint krea2_turbo_bf16.safetensors from Comfy-Org/Krea-2, and accept the official Krea 2 LoRAs from the same repo. Original model: krea/Krea-2-Turbo.
System Requirements
| Property | Value |
|---|---|
| GPU | H200 |
| Python Version | 3.10-3.12 |
| CPU | Intel/AMD x86_64 |
| CUDA Version | 12.8+ (H200) |
| TensorRT | 10.13.3.9 (H200) |
| ComfyUI commit | c2bcbecd (H200) (ComfyUI v0.32.0, the first version with Krea 2 support) |
TheStage AI Access Token Setup
Engines require a TheStage AI access token. The installer below already installs the thestage CLI; set the token once (Profile -> Access tokens on the platform):
thestage config set --access-token <YOUR_ACCESS_TOKEN>
Without a token import qlip fails with [PyArmor] Validation failed. This is not a broken install: set the token and retry.
ComfyUI-Qlip
Elastic ComfyUI models are used through the ComfyUI-Qlip custom nodes. Here is how to run Krea 2 Turbo with them.
Installation
From your ComfyUI root, with its virtual environment active:
git clone https://github.com/TheStageAI/ComfyUI-Qlip custom_nodes/ComfyUI-Qlip python custom_nodes/ComfyUI-Qlip/install.py thestage config set --access-token <YOUR_ACCESS_TOKEN> python -c "import torch, tensorrt, qlip; print(torch.__version__, tensorrt.__version__)"
The installer detects the GPU and installs a matching stack in this order: the torch build for the device, ComfyUI's own requirements with torch pinned, then TensorRT and qlip.core. Do not run ComfyUI's requirements.txt by hand: it can replace the torch build. Use --device nvidia or --device blackwell to force a profile and --dry-run to print the plan.
| Profile | GPUs | Stack |
|---|---|---|
| nvidia | H100, H200 (Hopper / Ada) | torch 2.9.1+cu128, TensorRT 10.13.3.9, qlip.core[nvidia] |
| blackwell | RTX 5090, B200 | torch 2.12.0+cu130, TensorRT 10.15.1.29, qlip.core[blackwell] installed with --no-deps |
Engines are tied to the TensorRT version they were built with, so use the profile that matches your GPU.
Pin ComfyUI to the commit the engines were compiled against (engines are tied to the ComfyUI block structure):
cd /path/to/ComfyUI git checkout c2bcbecd
Download the original model
Download from Comfy-Org/Krea-2 into the ComfyUI models/ folders:
| File | ComfyUI folder |
|---|---|
| *krea2_turbo_bf16.safetensors* | models/diffusion_models/ |
| *qwen3vl_4b_bf16.safetensors* | models/text_encoders/ |
| *qwen_image_vae.safetensors* | models/vae/ |
| *krea2_.safetensors (optional LoRAs)** | models/loras/ |
Usage
Use the standard ComfyUI Krea 2 graph (UNETLoader krea2_turbo_bf16.safetensors, CLIPLoader with type krea2, VAELoader) and insert Qlip Engines Loader between the model loader and the sampler. tools/krea_check.py in ComfyUI-Qlip builds the same graph in API format and can be used as a reference. Set hf_repo to the engines below: they are downloaded once and cached, then loaded on the first run.
UNETLoader / CheckpointLoaderSimple (original checkpoint)
-> Qlip Engines Loader (hf_repo=...)
-> Guider -> Sampler -> VAEDecode -> Save| GPU | Variant | *hf_repo* |
|---|---|---|
| H200 | FP8 + LoRA (TensorRT 10.13, nvidia profile) | TheStageAI/Elastic-Krea-2:models/H200/krea2-fp8_lora_trt_10_13 |
| H200 | FP8 + LoRA (TensorRT 10.15, legacy) | TheStageAI/Elastic-Krea-2:models/H200/krea2-fp8_lora |
Static profiles 1536x1536, 1536x864, 864x1536 and 1024x1024; any size from 256 to 1536 px through the dynamic profile (down to 256 px so that Qlip Progressive can run the early steps at reduced resolution). LoRA rank up to 64. Use the TensorRT 10.13 engine with the nvidia install profile; the legacy folder needs TensorRT 10.15.1.29.
LoRA
Connect a Qlip LoRA Stack node to the lora_stack input of Qlip Engines Loader. Several stacks can be chained; their ranks add up and must fit the maximum rank the engines were compiled with. LoRA weights are swapped in place when the stack changes, without reloading engines. LyCORIS / LoKR formats are not supported.
Qlip LoRA Stack (my_lora.safetensors, strength=1.0) ────────────┐
UNETLoader / CheckpointLoaderSimple │
-> Qlip Engines Loader (hf_repo=..., lora_stack=^)
-> Guider -> Sampler -> VAEDecode -> SaveOptional speedups
Qlip Cache skips redundant denoising steps, and Qlip Progressive runs early steps at a lower resolution. Both work on top of the engines; see the node reference in the ComfyUI-Qlip README.