Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
9cc1e065
Unverified
Commit
9cc1e065
authored
Oct 13, 2025
by
ai-jz
Committed by
GitHub
Oct 13, 2025
Browse files
[router][Fix] Include grpc reflection runtime dependency (#11419)
Co-authored-by:
Chang Su
<
chang.s.su@oracle.com
>
parent
b8c430f1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
python/pyproject.toml
python/pyproject.toml
+2
-1
python/sglang/srt/grpc/compile_proto.py
python/sglang/srt/grpc/compile_proto.py
+2
-2
python/sglang/srt/grpc/sglang_scheduler_pb2_grpc.py
python/sglang/srt/grpc/sglang_scheduler_pb2_grpc.py
+1
-1
No files found.
python/pyproject.toml
View file @
9cc1e065
...
@@ -68,7 +68,8 @@ dependencies = [
...
@@ -68,7 +68,8 @@ dependencies = [
"uvloop"
,
"uvloop"
,
"xgrammar==0.1.25"
,
"xgrammar==0.1.25"
,
"grpcio==1.75.1"
,
# keep it align with compile_proto.py
"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]
[project.optional-dependencies]
...
...
python/sglang/srt/grpc/compile_proto.py
View file @
9cc1e065
...
@@ -16,7 +16,7 @@ Options:
...
@@ -16,7 +16,7 @@ Options:
--proto-file Specify proto file (default: sglang_scheduler.proto)
--proto-file Specify proto file (default: sglang_scheduler.proto)
### Install Dependencies
### Install Dependencies
pip install "grpcio==1.7
4.0
" "grpcio-tools==1.7
4.0
"
pip install "grpcio==1.7
5.1
" "grpcio-tools==1.7
5.1
"
### Run Script
### Run Script
cd python/sglang/srt/grpc
cd python/sglang/srt/grpc
...
@@ -30,7 +30,7 @@ import sys
...
@@ -30,7 +30,7 @@ import sys
from
importlib.metadata
import
version
from
importlib.metadata
import
version
from
pathlib
import
Path
from
pathlib
import
Path
GRPC_VERSION
=
"1.7
4.0
"
GRPC_VERSION
=
"1.7
5.1
"
def
get_file_mtime
(
path
:
Path
)
->
float
:
def
get_file_mtime
(
path
:
Path
)
->
float
:
...
...
python/sglang/srt/grpc/sglang_scheduler_pb2_grpc.py
View file @
9cc1e065
...
@@ -8,7 +8,7 @@ import warnings
...
@@ -8,7 +8,7 @@ import warnings
from
.
import
sglang_scheduler_pb2
as
sglang__scheduler__pb2
from
.
import
sglang_scheduler_pb2
as
sglang__scheduler__pb2
GRPC_GENERATED_VERSION
=
'1.7
4.0
'
GRPC_GENERATED_VERSION
=
'1.7
5.1
'
GRPC_VERSION
=
grpc
.
__version__
GRPC_VERSION
=
grpc
.
__version__
_version_not_supported
=
False
_version_not_supported
=
False
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment