[gRPC] Native gRPC server: proto + Rust crate scaffold + server args (#22736)
This commit is contained in:
@@ -27,6 +27,9 @@ def run_server(server_args):
|
||||
|
||||
launch_server(server_args)
|
||||
elif server_args.grpc_mode:
|
||||
# TODO: Once the native Rust gRPC server starts alongside HTTP in the
|
||||
# default path below (controlled by SGLANG_ENABLE_GRPC / SGLANG_GRPC_PORT),
|
||||
# remove this legacy SMG path and the grpc_mode flag.
|
||||
from sglang.srt.entrypoints.grpc_server import serve_grpc
|
||||
|
||||
asyncio.run(serve_grpc(server_args))
|
||||
|
||||
Reference in New Issue
Block a user