fix: Update readme
Browse files
README.md
CHANGED
|
@@ -15,15 +15,17 @@ tags:
|
|
| 15 |
|
| 16 |
# Flux.1 Lite
|
| 17 |
|
| 18 |
-
We are
|
| 19 |
|
| 20 |
-
Our goal
|
| 21 |
|
| 22 |

|
| 23 |
|
| 24 |
## Motivation
|
| 25 |
|
| 26 |
-
As stated by other members of the community like [Ostris](https://ostris.com/2024/09/07/skipping-flux-1-dev-blocks/), it seems that
|
|
|
|
|
|
|
| 27 |
|
| 28 |

|
| 29 |

|
|
@@ -35,7 +37,7 @@ Furthermore, as displayed in the following image, only when you skip one of the
|
|
| 35 |
|
| 36 |
## Text-to-Image Usage
|
| 37 |
|
| 38 |
-
|
| 39 |
|
| 40 |
```python
|
| 41 |
import torch
|
|
@@ -71,7 +73,7 @@ image.save("output.png")
|
|
| 71 |
```
|
| 72 |
|
| 73 |
## ComfyUI
|
| 74 |
-
We also
|
| 75 |

|
| 76 |
|
| 77 |
## Checkpoints
|
|
|
|
| 15 |
|
| 16 |
# Flux.1 Lite
|
| 17 |
|
| 18 |
+
We are thrilled to announce the alpha release of Flux.1 Lite, an 8B parameter transformer model distilled from the FLUX.1-dev model.
|
| 19 |
|
| 20 |
+
Our goal? To distill FLUX.1-dev into a lighter model, reducing the parameters to just 24 GB, so it can run smoothly on most consumer-grade GPU cards, making high-quality AI models accessible to everyone.
|
| 21 |
|
| 22 |

|
| 23 |
|
| 24 |
## Motivation
|
| 25 |
|
| 26 |
+
As stated by other members of the community like [Ostris](https://ostris.com/2024/09/07/skipping-flux-1-dev-blocks/), it seems that blocks of the Flux1.dev transformer have a different contribution to the final image generation. To explore this, we analyzed the Mean Squared Error (MSE) between the input and output of each block, revealing significant variability.
|
| 27 |
+
|
| 28 |
+
Our findings? Not all blocks are created equal. By strategically skipping less impactful blocks, we've managed to achieve incredible efficiency gains without compromising on quality. The results are striking: skipping just one of the early MMDIT blocks can significantly impact model performance, whereas other blocks have a much smaller effect.
|
| 29 |
|
| 30 |

|
| 31 |

|
|
|
|
| 37 |
|
| 38 |
## Text-to-Image Usage
|
| 39 |
|
| 40 |
+
Flux.1 Lite is ready to unleash your creativity! For the best results, we recommend using a `guidance_scale` of 3.5 and setting `n_steps` between 22 and 30.
|
| 41 |
|
| 42 |
```python
|
| 43 |
import torch
|
|
|
|
| 73 |
```
|
| 74 |
|
| 75 |
## ComfyUI
|
| 76 |
+
We've also crafted a ComfyUI workflow to make using Flux.1 Lite even more seamless! Find it in `comfy/flux.1-lite_workflow.json`.
|
| 77 |

|
| 78 |
|
| 79 |
## Checkpoints
|