Instructions to use AlperKTS/Krea2_FP8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AlperKTS/Krea2_FP8 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AlperKTS/Krea2_FP8", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Krea 2 OSS - Optimized FP8 Weights (Turbo)
This repository provides an optimized FP8 (float8_e4m3fn) weight-only quantized version of the newly released Krea 2 OSS (Turbo) transformer.
This optimization reduces the model size from the original 24.76 GiB (BF16) down to 12.01 GiB, making it highly accessible and runnable on standard consumer hardware (such as 16GB and 24GB GPUs) without sacrificing output quality.
β οΈ Licensing & Disclaimer
- Original Model Creators: All credit goes to KREA.ai for the original research, architecture, and weights.
- License: This model is subject to the KREA 2 License Agreement. Please read and comply with the official license terms before using these weights: KREA 2 Licensing Terms.
- Purpose: This repository is a community-contributed utility. It does not claim ownership of the original model or architecture. Its sole purpose is to provide optimized, consumer-hardware-friendly weights for the open-source community.
π οΈ Quantization Details (Quality-First FP8)
Unlike generic global quantization scripts that aggressively convert every parameter (which often degrades generation details or introduces NaN/promotion calculation errors in neural networks), this model was quantized using a selective weight-only strategy:
- Targeted Quantization: Only 2D floating-point weight matrices (
.weightkeys withndim >= 2and element count> 1024) were quantized totorch.float8_e4m3fn. - Preserved Precision:
- All 1D vectors, biases, and normalization scales are kept in their native high-precision (
float32/bfloat16). - Highly sensitive projection/modulation layers (such as
LastLayer.modulation.linvectors) are completely preserved in high-precision. This prevents typical mathematical promotion bugs (such asBFloat16andFloat8promotion issues in PyTorch) and retains original output fidelity.
- All 1D vectors, biases, and normalization scales are kept in their native high-precision (
- Weight Comparison:
- Tensors Quantized to FP8: 266 tensors.
- Tensors Kept in Native Precision: 166 tensors.
- Size Reduction: 24.76 GiB β 12.01 GiB (~51.5% VRAM / disk savings!).
πΌοΈ Sample Generations
Below are official sample outputs from the original Krea 2 OSS Turbo model (generated with the same BF16 weights this FP8 conversion is based on):
![]() |
![]() |
![]() |
| 3D | Anime | Beach |
![]() |
![]() |
![]() |
| Blocks | Cel | Dog |
![]() |
![]() |
![]() |
| Face | Flowers | Fox |
![]() |
![]() |
![]() |
| Future | Goldface | Jester |
![]() |
![]() |
![]() |
| Mouse | Red | Ride |
![]() |
![]() |
![]() |
| Sailor | Statue | Takeoff |
![]() |
![]() |
|
| Tree | Wind |
π How to Use in ComfyUI (Native β 0.25.0+)
ComfyUI 0.25.0+ has built-in Krea2 support. No custom nodes needed.
Drop the workflow JSON into ComfyUI and drag it to the canvas.
1. Download Required Files
Place these in your ComfyUI/models/ folder:
| File | Folder | Source |
|---|---|---|
krea2_turbo_fp8.safetensors |
unet/ |
AlperKTS/Krea2_FP8 β You are here |
qwen3vl_4b_fp8_scaled.safetensors |
text_encoders/ |
Comfy-Org/Qwen3-VL |
qwen_image_vae.safetensors |
vae/ |
Comfy-Org/Qwen-Image_ComfyUI |
2. Load the Workflow
Drag workflows/Krea 2 simple workflow.json onto your ComfyUI canvas.
3. Queue & Generate!
Turbo defaults: 8 steps, CFG 1.0, er_sde sampler, simple scheduler, 1280Γ720.
π€ Acknowledgements
Special thanks to the KREA.ai team for releasing Krea 2 to the open-source community. For any commercial licensing inquiries or details about the model, please visit krea.ai.
- Downloads last month
- -



















