Commit Graph

112 Commits

Author SHA1 Message Date
Simo Lin
78ae175866 [router] add tokenizer benchmark (#9427) 2025-08-21 11:09:39 -07:00
Chang Su
5cfbb4c136 [router] add glm and step3 reasoning parser (#9415) 2025-08-20 18:33:10 -07:00
Chang Su
e65231022f [router] add tokenizer integration test with real mini tokenizer (#9413) 2025-08-20 17:56:23 -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
5ae5ecaa15 [router] Implement OpenAI Responses API specification (#9367) 2025-08-19 20:14:47 -07:00
Simo Lin
5fbad308cd [router] add tokenizer chat template support (#9370)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-08-19 20:14:02 -07:00
Chang Su
7638f5e44e [router] Implement gRPC SGLangSchedulerClient (#9364) 2025-08-19 16:44:11 -07:00
Simo Lin
b45f753cba [router] adds reasoning parser pooling and thread-safe (#9360) 2025-08-19 13:35:39 -07:00
Keyang Ru
c5057262fa [Router] Add validation module for API parameters (#9335) 2025-08-19 13:25:53 -07:00
Simo Lin
0b95a01a8f [router] add tiktokenizer and sequence in router (#9354)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-08-19 10:46:28 -07:00
Simo Lin
94959237bf [router] add dsr1, kimi, and qwen reasoning parser (#9353) 2025-08-19 10:15:24 -07:00
Keyang Ru
ce67b2d586 [router]restructure protocol modules for better organization (#9321) 2025-08-19 01:07:58 +00:00
Chang Su
439df4548a [router] Add spec for sglang scheduler (#9322) 2025-08-18 17:20:20 -07:00
Simo Lin
6e316588f8 [router] add reasoning parser base structure (#9310)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-08-18 09:26:09 -07:00
Simo Lin
24247b4168 [router] add tokenizer metrics (#9307)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-08-18 09:25:51 -07:00
Simo Lin
d08663eec1 [router] tokenizer factory, hf tokenizer, and stop sequence detector (#9293)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-08-17 22:38:38 -07:00
Simo Lin
ff0cf51c8e [router] introducing tokenizer trait (#9287) 2025-08-17 16:30:01 -07: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
6337d9057c [router] optimize Rust compilation and development workflow (#9133) 2025-08-13 05:14:25 -07:00
Chang Su
ad359d1c71 router: Fix user guide link README.md (#9122) 2025-08-12 12:29:10 -07:00
Keyang Ru
4093d460ce [CI] migrate router to BM.A10.4 runner (#8992)
Co-authored-by: key4ng <rukeyang@gamil.com>
2025-08-11 22:41:18 -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
ce9cf35327 [router] update pyo3 version to 0.25.1 (#9022) 2025-08-10 06:45:51 -07:00
Simo Lin
473400e452 [router] upgrade kube version to latest (#9018) 2025-08-09 22:49:45 -07:00
Simo Lin
dd665f967f [router] upgrade rand to latest version (#9017) 2025-08-09 22:49: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
1a8706c8b9 [router] reduce contention, fix double-count race (#8978) 2025-08-08 14:29:14 -07:00
Tony Lu
36bfddecb9 [router] add metrics for worker and policy (#8971)
Signed-off-by: Tony Lu <tonyluj@gmail.com>
2025-08-08 13:41:40 -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
500b15c960 [router] upgrade router version to 0.1.9 (#8844) 2025-08-07 09:29:12 -07:00
Tien Nguyen
fd05b56750 refactor(sgl-router): Replace once_cell with LazyLock in worker.rs and remove once_cell dependency from Cargo.toml (#8698) 2025-08-07 06:14:03 -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
2fa0462c39 [router] introduce dp worker abstraction (#8639) 2025-08-04 06:42:20 -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
39decec10b [router] upgrade router version to 0.1.8 (#8645) 2025-07-31 19:00:23 -07:00