update docs
Browse files- .DS_Store +0 -0
- .gitattributes +2 -0
- README.md +6 -5
- flux1-lite_sample.png +3 -0
- sample_images/.DS_Store +0 -0
- sample_images/flux1-lite-8B_sample.png +3 -0
- sample_images/freepik_logo.png +3 -0
.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
.gitattributes
CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
flux1-lite_sample.png filter=lfs diff=lfs merge=lfs -text
|
37 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -11,13 +11,14 @@ tags:
|
|
11 |
- text-to-image
|
12 |
---
|
13 |
|
|
|
|
|
14 |
# Flux.1 Lite
|
|
|
15 |
We want to announce the alpha version of our new distilled Flux.1 Lite model, an 8B parameter transformer model distilled from the original Flux1. dev model.
|
16 |
|
17 |
Our goal is to further reduce FLUX.1-dev transformer parameters up to 24Gb to make it compatible with most of GPU cards.
|
18 |
|
19 |
-
![](./flux1-lite-8B_tearser.jpg)
|
20 |
-
|
21 |
|
22 |
## News🔥🔥🔥
|
23 |
* Oct.18, 2024. Alpha 8B checkpoint and comparison demo 🤗 (i.e. [Flux.1 Lite](https://huggingface.co/spaces/Freepik/flux.1-lite)) is publicly available on [HuggingFace Repo](https://huggingface.co/Freepik/flux.1-lite-8B-alpha).
|
@@ -55,13 +56,13 @@ pipe = FluxPipeline.from_pretrained(
|
|
55 |
prompt = "Scene inspired by 2000 comedy animation, a glowing green alien whose fluorescent skin emits light, standing in a dark purple forest. The alien is holding a large sign that reads 'LITE 8B ALPHA' in bold letters. The forest around is shadowy, with tall, eerie trees and mist rolling in. The alien radiates a soft, supernatural glow, illuminating the surroundings, creating a stark contrast between light and darkness. Style of an old comic, with flat colors, halftone shading, and a slightly weathered, vintage texture."
|
56 |
|
57 |
guidance_scale = 3.5 # Important to keep guidance_scale to 3.5
|
58 |
-
n_steps =
|
59 |
-
seed =
|
60 |
|
61 |
with torch.inference_mode():
|
62 |
image = pipe(
|
63 |
prompt=prompt,
|
64 |
-
generator=torch.Generator(device="
|
65 |
num_inference_steps=n_steps,
|
66 |
guidance_scale=guidance_scale,
|
67 |
height=1024,
|
|
|
11 |
- text-to-image
|
12 |
---
|
13 |
|
14 |
+
![Flux.1 Lite](./sample_images/flux1-lite-8B_sample.png)
|
15 |
+
|
16 |
# Flux.1 Lite
|
17 |
+
|
18 |
We want to announce the alpha version of our new distilled Flux.1 Lite model, an 8B parameter transformer model distilled from the original Flux1. dev model.
|
19 |
|
20 |
Our goal is to further reduce FLUX.1-dev transformer parameters up to 24Gb to make it compatible with most of GPU cards.
|
21 |
|
|
|
|
|
22 |
|
23 |
## News🔥🔥🔥
|
24 |
* Oct.18, 2024. Alpha 8B checkpoint and comparison demo 🤗 (i.e. [Flux.1 Lite](https://huggingface.co/spaces/Freepik/flux.1-lite)) is publicly available on [HuggingFace Repo](https://huggingface.co/Freepik/flux.1-lite-8B-alpha).
|
|
|
56 |
prompt = "Scene inspired by 2000 comedy animation, a glowing green alien whose fluorescent skin emits light, standing in a dark purple forest. The alien is holding a large sign that reads 'LITE 8B ALPHA' in bold letters. The forest around is shadowy, with tall, eerie trees and mist rolling in. The alien radiates a soft, supernatural glow, illuminating the surroundings, creating a stark contrast between light and darkness. Style of an old comic, with flat colors, halftone shading, and a slightly weathered, vintage texture."
|
57 |
|
58 |
guidance_scale = 3.5 # Important to keep guidance_scale to 3.5
|
59 |
+
n_steps = 28
|
60 |
+
seed = 11
|
61 |
|
62 |
with torch.inference_mode():
|
63 |
image = pipe(
|
64 |
prompt=prompt,
|
65 |
+
generator=torch.Generator(device="cpu").manual_seed(seed),
|
66 |
num_inference_steps=n_steps,
|
67 |
guidance_scale=guidance_scale,
|
68 |
height=1024,
|
flux1-lite_sample.png
ADDED
Git LFS Details
|
sample_images/.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
sample_images/flux1-lite-8B_sample.png
ADDED
Git LFS Details
|
sample_images/freepik_logo.png
ADDED
Git LFS Details
|