Skip to content

Commit 1816880

Browse files
authored
[docs] Reproducible pipelines (huggingface#7769)
* reproducibility * feedback * feedback * fix path * github link
1 parent 142f353 commit 1816880

File tree

8 files changed

+148
-230
lines changed

8 files changed

+148
-230
lines changed

docs/source/en/_toctree.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
- local: using-diffusers/callback
6363
title: Pipeline callbacks
6464
- local: using-diffusers/reusing_seeds
65-
title: Improve image quality with deterministic generation
65+
title: Reproducible pipelines
6666
- local: using-diffusers/control_brightness
6767
title: Control image brightness
6868
- local: using-diffusers/weighted_prompts
@@ -89,8 +89,6 @@
8989
title: Shap-E
9090
- local: using-diffusers/diffedit
9191
title: DiffEdit
92-
- local: using-diffusers/reproducibility
93-
title: Create reproducible pipelines
9492
- local: using-diffusers/custom_pipeline_examples
9593
title: Community pipelines
9694
- local: using-diffusers/contribute_pipeline

docs/source/en/api/utilities.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,7 @@ Utility and helper functions for working with 🤗 Diffusers.
3737
## make_image_grid
3838

3939
[[autodoc]] utils.make_image_grid
40+
41+
## randn_tensor
42+
43+
[[autodoc]] utils.torch_utils.randn_tensor

docs/source/en/stable_diffusion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ One of the simplest ways to speed up inference is to place the pipeline on a GPU
4949
pipeline = pipeline.to("cuda")
5050
```
5151

52-
To make sure you can use the same image and improve on it, use a [`Generator`](https://pytorch.org/docs/stable/generated/torch.Generator.html) and set a seed for [reproducibility](./using-diffusers/reproducibility):
52+
To make sure you can use the same image and improve on it, use a [`Generator`](https://pytorch.org/docs/stable/generated/torch.Generator.html) and set a seed for [reproducibility](./using-diffusers/reusing_seeds):
5353

5454
```python
5555
import torch

docs/source/en/using-diffusers/reproducibility.md

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

0 commit comments

Comments
 (0)