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

- Xet hash:
- 1db2e2dcc7e8014103b19e31875b47be9c3844034ecbdf67cccce33221d73bd6
- Size of remote file:
- 263 kB
- SHA256:
- a99b1f27b2c6f73887c499b654b957f715ceda197e583ff7552b2240861e9c41
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.