Fix example server install instructions (#12362)

* Upgrade huggingface-hub to version 0.35.0

Updated huggingface-hub version from 0.26.1 to 0.35.0.

* Add uvicorn and accelerate to requirements

* Fix install instructions for server
This commit is contained in:
Jason Cox
2025-09-21 20:07:17 -07:00
committed by GitHub
parent df267ee4e8
commit c006a95df1
3 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -9,8 +9,8 @@ This guide will show you how to use the [`StableDiffusion3Pipeline`] in a server
Start by navigating to the `examples/server` folder and installing all of the dependencies.
```py
pip install .
pip install -f requirements.txt
pip install diffusers
pip install -r requirements.txt
```
Launch the server with the following command.
+2 -1
View File
@@ -6,4 +6,5 @@ py-consul
prometheus_client >= 0.18.0
prometheus-fastapi-instrumentator >= 7.0.0
fastapi
uvicorn
uvicorn
accelerate
+1 -1
View File
@@ -39,7 +39,7 @@ fsspec==2024.10.0
# torch
h11==0.14.0
# via uvicorn
huggingface-hub==0.26.1
huggingface-hub==0.35.0
# via
# tokenizers
# transformers