Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
8c30881
Add grpc server for python scheduler
CatherineSue Sep 2, 2025
db2068c
refactor grpc_server to be standalone
CatherineSue Sep 8, 2025
f99ad6e
Add DP size logic to grpc_server.py
CatherineSue Sep 9, 2025
3be8ca6
Remove Initialize method in grpc server and client
CatherineSue Sep 9, 2025
f522a3c
Remove flush cache and session management in grpc server
CatherineSue Sep 10, 2025
957efc0
Simplify HealthCheck in grpc
CatherineSue Sep 10, 2025
8429523
Remove flush_cache in sgl-router and fix cargo build
CatherineSue Sep 10, 2025
dfec09e
[Misc] Fix imports, CUDA multi-process spawn, and remove flush_cache …
CatherineSue Sep 10, 2025
3f99a88
Fix PortArgs import and field access
CatherineSue Sep 10, 2025
39f5342
Fix required fields in TokenizeGenerateReqInput
CatherineSue Sep 10, 2025
1bf27ff
Simplify signal handling for GrpcRequestManager
CatherineSue Sep 10, 2025
e78f8d8
Add _handle_health_check_output to GrpcRequestManager
CatherineSue Sep 10, 2025
d632121
Fix grpc_request_manager zmq socket bind address
CatherineSue Sep 10, 2025
005a094
Remove oneof text, tokenized in protobuf
CatherineSue Sep 10, 2025
c1f3d10
Fix import
CatherineSue Sep 10, 2025
a237a68
Remode debug logs
CatherineSue Sep 10, 2025
bb4f380
Format files
CatherineSue Sep 10, 2025
f8321b0
[Cleanup] Remove unused grpc sections in server_args and http_server
CatherineSue Sep 10, 2025
ad0f174
Recompile protos and add auto-generated files to pre-commit ignore
CatherineSue Sep 10, 2025
459e7ed
Add .pyi to exclude in pre-commit
CatherineSue Sep 10, 2025
2fb7ec6
Format files
CatherineSue Sep 10, 2025
7c19f85
[Cleanup] Override ServerArgs.host and port with grpc server host and…
CatherineSue Sep 10, 2025
8be5e01
Fix typo in print_exception_wrapper
CatherineSue Sep 10, 2025
747484e
[Cleanup] Remove metrics field in GenerateComplete
CatherineSue Sep 10, 2025
227c9e1
Revert changes in routers/http
CatherineSue Sep 10, 2025
ac8029a
Revert changes in server.rs
CatherineSue Sep 10, 2025
cf7c50a
Revert chane in RouterTrait
CatherineSue Sep 10, 2025
4f608c8
add back flush cache
CatherineSue Sep 11, 2025
e1c252b
Merge branch 'main' into chang/grpc
zhyncs Sep 11, 2025
5bcc7e5
Merge branch 'main' into chang/grpc
slin1237 Sep 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,19 @@ repos:
rev: 5.13.2
hooks:
- id: isort
exclude: '^python/sglang/srt/grpc/.*_pb2\.py$|^python/sglang/srt/grpc/.*_pb2_grpc\.py$|^python/sglang/srt/grpc/.*_pb2\.pyi$|^python/sglang/srt/grpc/.*_pb2_grpc\.pyi$'
Comment thread
zhyncs marked this conversation as resolved.
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.7
hooks:
- id: ruff
args: [--select=F401, --fixable=F401]
files: ^(benchmark/|docs/|examples/)
exclude: \.ipynb$
exclude: \.ipynb$|^python/sglang/srt/grpc/.*_pb2\.py$|^python/sglang/srt/grpc/.*_pb2_grpc\.py$|^python/sglang/srt/grpc/.*_pb2\.pyi$|^python/sglang/srt/grpc/.*_pb2_grpc\.pyi$
- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black-jupyter
exclude: '^python/sglang/srt/grpc/.*_pb2\.py$|^python/sglang/srt/grpc/.*_pb2_grpc\.py$|^python/sglang/srt/grpc/.*_pb2\.pyi$|^python/sglang/srt/grpc/.*_pb2_grpc\.pyi$'
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
Expand All @@ -42,7 +44,11 @@ repos:
exclude: |
(?x)^(
test/srt/test_reasoning_parser\.py|
docs/advanced_features/vlm_query\.ipynb
docs/advanced_features/vlm_query\.ipynb|
python/sglang/srt/grpc/.*_pb2\.py|
python/sglang/srt/grpc/.*_pb2_grpc\.py|
python/sglang/srt/grpc/.*_pb2\.pyi|
python/sglang/srt/grpc/.*_pb2_grpc\.pyi
)$
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v18.1.8
Expand Down
Loading
Loading