Skip to content

Conversation

jasonacox
Copy link
Contributor

This pull request fixes the server example's dependencies and installation instructions.

# from
pip install .
pip install -f requirements.txt

# to this
pip install diffusers
pip install -r requirements.txt

Dependency Updates:

  • Updated huggingface-hub to version 0.35.0 in requirements.txt to ensure compatibility with recent features and bug fixes.
  • Added accelerate to requirements.in to support efficient model inference and hardware utilization.
  • Note: This follows the server-async instructions.

Installation Instructions:

  • Updated the installation commands in README.md to explicitly install diffusers and corrected the requirements file flag to -r for clarity and correctness.

@Copilot Copilot AI review requested due to automatic review settings September 21, 2025 21:34
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes the server example's installation instructions and updates dependencies to ensure proper setup and compatibility. The changes correct installation commands and update package versions to match current requirements.

  • Updated installation instructions to properly install diffusers and use correct pip flags
  • Updated huggingface-hub to version 0.35.0 for compatibility
  • Added accelerate dependency to support efficient model inference

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
examples/server/requirements.txt Updates huggingface-hub version to 0.35.0
examples/server/requirements.in Adds accelerate dependency for model inference
examples/server/README.md Fixes installation commands to use correct pip syntax

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@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.

@sayakpaul sayakpaul merged commit c006a95 into huggingface:main Sep 22, 2025
1 check passed
@sayakpaul
Copy link
Member

Thank you!

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