OpenFLUX.1/README.md

32 lines
2.0 KiB
Markdown
Raw Permalink Normal View History

2024-08-04 16:05:18 +00:00
---
license: apache-2.0
library_name: diffusers
pipeline_tag: text-to-image
---
2024-08-10 22:14:39 +00:00
2024-09-30 23:20:55 +00:00
<img src="https://huggingface.co/ostris/OpenFLUX.1/resolve/main/assets/banner_0_1_0-2.png" style="max-width: 100%;">
2024-08-10 22:30:13 +00:00
2024-09-30 23:14:12 +00:00
<div style="color: #f0b800;">
2024-08-04 16:48:31 +00:00
2024-09-30 23:14:12 +00:00
# <span style="color: #f0b800;"> Beta Version v0.1.0 </span>
2024-08-04 16:48:31 +00:00
2024-09-30 23:14:12 +00:00
After numerous iterations and spending way too much of my own money on compute to train this, I think it is finally at the point I am happy to consider it a beta. I am still going to continue to train it, but the distillation has been mostly trained out of it at this point. So phase 1 is complete. Feel free to use it and fine tune it, but be aware that I will likely continue to update it.
2024-08-04 16:05:18 +00:00
2024-08-04 16:48:31 +00:00
</div>
2024-09-30 23:14:12 +00:00
<img src="https://huggingface.co/ostris/OpenFLUX.1/resolve/main/assets/banner_0_1_0-3.png" style="max-width: 100%;">
2024-08-04 16:05:18 +00:00
## What is this?
2024-08-10 22:14:39 +00:00
2024-09-30 23:14:12 +00:00
This is a fine tune of the [FLUX.1-schnell](https://huggingface.co/black-forest-labs/FLUX.1-schnell) model that has had the distillation trained out of it. Flux Schnell is licensed Apache 2.0, but it is a distilled model, meaning you cannot fine-tune it. However, it is an amazing model that can generate amazing images in 1-4 steps. This is an attempt to remove the distillation to create an open source, permissivle licensed model that can be fine tuned.
2024-09-30 23:20:55 +00:00
<img src="https://huggingface.co/ostris/OpenFLUX.1/resolve/main/assets/banner_0_1_0-1.png" style="max-width: 100%;">
2024-09-30 23:14:12 +00:00
## How to Use
Since the distillation has been fine tuned out of the model, it uses classic CFG. Since it requires CFG, it will require a different pipeline than the original FLUX.1 schnell and dev models. This pipeline can be found in open_flux_pipeline.py in this repo. I will be adding example code in the next few days, but for now, a cfg of 3.5 seems to work well.
2024-09-30 23:20:55 +00:00
<img src="https://huggingface.co/ostris/OpenFLUX.1/resolve/main/assets/banner_0_1_0-0.png" style="max-width: 100%;">
2024-09-30 23:14:12 +00:00
2024-09-30 23:20:55 +00:00
<img src="https://huggingface.co/ostris/OpenFLUX.1/resolve/main/assets/banner_0_1_0-4.png" style="max-width: 100%;">