Files
sglang/rust/demo.py
T

10 lines
173 B
Python
Raw Normal View History

2024-11-10 21:57:32 -08:00
from sglang_router import PolicyType, Router
router = Router(
worker_urls=[
"http://localhost:30000",
"http://localhost:30001",
2024-11-11 15:20:14 -08:00
]
2024-11-10 21:57:32 -08:00
)
router.start()