Text-to-Image
Diffusers
Safetensors
English
Krea2Pipeline
krea2
sdnq
uint4
4-bit precision
quantized
8-bit precision
Instructions to use WaveCut/Krea-2-Raw-SDNQ-uint4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use WaveCut/Krea-2-Raw-SDNQ-uint4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("WaveCut/Krea-2-Raw-SDNQ-uint4", 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
| { | |
| "_class_name": "Krea2Pipeline", | |
| "_diffusers_version": "0.39.0.dev0", | |
| "_name_or_path": "krea/Krea-2-Raw", | |
| "is_distilled": false, | |
| "patch_size": 2, | |
| "scheduler": [ | |
| "diffusers", | |
| "FlowMatchEulerDiscreteScheduler" | |
| ], | |
| "text_encoder": [ | |
| "transformers", | |
| "Qwen3VLModel" | |
| ], | |
| "text_encoder_select_layers": [ | |
| 2, | |
| 5, | |
| 8, | |
| 11, | |
| 14, | |
| 17, | |
| 20, | |
| 23, | |
| 26, | |
| 29, | |
| 32, | |
| 35 | |
| ], | |
| "tokenizer": [ | |
| "transformers", | |
| "Qwen2Tokenizer" | |
| ], | |
| "transformer": [ | |
| "diffusers", | |
| "Krea2Transformer2DModel" | |
| ], | |
| "vae": [ | |
| "diffusers", | |
| "AutoencoderKLQwenImage" | |
| ] | |
| } | |