Instructions to use Freepik/flux.1-lite-8B-alpha with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Freepik/flux.1-lite-8B-alpha with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Freepik/flux.1-lite-8B-alpha", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
update readme
Browse files
README.md
CHANGED
|
@@ -60,13 +60,11 @@ image.save("output.png")
|
|
| 60 |
|
| 61 |
Inspired by [Ostris](https://ostris.com/2024/09/07/skipping-flux-1-dev-blocks/) findings, we analyzed the mean squared error (MSE) between the input and output of each block to quantify their contribution to the final result, revealing significant variability.
|
| 62 |
|
| 63 |
-
As Ostris pointed out, not all blocks contribute equally. While skipping just one of the early MMDiT blocks can significantly impact model performance, skipping the rest of the blocks does not have a significant impact over the final image quality.
|
| 64 |
-
|
| 65 |

|
| 66 |

|
| 67 |

|
| 68 |
|
| 69 |
-
|
| 70 |
|
| 71 |

|
| 72 |

|
|
|
|
| 60 |
|
| 61 |
Inspired by [Ostris](https://ostris.com/2024/09/07/skipping-flux-1-dev-blocks/) findings, we analyzed the mean squared error (MSE) between the input and output of each block to quantify their contribution to the final result, revealing significant variability.
|
| 62 |
|
|
|
|
|
|
|
| 63 |

|
| 64 |

|
| 65 |

|
| 66 |
|
| 67 |
+
As Ostris pointed out, not all blocks contribute equally. While skipping just one of the early MMDiT or late DiT blocks can significantly impact model performance, skipping any single block in between does not have a significant impact over the final image quality.
|
| 68 |
|
| 69 |

|
| 70 |

|