Clean up server args & Add CI scripts (#12124)

This commit is contained in:
Lianmin Zheng
2025-10-25 11:53:57 -07:00
committed by GitHub
parent ceb105a780
commit 4caca1ba04
4 changed files with 136 additions and 158 deletions

View File

@@ -12,10 +12,12 @@ if __name__ == "__main__":
try:
if server_args.grpc_mode:
# Handle gRPC server
from sglang.srt.entrypoints.grpc_server import serve_grpc
asyncio.run(serve_grpc(server_args))
else:
# Handle HTTP server
from sglang.srt.entrypoints.http_server import launch_server
launch_server(server_args)