Commit Graph

121 Commits

Author SHA1 Message Date
Bruce-x-1997
3aec3d4f8b [Doc] add LWS(LeaderWorkerSet) use case in sgl-router README (#9568)
Co-authored-by: bruce.xu <bruce.xu@gmicloud.ai>
2025-08-25 08:32:31 -07:00
Bruce-x-1997
9e169ea8b5 [router] add right rustls dependency in sgl-router cargo.toml (#9498)
Co-authored-by: bruce.xu <bruce.xu@gmicloud.ai>
2025-08-24 09:03:15 -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
f556ac8bd8 [router] add json tool parser (#9516) 2025-08-22 12:13:04 -07:00
Simo Lin
49f9d02538 [router] tokenizer arch doc (#9513) 2025-08-22 09:52:33 -07:00
Simo Lin
0f8cee8cd3 [router] fix router load guard tracking for streaming (#9491) 2025-08-21 22:48:29 -07:00
Chang Su
816c4c8572 [router] add tool parser base structure and partial json parser (#9482) 2025-08-21 22:08:56 -07:00
Chang Su
53e2cd464f [router] remove all tokenizer metrics for performance (#9474) 2025-08-21 18:35:24 -07:00
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