Skip to content

Commit c19b059

Browse files
committed
include bp link.
1 parent 478df93 commit c19b059

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/source/en/optimization/fp16.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,13 @@ The `step()` function is [called](https://github.com/huggingface/diffusers/blob/
239239

240240
In general, the `sigmas` should [stay on the CPU](https://github.com/huggingface/diffusers/blob/35a969d297cba69110d175ee79c59312b9f49e1e/src/diffusers/schedulers/scheduling_euler_discrete.py#L240) to avoid the communication sync and latency.
241241

242+
<Tip>
243+
244+
Refer to [this blog post](https://pytorch.org/blog/torch-compile-and-diffusers-a-hands-on-guide-to-peak-performance/) for a comprehensive coverage on how to use
245+
`torch.compile` for getting maximum performance in Diffusers for various scenarios.
246+
247+
</Tip>
248+
242249
### Benchmarks
243250

244251
Refer to the [diffusers/benchmarks](https://huggingface.co/datasets/diffusers/benchmarks) dataset to see inference latency and memory usage data for compiled pipelines.

0 commit comments

Comments
 (0)