Commit Graph

44 Commits

Author SHA1 Message Date
Simo Lin
4f8a982d52 [router] clean up dependency injector to use ctx (#10000) 2025-09-03 21:35:51 -07:00
Simo Lin
d966b902af [router] move tokenizer, reasoning, tool initialization to server (#9996) 2025-09-03 19:35:13 -07:00
Chang Su
11dcabc545 Grpc client (#9939) 2025-09-02 11:47:35 -07:00
Chang Su
9a0cac1be0 [router] add grpc pd and regular router init (#9893) 2025-09-01 20:06:15 -07:00
LukasBluebaum
9d9fa9a537 [router] Fix short timeout for the prefill client (#9803) 2025-09-01 19:57:04 -07:00
Simo Lin
5343058875 [router] grpc router bootstraps (#9759) 2025-08-28 12:07:06 -07:00
Bruce-x-1997
8b30bec265 [router] fix error response in pd_router (#9505)
Co-authored-by: bruce.xu <bruce.xu@gmicloud.ai>
2025-08-27 19:10:55 -07:00
Simo Lin
3578eb1e9b [router] address worker load tracking consistency (#9523)
Co-authored-by: fzyzcjy <5236035+fzyzcjy@users.noreply.github.com>
2025-08-26 06:40:51 -07:00
Bruce-x-1997
446c8e4cdb [router] ignore client error when record failure in pd_router (#9503)
Co-authored-by: bruce.xu <bruce.xu@gmicloud.ai>
2025-08-22 14:19:45 -07:00
Keyang Ru
5ef545e678 [router] Move all protocols to spec.rs file (#9519) 2025-08-22 14:18:47 -07:00
Simo Lin
0f8cee8cd3 [router] fix router load guard tracking for streaming (#9491) 2025-08-21 22:48:29 -07:00
Keyang Ru
3828db4309 [router] Add IGW (Inference Gateway) Feature Flag (#9371)
Co-authored-by: Yineng Zhang <me@zhyncs.com>
2025-08-20 17:38:57 -07:00
Keyang Ru
ce67b2d586 [router]restructure protocol modules for better organization (#9321) 2025-08-19 01:07:58 +00:00
Simo Lin
b341b7dbce [router] introduce prefill response draining for http compliance (#9281) 2025-08-17 14:23:04 -07:00
Jeff Nettleton
ce3ca9b02f [router] add cargo clippy in CI and fix-up linting errors (#9242) 2025-08-17 11:03:56 -07:00
Simo Lin
bb10e3a1c3 [router] fix pd prefill http request complinace issue (#9237) 2025-08-16 22:36:45 -07:00
Simo Lin
da53e13cbb [router] preserve original worker response header in router (#9236) 2025-08-15 11:01:47 -07:00
Jeff Nettleton
d7e38b2f6d [router] clean up lint warnings with clippy execution (#9201) 2025-08-15 11:01:21 -07:00
Simo Lin
21b8846066 [router] allow more health check configuration (#9198) 2025-08-15 08:07:45 -07:00
Simo Lin
9d68bdb240 [router] Add Rust Binary Entrypoint for SGLang Router (#9089) 2025-08-11 21:37:36 -07:00
Simo Lin
38907fe639 refactor(pd-router): extract common patterns to reduce code duplication (#9081) 2025-08-11 13:32:31 -07:00
Simo Lin
6f81a710f7 [pd-router] add retry and circuit breakfor for pd router (#9051) 2025-08-11 05:53:26 -07:00
Simo Lin
067068f271 [router] regular router circuit breaker (#8997) 2025-08-10 21:19:30 -07:00
Simo Lin
7b7e56150e [router] fix radix tree integration issues in PD router (#8982) 2025-08-08 14:47:51 -07:00
Simo Lin
a59cbea92d [router] harden retries + metrics; fix streaming load; header filtering (#8972) 2025-08-08 13:10:14 -07:00
Simo Lin
61a4680494 [router] router circuit breaker core (#8941) 2025-08-08 09:20:22 -07:00
Simo Lin
2e901e892f [router] dedicated prefill HTTP client and request-path optimizations (#8923) 2025-08-07 17:31:45 -07:00
Simo Lin
a69b637014 [router] fix req handling order, improve serialization, remove retry (#8888) 2025-08-06 23:24:39 -07:00
Simo Lin
8c7bb39dfb [router] PD Router Simplification and Reorganization (#8838) 2025-08-05 21:20:38 -07:00
Simo Lin
5d62b56f7e [router] complete router oai spec (#8828) 2025-08-05 18:30:19 -07:00
Simo Lin
354ac43555 [pd-router] Add Configurable Retry Logic for reduce backend pressure (#8744) 2025-08-04 20:42:07 -07:00
Simo Lin
828a4fe944 [router] Implement HTTP Dependency Injection Pattern for Router System (#8714) 2025-08-02 19:16:47 -07:00
Simo Lin
6d4fd8826e [router] minor code clean up and and refactoring (#8711) 2025-08-02 13:46:31 -07:00
Simo Lin
ab9b893e61 [bug] limit bootstrap room to to [0, 2^63 - 1] (#8684) 2025-08-01 14:41:01 -07:00
Simo Lin
66a398f49d [router] migrate router from actix to axum (#8479) 2025-07-30 17:47:19 -07:00
Rui Chen
a730ce8162 [feature] [sgl-router] Add a dp-aware routing strategy (#6869) 2025-07-30 05:58:48 -07:00
Simo Lin
fe6a445d1e [router] improve router logs and request id header (#8415) 2025-07-27 19:30:19 -07:00
Simo Lin
2ab97023e3 [router] add different policies for p node and d node (#8395) 2025-07-27 00:39:20 -07:00
Simo Lin
f6e07f2796 [router] fix pd model completion request (#8303) 2025-07-23 23:18:29 -07:00
Rui Chen
c33499a67b fix: sgl-router remove dead code (#8257) 2025-07-22 08:41:23 -07:00
Simo Lin
5c8365a051 [router] add ut for pd router (#8208) 2025-07-20 23:12:52 -07:00
Simo Lin
1fc455e8b6 [router] add ut for pd request, metrics and config (#8184) 2025-07-20 10:53:42 -07:00
Simo Lin
8fcc55cfa1 [router] router metrics cleanup (#8158) 2025-07-18 22:09:17 -07:00
Simo Lin
c8f31042a8 [router] Refactor router and policy traits with dependency injection (#7987)
Co-authored-by: Jin Pan <jpan236@wisc.edu>
Co-authored-by: Keru Yang <rukeyang@gmail.com>
Co-authored-by: Yingyi Huang <yingyihuang2000@outlook.com>
Co-authored-by: Philip Zhu <phlipzhux@gmail.com>
2025-07-18 14:24:24 -07:00