Skip to content

Conversation

@stevhliu
Copy link
Member

Refreshes the Effective and efficient guide as a basic performance guide. They should be easy/simple steps for users just getting started to optimize inference. There is a link to the Inference Optimization section for the latest and more advanced methods.

@HuggingFaceDocBuilderDev

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.

@stevhliu stevhliu requested a review from sayakpaul August 12, 2025 22:03
Diffusion is a random process that is computationally demanding. You may need to run the [`DiffusionPipeline`] several times before getting a desired output. That's why it's important to carefully balance generation speed and memory usage in order to iterate faster,

The example prompt you'll use is a portrait of an old warrior chief, but feel free to use your own prompt:
This guide recommends some basic performance tips for using the [`DiffusionPipeline`]. Refer to the Inference Optimization section for more detailed performance guides.
Copy link
Member

@sayakpaul sayakpaul Aug 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we hyperlink the "Inference Optimization" section?

@stevhliu stevhliu merged commit a6d2fc2 into huggingface:main Aug 13, 2025
1 check passed
@stevhliu stevhliu deleted the usage-tips branch August 13, 2025 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants