diffusers
[Docs] add note on caching in fast diffusion
#8675
Merged

[Docs] add note on caching in fast diffusion #8675

stevhliu merged 4 commits into main from add-caching-note
sayakpaul
sayakpaul361 days ago
No description provided.
sayakpaul add note on caching in fast diffusion
28ef949c
sayakpaul sayakpaul requested a review from stevhliu stevhliu 361 days ago
HuggingFaceDocBuilderDev
HuggingFaceDocBuilderDev361 days ago

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

sayakpaul formatting
1b4c4d46
stevhliu
stevhliu approved these changes on 2024-06-24
stevhliu361 days ago

Looks good!

Conversation is marked as resolved
Show resolved
docs/source/en/tutorials/fast_diffusion.md
171168</div>
172169
170> [!TIP]
171
> Starting with PyTorch 2.3.1, you can control the caching behaviour of `torch.compile()`. This is particularly beneficial for compilation modes like `"max-autotune"` which performs a grid-search over several compilation flags to find the optimal configuration. Learn more about how to enable caching when using `torch.compile()` from [here](https://pytorch.org/tutorials/recipes/torch_compile_caching_tutorial.html).
stevhliu361 days ago
Suggested change
> Starting with PyTorch 2.3.1, you can control the caching behaviour of `torch.compile()`. This is particularly beneficial for compilation modes like `"max-autotune"` which performs a grid-search over several compilation flags to find the optimal configuration. Learn more about how to enable caching when using `torch.compile()` from [here](https://pytorch.org/tutorials/recipes/torch_compile_caching_tutorial.html).
> From PyTorch 2.3.1, you can control the caching behavior of `torch.compile()`. This is particularly beneficial for compilation modes like `"max-autotune"` which performs a grid-search over several compilation flags to find the optimal configuration. Learn more in the [Compile Time Caching in torch.compile](https://pytorch.org/tutorials/recipes/torch_compile_caching_tutorial.html) tutorial.
sayakpaul Update docs/source/en/tutorials/fast_diffusion.md
3e3d102f
sayakpaul Merge branch 'main' into add-caching-note
6ca6fbd6
stevhliu stevhliu merged bc90c28b into main 361 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone