Update README.md
Browse files
README.md
CHANGED
|
@@ -12,17 +12,15 @@ tags:
|
|
| 12 |
> **Note:** This repository is an **archived mirror** and is **not** the original upstream source.
|
| 13 |
> The original model, weights, and documentation are developed and maintained by **Black Forest Labs**.
|
| 14 |
>
|
| 15 |
-
>
|
| 16 |
-
> The model weights hosted here are **unmodified**. Minor editorial changes may have been made to this README (e.g., formatting or clarification) and do **not** alter the model, its behavior, or its licensing.
|
| 17 |
>
|
| 18 |
-
> The model is released under the **Apache License, Version 2.0**, which permits use,
|
| 19 |
>
|
| 20 |
> **Cooperation Notice:**
|
| 21 |
-
>
|
|
|
|
| 22 |
>
|
| 23 |
-
>
|
| 24 |
-
>
|
| 25 |
-
> *This repository does not claim any affiliation with or endorsement by Black Forest Labs.*
|
| 26 |
|
| 27 |
`FLUX.1 [schnell]` is a 12-billion-parameter rectified flow transformer capable of generating high-quality images from text descriptions.
|
| 28 |
|
|
@@ -61,8 +59,10 @@ Then you can use `FluxPipeline` to run the model
|
|
| 61 |
```python
|
| 62 |
import torch
|
| 63 |
from diffusers import FluxPipeline
|
|
|
|
| 64 |
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-schnell", torch_dtype=torch.bfloat16)
|
| 65 |
pipe.enable_model_cpu_offload() #save some VRAM by offloading the model to CPU. Remove this if you have enough GPU power
|
|
|
|
| 66 |
prompt = "A cat holding a sign that says hello world"
|
| 67 |
image = pipe(
|
| 68 |
prompt,
|
|
|
|
| 12 |
> **Note:** This repository is an **archived mirror** and is **not** the original upstream source.
|
| 13 |
> The original model, weights, and documentation are developed and maintained by **Black Forest Labs**.
|
| 14 |
>
|
| 15 |
+
> All hosted model weights are **unmodified**. Any README edits are purely editorial and do not affect the model, its behavior, or its licensing.
|
|
|
|
| 16 |
>
|
| 17 |
+
> The model is released under the **Apache License, Version 2.0**, which permits use, modification, and redistribution under its terms.
|
| 18 |
>
|
| 19 |
> **Cooperation Notice:**
|
| 20 |
+
> The maintainer will cooperate in good faith with the original rights holder or upstream maintainers, consistent with the Apache License 2.0.
|
| 21 |
+
> Requests may be submitted via **Discussions**.
|
| 22 |
>
|
| 23 |
+
> *This repository is not affiliated with or endorsed by Black Forest Labs.*
|
|
|
|
|
|
|
| 24 |
|
| 25 |
`FLUX.1 [schnell]` is a 12-billion-parameter rectified flow transformer capable of generating high-quality images from text descriptions.
|
| 26 |
|
|
|
|
| 59 |
```python
|
| 60 |
import torch
|
| 61 |
from diffusers import FluxPipeline
|
| 62 |
+
|
| 63 |
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-schnell", torch_dtype=torch.bfloat16)
|
| 64 |
pipe.enable_model_cpu_offload() #save some VRAM by offloading the model to CPU. Remove this if you have enough GPU power
|
| 65 |
+
|
| 66 |
prompt = "A cat holding a sign that says hello world"
|
| 67 |
image = pipe(
|
| 68 |
prompt,
|