Commit Graph
97 Commits
Author SHA1 Message Date
Simo Lin 5343058875 [router] grpc router bootstraps (#9759) 2025-08-28 12:07:06 -07:00
Simo Lin 07c9d8fba2 [router] add llama3.2 multi json streaming parser (#9735) 2025-08-28 05:57:13 -07:00
Simo Lin e1f7cf57dc [router] additional llama32 parser unit test and multi json support (#9732) 2025-08-27 20:34:11 -07:00
Simo Lin 2bb9d454b5 [router] additional pythonic parser unit test (#9730) 2025-08-27 19:55:59 -07:00
Simo LinandChang Su 07ee0ab750 [router] add gpt-oss and glm4 tool parser (#9703)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-08-27 11:26:00 -07:00
Simo LinandChang Su 5c06dcb75a [router] add kimi-k2 tool parser (#9702)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-08-27 11:04:55 -07:00
Simo LinandChang Su 6f6beca49d [router] add step3 tool parser (#9695)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-08-27 10:44:52 -07:00
Simo LinandChang Su 6e4e1c8cdc [router] add deepseek tool parser (#9694)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-08-27 06:18:24 -07:00
Simo Lin 9768c50d90 [router] restructure tool parser module folder (#9693) 2025-08-27 06:05:53 -07:00
Simo Linandfzyzcjy 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
Simo LinandChang Su e2e378caba [router] add ut for mistral, llama, pythonic, and streaming tool parser (#9632)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-08-25 22:02:15 -07:00
Simo LinandChang Su dc1decc6af [router] add llama tool parser (#9629)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-08-25 20:43:36 -07:00
Simo LinandChang Su 03680f33be [router] add pythonic parser (#9628)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-08-25 20:40:06 -07:00
Simo LinandChang Su d4c5e53401 [router] add qwen tool parser (#9623)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-08-25 20:32:05 -07:00
Simo LinandChang Su 817c62a077 [router] add mistral tool parser (#9622)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-08-25 20:09:51 -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
Simo Lin 78ae175866 [router] add tokenizer benchmark (#9427) 2025-08-21 11:09:39 -07:00
Simo LinandChang Su 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
Simo Lin b45f753cba [router] adds reasoning parser pooling and thread-safe (#9360) 2025-08-19 13:35:39 -07:00
Simo LinandChang Su 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
Simo LinandChang Su 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 LinandChang Su 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 LinandChang Su 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
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
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
Simo Lin 1ce30dd13e [router] update router documentation (#9121) 2025-08-12 13:16:34 -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 3817a37d87 [router] upgrade to latest sgl kernel for router ci (#9019) 2025-08-09 21:49:18 -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
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
Simo Lin 16a4c66d25 [router] update pd router ci summary step with new threshold (#8916) 2025-08-07 07:15:38 -07:00
Simo Lin 89e6521c61 [router] re-enable pd router benchmark CI (#8912) 2025-08-07 06:29:36 -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
Simo Lin f6f46f4629 [router] add basic usage doc (#8640) 2025-07-31 18:11:48 -07:00
Simo Lin 2886e23dbd [bugfix] fix router python parser for pd urls (#8644) 2025-07-31 18:09:31 -07:00
Simo Lin 5c14515fec [bug] remove pdlb from minilb since its no longer available (#8634) 2025-07-31 13:54:02 -07:00
Simo Lin aee0ef52f5 [router] update router pypi version (#8628) 2025-07-31 11:24:12 -07:00
Simo Lin ae807774f5 [ci] fix genai-bench execution cmd (#8629) 2025-07-31 10:40:54 -07:00
Simo Lin 66a398f49d [router] migrate router from actix to axum (#8479) 2025-07-30 17:47:19 -07:00
Simo Lin a9fd80336d [router] allow longer time out for router e2e (#8560) 2025-07-29 23:43:37 -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 39fe1e880d [router] add request format unit test (#8300) 2025-07-24 14:30:37 -07:00
Simo Lin 33c4b4d04e [router] add streaming unit test (#8299) 2025-07-24 14:30:27 -07:00
Simo Lin 2f86f3ad62 [router] add endpoint unit test (#8298) 2025-07-23 23:26:44 -07:00
Simo Lin f6e07f2796 [router] fix pd model completion request (#8303) 2025-07-23 23:18:29 -07:00
Simo Lin 5dd0f870ab [bug] fix pd completion protocol for batching support (#8317) 2025-07-23 23:18:17 -07:00
Simo Lin 6f8f4aeea4 [router] add common ut infra to mock worker and app (#8295) 2025-07-23 10:07:51 -07:00
Simo Lin 9b5de6cb06 [router] upgade router version to 0.1.6 (#8209) 2025-07-20 23:13:20 -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 41d33e4736 [router] add ut for worker and errors (#8170) 2025-07-19 14:38:33 -07:00
Simo Lin b763cf7e8e [router] allow router to have empty workers (#8160) 2025-07-18 22:09:54 -07:00
Simo Lin 8fcc55cfa1 [router] router metrics cleanup (#8158) 2025-07-18 22:09:17 -07:00
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
Simo Lin 8a7a7770e5 [ci] limit cmake build nproc (#8100) 2025-07-16 18:09:28 -07:00
Simo Lin d9eb5efc71 [misc] update nvshmem and pin deepEP commit hash (#8098) 2025-07-16 08:54:55 -07:00
Simo Lin f2d5c4920e [router] add worker abstraction (#7960) 2025-07-11 20:17:48 -07:00
Simo Lin 4ed57807c2 [bugfix] add pd router policy validation (#7904) 2025-07-09 21:52:06 -07:00
Simo Lin 3646f6bb3e [misc] release new router version (#7798) 2025-07-06 22:54:17 -07:00
Simo Lin 35724aa182 [docs] update router readme (#7797) 2025-07-06 22:54:11 -07:00
Simo Lin ea3e7ffec7 [bugfix] Fix sgl-router get_server_info endpoint compatibility issue (#7813) 2025-07-06 19:52:57 -07:00
Simo Lin 5732d904cc [misc] remove pdlb rust (#7796) 2025-07-05 17:44:51 -07:00
Simo Lin e3f9b54819 [bugfix] fix runtime dropping panic in editable (#7628) 2025-06-29 15:38:28 -07:00
Simo Lin 7c0db3a6c5 [bugfix] Remove PR comment posting from Rust benchmark workflow (#7625) 2025-06-28 22:10:01 -07:00
Simo Lin c071198c1d [router] add centralized configuration module for sgl-router (#7588) 2025-06-27 15:42:02 -07:00
Simo Lin 3abc30364d [ci] add router benchmark script and CI (#7498) 2025-06-25 01:28:25 -07:00
Simo Lin 30f2a44a96 [misc] Add PD service discovery support in router (#7361) 2025-06-22 17:54:14 -07:00
Simo Lin 09ae5b20f3 Merge PDLB (Prefill-Decode Load Balancer) into SGLang Router (#7096) 2025-06-19 02:28:15 +08:00
Simo Lin 771669cbe0 [fix]: PyO3 macOS linking and consolidate on tracing for logging 2025-04-29 11:26:38 -07:00
Simo Lin 1468769bde [Misc] add service discovery for sgl router 2025-04-29 10:21:19 -07:00
Simo Lin f0365820e8 [Misc] add structure logging, write to file and log tracing for SGL Router 2025-04-27 16:54:10 -07:00