Skip to content

Commit 5c6ce3c

Browse files
authored
Merge branch 'main' into update-skyreels-v2
2 parents 1f29453 + 4fcd0bc commit 5c6ce3c

File tree

70 files changed

+2183
-55
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+2183
-55
lines changed

docs/source/en/_toctree.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,8 @@
340340
title: AllegroTransformer3DModel
341341
- local: api/models/aura_flow_transformer2d
342342
title: AuraFlowTransformer2DModel
343+
- local: api/models/bria_transformer
344+
title: BriaTransformer2DModel
343345
- local: api/models/chroma_transformer
344346
title: ChromaTransformer2DModel
345347
- local: api/models/cogvideox_transformer3d
@@ -468,6 +470,8 @@
468470
title: AutoPipeline
469471
- local: api/pipelines/blip_diffusion
470472
title: BLIP-Diffusion
473+
- local: api/pipelines/bria_3_2
474+
title: Bria 3.2
471475
- local: api/pipelines/chroma
472476
title: Chroma
473477
- local: api/pipelines/cogvideox
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!--Copyright 2025 The HuggingFace Team. All rights reserved.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
4+
the License. You may obtain a copy of the License at
5+
6+
http://www.apache.org/licenses/LICENSE-2.0
7+
8+
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
9+
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
10+
specific language governing permissions and limitations under the License.
11+
-->
12+
13+
# BriaTransformer2DModel
14+
15+
A modified flux Transformer model from [Bria](https://huggingface.co/briaai/BRIA-3.2)
16+
17+
## BriaTransformer2DModel
18+
19+
[[autodoc]] BriaTransformer2DModel
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<!--Copyright 2025 The HuggingFace Team. All rights reserved.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
4+
the License. You may obtain a copy of the License at
5+
6+
http://www.apache.org/licenses/LICENSE-2.0
7+
8+
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
9+
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
10+
specific language governing permissions and limitations under the License.
11+
-->
12+
13+
# Bria 3.2
14+
15+
Bria 3.2 is the next-generation commercial-ready text-to-image model. With just 4 billion parameters, it provides exceptional aesthetics and text rendering, evaluated to provide on par results to leading open-source models, and outperforming other licensed models.
16+
In addition to being built entirely on licensed data, 3.2 provides several advantages for enterprise and commercial use:
17+
18+
- Efficient Compute - the model is X3 smaller than the equivalent models in the market (4B parameters vs 12B parameters other open source models)
19+
- Architecture Consistency: Same architecture as 3.1—ideal for users looking to upgrade without disruption.
20+
- Fine-tuning Speedup: 2x faster fine-tuning on L40S and A100.
21+
22+
Original model checkpoints for Bria 3.2 can be found [here](https://huggingface.co/briaai/BRIA-3.2).
23+
Github repo for Bria 3.2 can be found [here](https://github.com/Bria-AI/BRIA-3.2).
24+
25+
If you want to learn more about the Bria platform, and get free traril access, please visit [bria.ai](https://bria.ai).
26+
27+
28+
## Usage
29+
30+
_As the model is gated, before using it with diffusers you first need to go to the [Bria 3.2 Hugging Face page](https://huggingface.co/briaai/BRIA-3.2), fill in the form and accept the gate. Once you are in, you need to login so that your system knows you’ve accepted the gate._
31+
32+
Use the command below to log in:
33+
34+
```bash
35+
hf auth login
36+
```
37+
38+
39+
## BriaPipeline
40+
41+
[[autodoc]] BriaPipeline
42+
- all
43+
- __call__
44+

docs/source/en/api/pipelines/overview.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ The table below lists all the pipelines currently available in 🤗 Diffusers an
3737
| [AudioLDM2](audioldm2) | text2audio |
3838
| [AuraFlow](auraflow) | text2image |
3939
| [BLIP Diffusion](blip_diffusion) | text2image |
40+
| [Bria 3.2](bria_3_2) | text2image |
4041
| [CogVideoX](cogvideox) | text2video |
4142
| [Consistency Models](consistency_models) | unconditional image generation |
4243
| [ControlNet](controlnet) | text2image, image2image, inpainting |

examples/advanced_diffusion_training/train_dreambooth_lora_flux_advanced.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
import wandb
9191

9292
# Will error if the minimal version of diffusers is not installed. Remove at your own risks.
93-
check_min_version("0.35.0.dev0")
93+
check_min_version("0.36.0.dev0")
9494

9595
logger = get_logger(__name__)
9696

examples/advanced_diffusion_training/train_dreambooth_lora_sd15_advanced.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888

8989

9090
# Will error if the minimal version of diffusers is not installed. Remove at your own risks.
91-
check_min_version("0.35.0.dev0")
91+
check_min_version("0.36.0.dev0")
9292

9393
logger = get_logger(__name__)
9494

examples/advanced_diffusion_training/train_dreambooth_lora_sdxl_advanced.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
import wandb
9696

9797
# Will error if the minimal version of diffusers is not installed. Remove at your own risks.
98-
check_min_version("0.35.0.dev0")
98+
check_min_version("0.36.0.dev0")
9999

100100
logger = get_logger(__name__)
101101

examples/cogvideo/train_cogvideox_image_to_video_lora.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
import wandb
6262

6363
# Will error if the minimal version of diffusers is not installed. Remove at your own risks.
64-
check_min_version("0.35.0.dev0")
64+
check_min_version("0.36.0.dev0")
6565

6666
logger = get_logger(__name__)
6767

examples/cogvideo/train_cogvideox_lora.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
import wandb
5353

5454
# Will error if the minimal version of diffusers is not installed. Remove at your own risks.
55-
check_min_version("0.35.0.dev0")
55+
check_min_version("0.36.0.dev0")
5656

5757
logger = get_logger(__name__)
5858

examples/cogview4-control/train_control_cogview4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
import wandb
6161

6262
# Will error if the minimal version of diffusers is not installed. Remove at your own risks.
63-
check_min_version("0.35.0.dev0")
63+
check_min_version("0.36.0.dev0")
6464

6565
logger = get_logger(__name__)
6666

0 commit comments

Comments
 (0)