[router][Fix] Include grpc reflection runtime dependency (#11419)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
This commit is contained in:
@@ -68,7 +68,8 @@ dependencies = [
|
||||
"uvloop",
|
||||
"xgrammar==0.1.25",
|
||||
"grpcio==1.75.1", # keep it align with compile_proto.py
|
||||
"grpcio-tools==1.75.1" # keep it align with compile_proto.py
|
||||
"grpcio-tools==1.75.1", # keep it align with compile_proto.py
|
||||
"grpcio-reflection==1.75.1", # required by srt/entrypoints/grpc_server.py
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
|
||||
@@ -16,7 +16,7 @@ Options:
|
||||
--proto-file Specify proto file (default: sglang_scheduler.proto)
|
||||
|
||||
### Install Dependencies
|
||||
pip install "grpcio==1.74.0" "grpcio-tools==1.74.0"
|
||||
pip install "grpcio==1.75.1" "grpcio-tools==1.75.1"
|
||||
|
||||
### Run Script
|
||||
cd python/sglang/srt/grpc
|
||||
@@ -30,7 +30,7 @@ import sys
|
||||
from importlib.metadata import version
|
||||
from pathlib import Path
|
||||
|
||||
GRPC_VERSION = "1.74.0"
|
||||
GRPC_VERSION = "1.75.1"
|
||||
|
||||
|
||||
def get_file_mtime(path: Path) -> float:
|
||||
|
||||
@@ -8,7 +8,7 @@ import warnings
|
||||
|
||||
from . import sglang_scheduler_pb2 as sglang__scheduler__pb2
|
||||
|
||||
GRPC_GENERATED_VERSION = '1.74.0'
|
||||
GRPC_GENERATED_VERSION = '1.75.1'
|
||||
GRPC_VERSION = grpc.__version__
|
||||
_version_not_supported = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user