Unverified Commit c006a95d authored by Jason Cox's avatar Jason Cox Committed by GitHub
Browse files

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
parent df267ee4
...@@ -9,8 +9,8 @@ This guide will show you how to use the [`StableDiffusion3Pipeline`] in a server ...@@ -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. Start by navigating to the `examples/server` folder and installing all of the dependencies.
```py ```py
pip install . pip install diffusers
pip install -f requirements.txt pip install -r requirements.txt
``` ```
Launch the server with the following command. Launch the server with the following command.
......
...@@ -7,3 +7,4 @@ prometheus_client >= 0.18.0 ...@@ -7,3 +7,4 @@ prometheus_client >= 0.18.0
prometheus-fastapi-instrumentator >= 7.0.0 prometheus-fastapi-instrumentator >= 7.0.0
fastapi fastapi
uvicorn uvicorn
accelerate
...@@ -39,7 +39,7 @@ fsspec==2024.10.0 ...@@ -39,7 +39,7 @@ fsspec==2024.10.0
# torch # torch
h11==0.14.0 h11==0.14.0
# via uvicorn # via uvicorn
huggingface-hub==0.26.1 huggingface-hub==0.35.0
# via # via
# tokenizers # tokenizers
# transformers # transformers
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment