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_turbo_4step_lora.jpg from lvladikov/Krea2-Turbo-Distill-4step-LoRA: direct link, hf CLI and curl.
- Browser
- Download file 292 kB
-
https://huggingface.co/lvladikov/Krea2-Turbo-Distill-4step-LoRA/resolve/main/assets/portrait_turbo_4step_lora.jpg
- Command line
-
hf download hf://lvladikov/Krea2-Turbo-Distill-4step-LoRA/assets/portrait_turbo_4step_lora.jpg
-
curl -L -o portrait_turbo_4step_lora.jpg https://huggingface.co/lvladikov/Krea2-Turbo-Distill-4step-LoRA/resolve/main/assets/portrait_turbo_4step_lora.jpg
292 kB

- Xet hash:
- 605a41c7f8f0609c4aa669597bce1c2360d7e285d7e02e8891122f447e53add8
- Size of remote file:
- 292 kB
- SHA256:
- f4eacb2d2039927373bf515d5876e51a9c032e708e1e7651124feaab6ad34c66
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.