Commit Graph
88 Commits
Author SHA1 Message Date
Chang Su 1751c75b5d [model-gateway] Tighten visibility across data_connector and grpc module (#16516) 2026-01-05 12:31:32 -08:00
Chang Su 51541404f8 [grpc] Refactor openai module (#16511) 2026-01-05 11:39:33 -08:00
Chang Su 5a2b1ed407 [grpc] Refactor grpc/regular/responses (#16509) 2026-01-05 10:21:34 -08:00
Chang Su 454dc9e242 [model-gateway][grpc] Refactor harmony/responses.rs (#16508) 2026-01-05 10:21:05 -08:00
Praneth Paruchuri b12258bfaa [model-gateway] Optimize HTTP Router Fan-out: Replace Serial Execution with Concurrent Streams (#16042) 2026-01-04 23:38:45 -08:00
Simo Lin cf6800f6cc [model-gateway] optimize Vec and HashMap allocations in responses api (#16406) 2026-01-04 10:07:55 -08:00
Chang Su 8d58b3dcdd [model-gateway] Clear architectual debt in responses API (#16359) 2026-01-03 21:35:28 -08:00
fzyzcjy 216ea910ad Tiny support forwarding SMG routing key to engine for dumping and avoid string allocation (#16352) 2026-01-04 08:33:35 +08:00
fzyzcjyandgemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> 66dfb8c156 Tiny fix non-PD router http header missing whitelist (#16339)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-03 09:43:02 -08:00
Simo Lin 65b0b5b248 fix(logging): use Display format for model_id instead of Debug (#16337) 2026-01-03 00:21:39 -08:00
Chang Su d8ac5eecf7 [model-gateway] bug fix on module name (#16332) 2026-01-02 21:56:18 -08:00
Chang Su b23e7ed13c refactor(gateway): shorten logging targets from sgl_model_gateway to smg (#16328) 2026-01-02 21:12:33 -08:00
Chang Su c4edcac6d7 refactor(core): remove get_by_model_fast alias in worker_registry (#16313) 2026-01-02 16:04:23 -08:00
Chang Su a2d4f58a96 fix(http): use 504 Gateway Timeout for upstream timeouts (#16320) 2026-01-02 16:01:44 -08:00
Chang Su f66b091699 refactor(http): improve pd_types.rs documentation and style (#16319) 2026-01-02 16:01:11 -08:00
Simo LinandChang Su f39382c6ca [model-gateway] Fix duplicate classify prefix in response ID (#16101)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-12-29 11:07:21 -08:00
Simo LinandChang Su 2ff289e2dc [model-gateway] Generate UUID-based request IDs for embedding/classify (#16100)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-12-29 10:49:58 -08:00
Simo LinandChang Su b2a3f0551a [model-gateway] Wire classify pipeline to gRPC router (#16098)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-12-29 10:44:45 -08:00
Simo LinandChang Su f44c4b3715 [model-gateway] Add classify pipeline stages and protocol types (#16094)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-12-29 10:23:36 -08:00
Simo LinandChang Su 162d1cf9be [model-gateway] Add classification model support infrastructure (#16061)
Co-authored-by: Chang Su <chang.s.su@oracle.com>
2025-12-29 08:34:05 -08:00
Simo Lin c31f62722c [model-gateway] fix tokenizer to match transformers special token handling (#16087) 2025-12-29 08:13:03 -08:00
Simo Lin f13949e5a9 [model-gateway] perf: optimize observability logging for minimal CPU/memory overhead (#16039) 2025-12-28 21:20:46 -08:00
Simo Lin 3645ed0f73 [model-gateway] Add PrefixHash load balancing policy for KV cache-aware routing (#15935) 2025-12-27 05:58:05 -05:00
Simo Lin 171912a9e3 [model-gateway] Add consistent hashing for ManualPolicy routing (#15907) 2025-12-26 22:53:03 -08:00
Simo Lin caa95c7eb4 [model-gateway] update ManualPolicy with header-based routing (#15847) 2025-12-25 13:04:43 -08:00
fzyzcjy 6ef543f99d Use X-SMG-Routing-Key header instead of json body and add tests (#15826) 2025-12-25 09:58:14 -08:00
fzyzcjy ccf2330b28 Tiny fix missing record_router_upstream_response (#15811) 2025-12-25 15:20:43 +08:00
fzyzcjy 45adad37d0 Add manual routing policy for router (#15586) 2025-12-25 11:27:36 +08:00
fzyzcjy 1ba897f330 Tiny refactor select_workers API for future passing more information (#15596) 2025-12-25 10:31:10 +08:00
Simo Lin 643aeefe6d [model-gateway] Fix logging module name, parse endpoint context, and tokenizer factory (#15782) 2025-12-24 10:54:48 -08:00
Simo Lin 2f7c629235 [model-gateway] Fix IGW routing and optimize RouterManager (#15741) 2025-12-24 11:28:53 -05:00
Arthur Cheng f65fa04748 [model-gateway]Enable IGW mode with gRPC router and auto enable IGW when service discovery is turned on (#15459) 2025-12-24 00:27:58 -08:00
Simo Lin 846953d9f1 [model-gateway] Add tokenize/detokenize HTTP endpoints and tokenizer management (#15702) 2025-12-23 17:32:07 -08:00
Simo Lin aa6ac96635 [model-gateway] Fix tokenizer caching and improve error handling (#15695) 2025-12-23 10:33:38 -08:00
ratish 5f3a47d8a7 [model-gateway]: add gRPC router embeddings endpoint implementation (#15273) 2025-12-23 09:12:22 -08:00
Praneth Paruchuri 80ae2229d3 [model-gateway] Optimize router selection with lock-free snapshots (#15672) 2025-12-23 09:09:30 -08:00
Arthur Cheng dd620987d1 [model-gateway] Replace tokenizer with tokenizer registry for dynamic tokenizer loading in gRPC router (#12968) 2025-12-23 07:58:47 -08:00
fzyzcjy b736a1525a Tiny add back missing router per attempt response metric (#15621) 2025-12-22 09:59:10 -08:00
fzyzcjy 6984837d82 Fix router gRPC mode launch error caused by async loading (#15368) 2025-12-22 09:39:01 -08:00
Simo Lin 2142881b7e [model-gateway] return 503 when all workers are circuit-broken (#15611) 2025-12-22 04:06:09 -10:00
Simo Lin 1167867e8d [model-gateway] add retry support to OpenAI router chat endpoint (#15589) 2025-12-21 20:28:51 -08:00
Simo Lin 122c250336 [model-gateway] add retry and circuit breaker support to gRPC routers (#15585) 2025-12-21 17:12:36 -08:00
Simo Lin e1dcd0df3e [model-gateway] minor code clean up (#15578) 2025-12-21 11:00:32 -10:00
Haoran Wang ef001fb811 [model-gateway] /parse/easoning and parse/function_call for sgl-model-gateway (#15568) 2025-12-21 07:39:24 -10:00
Simo Lin 5529ab5895 [model-gateway] Implement RAII load guard with response body attachment (#15507) 2025-12-19 19:14:52 -08:00
kun-llfl 3c116d5e5a [router] bugfix: cache_aware in grpc inbalance forward (#15473)
Signed-off-by: Kun(llfl) <i@imux.top>
2025-12-19 16:25:46 -08:00
Simo Lin ba72e759ca [model-gateway] Improve logging across core modules (#15497) 2025-12-19 13:35:28 -08:00
Simo Lin 53e151945a [model-gateway] optimize worker registry and reduce lock contention in grpc client fetch (#15336) 2025-12-17 08:49:10 -10:00
Simo Lin d747147a26 [model-gateway] reduce cpu overhead (#15316) 2025-12-17 09:42:01 -08:00
Simo Lin 3518b33178 [model-gateway] Remove legacy RouterMetrics and Rename SmgMetrics to Metrics and smg_labels to metrics_labels (#15160) 2025-12-15 04:57:42 -08:00