Instructions to use lvladikov/Krea2-Turbo-Distill-4step-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lvladikov/Krea2-Turbo-Distill-4step-LoRA with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("krea/Krea-2-Turbo", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("lvladikov/Krea2-Turbo-Distill-4step-LoRA") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download assets/portrait_strength_sweep.jpg from lvladikov/Krea2-Turbo-Distill-4step-LoRA: direct link, hf CLI and curl.
- Browser
- Download file 504 kB
-
https://huggingface.co/lvladikov/Krea2-Turbo-Distill-4step-LoRA/resolve/main/assets/portrait_strength_sweep.jpg
- Command line
-
hf download hf://lvladikov/Krea2-Turbo-Distill-4step-LoRA/assets/portrait_strength_sweep.jpg
-
curl -L -o portrait_strength_sweep.jpg https://huggingface.co/lvladikov/Krea2-Turbo-Distill-4step-LoRA/resolve/main/assets/portrait_strength_sweep.jpg
504 kB

- Xet hash:
- 2c09bc94c0fb3019a9ff7a7ea2d0d25e3ab72dbe81f0b6da392384a1e648eb79
- Size of remote file:
- 504 kB
- SHA256:
- 84e9df675fd20775ac86ff6b2a3bf78c235ee5f79be532e444101619681c0253
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.