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 32798bf

Browse files
stevhliusayakpaul
andauthored
[docs] Inference section cleanup (#12281)
init Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
1 parent c2e5ece commit 32798bf

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

‎docs/source/en/_toctree.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,6 @@
5858
title: Batch inference
5959
- local: training/distributed_inference
6060
title: Distributed inference
61-
- local: using-diffusers/scheduler_features
62-
title: Scheduler features
63-
- local: using-diffusers/callback
64-
title: Pipeline callbacks
65-
- local: using-diffusers/image_quality
66-
title: Controlling image quality
6761

6862
- title: Inference optimization
6963
isExpanded: false
@@ -92,6 +86,8 @@
9286
title: xDiT
9387
- local: optimization/para_attn
9488
title: ParaAttention
89+
- local: using-diffusers/image_quality
90+
title: FreeU
9591

9692
- title: Hybrid Inference
9793
isExpanded: false

‎docs/source/en/using-diffusers/image_quality.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,7 @@ an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express o
1010
specific language governing permissions and limitations under the License.
1111
-->
1212

13-
# Controlling image quality
14-
15-
The components of a diffusion model, like the UNet and scheduler, can be optimized to improve the quality of generated images leading to better details. These techniques are especially useful if you don't have the resources to simply use a larger model for inference. You can enable these techniques during inference without any additional training.
16-
17-
This guide will show you how to turn these techniques on in your pipeline and how to configure them to improve the quality of your generated images.
18-
19-
## Details
13+
# FreeU
2014

2115
[FreeU](https://hf.co/papers/2309.11497) improves image details by rebalancing the UNet's backbone and skip connection weights. The skip connections can cause the model to overlook some of the backbone semantics which may lead to unnatural image details in the generated image. This technique does not require any additional training and can be applied on the fly during inference for tasks like image-to-image and text-to-video.
2216

@@ -139,7 +133,7 @@ export_to_video(video_frames, "teddy_bear.mp4", fps=10)
139133
</hfoption>
140134
</hfoptions>
141135

142-
Call the [`pipelines.StableDiffusionMixin.disable_freeu`] method to disable FreeU.
136+
Call the [`~pipelines.StableDiffusionMixin.disable_freeu`] method to disable FreeU.
143137

144138
```py
145139
pipeline.disable_freeu()

0 commit comments

Comments
(0)

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