[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:
@@ -17,7 +17,7 @@
|
|||||||
# Prerequisites:
|
# Prerequisites:
|
||||||
# - Python 3.8+
|
# - Python 3.8+
|
||||||
# - Install dependencies:
|
# - Install dependencies:
|
||||||
# pip install fastapi httpx uvicorn vllm
|
# pip install fastapi<0.124.0 httpx uvicorn vllm
|
||||||
#
|
#
|
||||||
# Step 1: Start Your Backend Servers
|
# Step 1: Start Your Backend Servers
|
||||||
# ----------------------------------
|
# ----------------------------------
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
# Prerequisites:
|
# Prerequisites:
|
||||||
# - Python 3.10+
|
# - Python 3.10+
|
||||||
# - Install dependencies:
|
# - Install dependencies:
|
||||||
# pip install fastapi httpx uvicorn vllm
|
# pip install fastapi<0.124.0 httpx uvicorn vllm
|
||||||
#
|
#
|
||||||
# Step 1: Start Your Backend Servers
|
# Step 1: Start Your Backend Servers
|
||||||
# ----------------------------------
|
# ----------------------------------
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
# Prerequisites:
|
# Prerequisites:
|
||||||
# - Python 3.10+
|
# - Python 3.10+
|
||||||
# - Install dependencies:
|
# - Install dependencies:
|
||||||
# pip install fastapi httpx uvicorn
|
# pip install fastapi<0.124.0 httpx uvicorn
|
||||||
#
|
#
|
||||||
# Step 1: Start Your Backend Servers
|
# Step 1: Start Your Backend Servers
|
||||||
# ----------------------------------
|
# ----------------------------------
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ requires = [
|
|||||||
"msgpack",
|
"msgpack",
|
||||||
"quart",
|
"quart",
|
||||||
"numba",
|
"numba",
|
||||||
|
"fastapi<0.124.0",
|
||||||
"opencv-python-headless<=4.11.0.86", # Required to avoid numpy version conflict with vllm
|
"opencv-python-headless<=4.11.0.86", # Required to avoid numpy version conflict with vllm
|
||||||
"compressed_tensors>=0.11.0"
|
"compressed_tensors>=0.11.0"
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -31,3 +31,4 @@ numba
|
|||||||
torch-npu==2.8.0
|
torch-npu==2.8.0
|
||||||
|
|
||||||
transformers<=4.57.1
|
transformers<=4.57.1
|
||||||
|
fastapi<0.124.0
|
||||||
|
|||||||
Reference in New Issue
Block a user