Image-to-Image
Diffusers
Safetensors
FluxKontextPipeline
flux
flux.1
kontext
flux dev
lightning
turbo
Instructions to use buildborderless/FLUX.MF-Kontext_Lightning-8s-4bit_nf4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use buildborderless/FLUX.MF-Kontext_Lightning-8s-4bit_nf4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("buildborderless/FLUX.MF-Kontext_Lightning-8s-4bit_nf4", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -13,8 +13,11 @@ tags:
|
|
| 13 |
|
| 14 |
# FLUX.1 Kontext-dev X LoRA Experimentation
|
| 15 |
|
| 16 |
-
Highly experimental, will update later.
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
## Model Details
|
| 19 |
|
| 20 |
-
|
|
|
|
| 13 |
|
| 14 |
# FLUX.1 Kontext-dev X LoRA Experimentation
|
| 15 |
|
| 16 |
+
Highly experimental, will update with more details later.
|
| 17 |
+
|
| 18 |
+
- 6-8 steps
|
| 19 |
+
- Euler, SGM Uniform (Recommended, feel free to play around)
|
| 20 |
|
| 21 |
## Model Details
|
| 22 |
|
| 23 |
+
Experimenting with FLUX.1-dev LoRAs and how it affects Kontext-dev. This model has been fused with acceleration LoRAs.
|