Skip to content

Commit

Permalink
[docs] Reproducible pipelines (#7769)
Browse files Browse the repository at this point in the history
* reproducibility

* feedback

* feedback

* fix path

* github link
  • Loading branch information
stevhliu authored Apr 25, 2024
1 parent 142f353 commit 1816880
Show file tree
Hide file tree
Showing 8 changed files with 148 additions and 230 deletions.
4 changes: 1 addition & 3 deletions docs/source/en/_toctree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
- local: using-diffusers/callback
title: Pipeline callbacks
- local: using-diffusers/reusing_seeds
title: Improve image quality with deterministic generation
title: Reproducible pipelines
- local: using-diffusers/control_brightness
title: Control image brightness
- local: using-diffusers/weighted_prompts
Expand All @@ -89,8 +89,6 @@
title: Shap-E
- local: using-diffusers/diffedit
title: DiffEdit
- local: using-diffusers/reproducibility
title: Create reproducible pipelines
- local: using-diffusers/custom_pipeline_examples
title: Community pipelines
- local: using-diffusers/contribute_pipeline
Expand Down
4 changes: 4 additions & 0 deletions docs/source/en/api/utilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@ Utility and helper functions for working with 🤗 Diffusers.
## make_image_grid

[[autodoc]] utils.make_image_grid

## randn_tensor

[[autodoc]] utils.torch_utils.randn_tensor
2 changes: 1 addition & 1 deletion docs/source/en/stable_diffusion.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ One of the simplest ways to speed up inference is to place the pipeline on a GPU
pipeline = pipeline.to("cuda")
```

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):
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):

```python
import torch
Expand Down
191 changes: 0 additions & 191 deletions docs/source/en/using-diffusers/reproducibility.md

This file was deleted.

Loading

0 comments on commit 1816880

Please sign in to comment.