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

- Xet hash:
- 5f336f5699ad6dbe7168b75643dd181067012b77059c57205b577556034c5ec8
- Size of remote file:
- 297 kB
- SHA256:
- 8e254e1302e3c87d8748ff4e85ab3f98bcc99b3be762e93eabcf3a72afc1fe94
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.