Skip to content

Commit dc77bba

Browse files
committed
Merge branch 'main' into dream-7b-pipeline
2 parents dac71b1 + c2e5ece commit dc77bba

File tree

625 files changed

+14919
-5036
lines changed

Some content is hidden

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

625 files changed

+14919
-5036
lines changed

.github/workflows/nightly_tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,9 @@ jobs:
340340
- backend: "optimum_quanto"
341341
test_location: "quanto"
342342
additional_deps: []
343+
- backend: "nvidia_modelopt"
344+
test_location: "modelopt"
345+
additional_deps: []
343346
runs-on:
344347
group: aws-g6e-xlarge-plus
345348
container:

.github/workflows/pr_flax_dependency_test.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ limitations under the License.
3737

3838
## Installation
3939

40-
We recommend installing 🤗 Diffusers in a virtual environment from PyPI or Conda. For more details about installing [PyTorch](https://pytorch.org/get-started/locally/) and [Flax](https://flax.readthedocs.io/en/latest/#installation), please refer to their official documentation.
40+
We recommend installing 🤗 Diffusers in a virtual environment from PyPI or Conda. For more details about installing [PyTorch](https://pytorch.org/get-started/locally/), please refer to their official documentation.
4141

4242
### PyTorch
4343

@@ -53,14 +53,6 @@ With `conda` (maintained by the community):
5353
conda install -c conda-forge diffusers
5454
```
5555

56-
### Flax
57-
58-
With `pip` (official package):
59-
60-
```bash
61-
pip install --upgrade diffusers[flax]
62-
```
63-
6456
### Apple Silicon (M1/M2) support
6557

6658
Please refer to the [How to use Stable Diffusion in Apple Silicon](https://huggingface.co/docs/diffusers/optimization/mps) guide.

docker/diffusers-flax-cpu/Dockerfile

Lines changed: 0 additions & 49 deletions
This file was deleted.

docker/diffusers-flax-tpu/Dockerfile

Lines changed: 0 additions & 51 deletions
This file was deleted.

docs/source/en/_toctree.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,27 @@
99
- local: stable_diffusion
1010
title: Basic performance
1111

12-
- title: DiffusionPipeline
12+
- title: Pipelines
1313
isExpanded: false
1414
sections:
1515
- local: using-diffusers/loading
16-
title: Load pipelines
16+
title: DiffusionPipeline
1717
- local: tutorials/autopipeline
1818
title: AutoPipeline
1919
- local: using-diffusers/custom_pipeline_overview
20-
title: Load community pipelines and components
20+
title: Community pipelines and components
2121
- local: using-diffusers/callback
2222
title: Pipeline callbacks
2323
- local: using-diffusers/reusing_seeds
24-
title: Reproducible pipelines
24+
title: Reproducibility
2525
- local: using-diffusers/schedulers
2626
title: Load schedulers and models
2727
- local: using-diffusers/scheduler_features
2828
title: Scheduler features
2929
- local: using-diffusers/other-formats
3030
title: Model files and layouts
3131
- local: using-diffusers/push_to_hub
32-
title: Push files to the Hub
32+
title: Sharing pipelines and models
3333

3434
- title: Adapters
3535
isExpanded: false
@@ -62,8 +62,6 @@
6262
title: Scheduler features
6363
- local: using-diffusers/callback
6464
title: Pipeline callbacks
65-
- local: using-diffusers/reusing_seeds
66-
title: Reproducible pipelines
6765
- local: using-diffusers/image_quality
6866
title: Controlling image quality
6967

@@ -77,7 +75,7 @@
7775
- local: optimization/memory
7876
title: Reduce memory usage
7977
- local: optimization/speed-memory-optims
80-
title: Compile and offloading quantized models
78+
title: Compiling and offloading quantized models
8179
- title: Community optimizations
8280
sections:
8381
- local: optimization/pruna
@@ -190,12 +188,12 @@
190188
title: torchao
191189
- local: quantization/quanto
192190
title: quanto
191+
- local: quantization/modelopt
192+
title: NVIDIA ModelOpt
193193

194194
- title: Model accelerators and hardware
195195
isExpanded: false
196196
sections:
197-
- local: using-diffusers/stable_diffusion_jax_how_to
198-
title: JAX/Flax
199197
- local: optimization/onnx
200198
title: ONNX
201199
- local: optimization/open_vino
@@ -340,6 +338,8 @@
340338
title: AllegroTransformer3DModel
341339
- local: api/models/aura_flow_transformer2d
342340
title: AuraFlowTransformer2DModel
341+
- local: api/models/bria_transformer
342+
title: BriaTransformer2DModel
343343
- local: api/models/chroma_transformer
344344
title: ChromaTransformer2DModel
345345
- local: api/models/cogvideox_transformer3d
@@ -468,6 +468,8 @@
468468
title: AutoPipeline
469469
- local: api/pipelines/blip_diffusion
470470
title: BLIP-Diffusion
471+
- local: api/pipelines/bria_3_2
472+
title: Bria 3.2
471473
- local: api/pipelines/chroma
472474
title: Chroma
473475
- local: api/pipelines/cogvideox

docs/source/en/api/models/autoencoderkl.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,3 @@ model = AutoencoderKL.from_single_file(url)
4444
## DecoderOutput
4545

4646
[[autodoc]] models.autoencoders.vae.DecoderOutput
47-
48-
## FlaxAutoencoderKL
49-
50-
[[autodoc]] FlaxAutoencoderKL
51-
52-
## FlaxAutoencoderKLOutput
53-
54-
[[autodoc]] models.vae_flax.FlaxAutoencoderKLOutput
55-
56-
## FlaxDecoderOutput
57-
58-
[[autodoc]] models.vae_flax.FlaxDecoderOutput
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

docs/source/en/api/models/controlnet.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,3 @@ pipe = StableDiffusionControlNetPipeline.from_single_file(url, controlnet=contro
4040
## ControlNetOutput
4141

4242
[[autodoc]] models.controlnets.controlnet.ControlNetOutput
43-
44-
## FlaxControlNetModel
45-
46-
[[autodoc]] FlaxControlNetModel
47-
48-
## FlaxControlNetOutput
49-
50-
[[autodoc]] models.controlnets.controlnet_flax.FlaxControlNetOutput

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ All models are built from the base [`ModelMixin`] class which is a [`torch.nn.Mo
1919
## ModelMixin
2020
[[autodoc]] ModelMixin
2121

22-
## FlaxModelMixin
23-
24-
[[autodoc]] FlaxModelMixin
25-
2622
## PushToHubMixin
2723

2824
[[autodoc]] utils.PushToHubMixin

0 commit comments

Comments
 (0)