Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5237a82

Browse files
[docs] Remove Flax (#12244)
* remove flax * toctree * feedback
1 parent 513dbdb commit 5237a82

23 files changed

+25
-736
lines changed

‎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.

‎docs/source/en/_toctree.yml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,6 @@
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

‎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

‎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

‎docs/source/en/api/models/unet2d-cond.md‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,3 @@ The abstract from the paper is:
2323

2424
## UNet2DConditionOutput
2525
[[autodoc]] models.unets.unet_2d_condition.UNet2DConditionOutput
26-
27-
## FlaxUNet2DConditionModel
28-
[[autodoc]] models.unets.unet_2d_condition_flax.FlaxUNet2DConditionModel
29-
30-
## FlaxUNet2DConditionOutput
31-
[[autodoc]] models.unets.unet_2d_condition_flax.FlaxUNet2DConditionOutput

‎docs/source/en/api/outputs.md‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ To check a specific pipeline or model output, refer to its corresponding API doc
5454

5555
[[autodoc]] pipelines.ImagePipelineOutput
5656

57-
## FlaxImagePipelineOutput
58-
59-
[[autodoc]] pipelines.pipeline_flax_utils.FlaxImagePipelineOutput
60-
6157
## AudioPipelineOutput
6258

6359
[[autodoc]] pipelines.AudioPipelineOutput

‎docs/source/en/api/pipelines/controlnet.md‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,3 @@ Make sure to check out the Schedulers [guide](../../using-diffusers/schedulers)
7272

7373
## StableDiffusionPipelineOutput
7474
[[autodoc]] pipelines.stable_diffusion.StableDiffusionPipelineOutput
75-
76-
## FlaxStableDiffusionControlNetPipeline
77-
[[autodoc]] FlaxStableDiffusionControlNetPipeline
78-
- all
79-
- __call__
80-
81-
## FlaxStableDiffusionControlNetPipelineOutput
82-
[[autodoc]] pipelines.stable_diffusion.FlaxStableDiffusionPipelineOutput

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,6 @@ The table below lists all the pipelines currently available in 🤗 Diffusers an
106106

107107
[[autodoc]] pipelines.StableDiffusionMixin.disable_freeu
108108

109-
## FlaxDiffusionPipeline
110-
111-
[[autodoc]] pipelines.pipeline_flax_utils.FlaxDiffusionPipeline
112-
113109
## PushToHubMixin
114110

115111
[[autodoc]] utils.PushToHubMixin

‎docs/source/en/api/pipelines/stable_diffusion/img2img.md‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,3 @@ Make sure to check out the Stable Diffusion [Tips](overview#tips) section to lea
4747
## StableDiffusionPipelineOutput
4848

4949
[[autodoc]] pipelines.stable_diffusion.StableDiffusionPipelineOutput
50-
51-
## FlaxStableDiffusionImg2ImgPipeline
52-
53-
[[autodoc]] FlaxStableDiffusionImg2ImgPipeline
54-
- all
55-
- __call__
56-
57-
## FlaxStableDiffusionPipelineOutput
58-
59-
[[autodoc]] pipelines.stable_diffusion.FlaxStableDiffusionPipelineOutput

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /