From 87c0cfafa32a946d81918ccaccf4da20b1b13406 Mon Sep 17 00:00:00 2001 From: zhangxinyuehfad <59153331+zhangxinyuehfad@users.noreply.github.com> Date: Mon, 15 Dec 2025 23:51:38 +0800 Subject: [PATCH] [0.11.0][Bugfix] fix fastapi version (#5048) ### What this PR does / why we need it? fix fastapi version <0.124.0 Signed-off-by: hfadzxy --- .../load_balance_proxy_layerwise_server_example.py | 2 +- .../load_balance_proxy_server_example.py | 2 +- requirements-dev.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/disaggregated_prefill_v1/load_balance_proxy_layerwise_server_example.py b/examples/disaggregated_prefill_v1/load_balance_proxy_layerwise_server_example.py index 53353ce..c0d4b51 100644 --- a/examples/disaggregated_prefill_v1/load_balance_proxy_layerwise_server_example.py +++ b/examples/disaggregated_prefill_v1/load_balance_proxy_layerwise_server_example.py @@ -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 # ---------------------------------- diff --git a/examples/disaggregated_prefill_v1/load_balance_proxy_server_example.py b/examples/disaggregated_prefill_v1/load_balance_proxy_server_example.py index c02a6fa..0a315bd 100644 --- a/examples/disaggregated_prefill_v1/load_balance_proxy_server_example.py +++ b/examples/disaggregated_prefill_v1/load_balance_proxy_server_example.py @@ -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 # ---------------------------------- diff --git a/requirements-dev.txt b/requirements-dev.txt index 8db787f..3509a48 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -17,4 +17,4 @@ ray>=2.47.1 protobuf>3.20.0 librosa soundfile -pytest_mock \ No newline at end of file +fastapi<0.124.0 \ No newline at end of file