Skip to content

Commit 18d2395

Browse files
[Bugfix] fix fastapi version (#5047)
### What this PR does / why we need it? fix fastapi version == 0.123.10(<0.124.0) - vLLM version: v0.12.0 - vLLM main: vllm-project/vllm@ad32e3e Signed-off-by: hfadzxy <[email protected]>
1 parent ddd475d commit 18d2395

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

examples/disaggregated_prefill_v1/load_balance_proxy_layerwise_server_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# Prerequisites:
1818
# - Python 3.8+
1919
# - Install dependencies:
20-
# pip install fastapi httpx uvicorn vllm
20+
# pip install fastapi<0.124.0 httpx uvicorn vllm
2121
#
2222
# Step 1: Start Your Backend Servers
2323
# ----------------------------------

examples/disaggregated_prefill_v1/load_balance_proxy_server_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# Prerequisites:
1818
# - Python 3.10+
1919
# - Install dependencies:
20-
# pip install fastapi httpx uvicorn vllm
20+
# pip install fastapi<0.124.0 httpx uvicorn vllm
2121
#
2222
# Step 1: Start Your Backend Servers
2323
# ----------------------------------

examples/external_online_dp/dp_load_balance_proxy_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# Prerequisites:
1818
# - Python 3.10+
1919
# - Install dependencies:
20-
# pip install fastapi httpx uvicorn
20+
# pip install fastapi<0.124.0 httpx uvicorn
2121
#
2222
# Step 1: Start Your Backend Servers
2323
# ----------------------------------

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ requires = [
2525
"msgpack",
2626
"quart",
2727
"numba",
28+
"fastapi<0.124.0",
2829
"opencv-python-headless<=4.11.0.86", # Required to avoid numpy version conflict with vllm
2930
"compressed_tensors>=0.11.0"
3031
]

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ numba
3131
torch-npu==2.8.0
3232

3333
transformers<=4.57.1
34+
fastapi<0.124.0

0 commit comments

Comments
 (0)