[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:
ad32e3e19c

Signed-off-by: hfadzxy <starmoon_zhang@163.com>
This commit is contained in:
zhangxinyuehfad
2025-12-16 15:58:27 +08:00
committed by GitHub
parent ddd475d5be
commit 18d2395f5e
5 changed files with 5 additions and 3 deletions

View File

@@ -17,7 +17,7 @@
# Prerequisites:
# - Python 3.8+
# - Install dependencies:
# pip install fastapi httpx uvicorn vllm
# pip install fastapi<0.124.0 httpx uvicorn vllm
#
# Step 1: Start Your Backend Servers
# ----------------------------------

View File

@@ -17,7 +17,7 @@
# Prerequisites:
# - Python 3.10+
# - Install dependencies:
# pip install fastapi httpx uvicorn vllm
# pip install fastapi<0.124.0 httpx uvicorn vllm
#
# Step 1: Start Your Backend Servers
# ----------------------------------

View File

@@ -17,7 +17,7 @@
# Prerequisites:
# - Python 3.10+
# - Install dependencies:
# pip install fastapi httpx uvicorn
# pip install fastapi<0.124.0 httpx uvicorn
#
# Step 1: Start Your Backend Servers
# ----------------------------------

View File

@@ -25,6 +25,7 @@ requires = [
"msgpack",
"quart",
"numba",
"fastapi<0.124.0",
"opencv-python-headless<=4.11.0.86", # Required to avoid numpy version conflict with vllm
"compressed_tensors>=0.11.0"
]

View File

@@ -31,3 +31,4 @@ numba
torch-npu==2.8.0
transformers<=4.57.1
fastapi<0.124.0