File size: 2,524 Bytes
989e91d 9ee51cd 989e91d 289123f 989e91d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
---
language:
- en
license: other
license_name: flux-dev-non-commercial-license
license_link: https://huggingface.co/black-forest-labs/FLUX.2-dev/blob/main/LICENSE.txt
base_model: black-forest-labs/FLUX.2-dev
tags:
- image-generation
- flux
- lora
- distillation
- turbo
pipeline_tag: text-to-image
library_name: diffusers
---
# FLUX.2 [dev] Turbo LoRA
**FLUX.2 [dev] Turbo** is a distilled LoRA adapter for [FLUX.2 [dev]](https://huggingface.co/black-forest-labs/FLUX.2-dev) that enables high-quality image generation in just **8 inference steps**.

---
---

## Key Features
- ⚡ **8-step inference** — 6x faster than the base model's typical 50 steps
- 🎨 **Quality preserved** — Matches or surpasses the original FLUX.2 [dev] quality
- 🔌 **LoRA adapter** — Lightweight, easy to integrate with existing FLUX.2 workflows
- 🖼️ **Multiple modes** — Supports both text-to-image and image editing
## Hosted API Endpoints
FLUX.2 [dev] Turbo is available through fal.ai hosted endpoints:
- [Text-to-Image](https://fal.ai/models/fal-ai/flux-2/turbo)
- [Image Editing](https://fal.ai/models/fal-ai/flux-2/turbo/edit)
## ComfyUI
ComfyUI-compatible weights are available in the `comfy/` directory, converted by [ByteZSzn](https://huggingface.co/ByteZSzn/Flux.2-Turbo-ComfyUI).
## Usage
```python
import torch
from diffusers import Flux2Pipeline
# Pre-shifted custom sigmas for 8-step turbo inference
TURBO_SIGMAS = [1.0, 0.6509, 0.4374, 0.2932, 0.1893, 0.1108, 0.0495, 0.00031]
pipe = Flux2Pipeline.from_pretrained(
"black-forest-labs/FLUX.2-dev",
torch_dtype=torch.bfloat16
).to("cuda")
pipe.load_lora_weights(
"fal/FLUX.2-dev-Turbo",
weight_name="flux.2-turbo-lora.safetensors"
)
prompt = "Industrial product shot of a chrome turbocharger with glowing hot exhaust manifold, engraved text 'FLUX.2 [dev] Turbo by fal' on the compressor housing and 'fal' on the turbine wheel, gradient heat glow from orange to electric blue , studio lighting with dramatic shadows, shallow depth of field, engineering blueprint pattern in background."
image = pipe(
prompt=prompt,
sigmas=TURBO_SIGMAS,
guidance_scale=2.5,
height=1024,
width=1024,
num_inference_steps=8,
).images[0]
image.save("output.png")
```
## License
This model inherits the [FLUX [dev] Non-Commercial License](https://huggingface.co/black-forest-labs/FLUX.2-dev/blob/main/LICENSE.txt) from the base model.
|