Repository navigation
[Rust] Split and rename embedded server components - #37220
Conversation
…at template helpers
…cheduler intake helpers
…t server integration package
…modal integration
…aunch configuration helpers
…imodal terminology
…l and sampling layout
…st-only facade exports
…multimodal terminology
|
/rerun-test test/registered/rust/test_run_rust_tests.py test/registered/core/test_srt_endpoint.py test/registered/vlm/test_rust_native_mm_e2e.py test/registered/vlm/test_rust_native_mm_mmmu.py |
|
Results for 🚀 🚀 🚀 |
|
/rerun-test test/registered/rust/test_run_rust_tests.py test/registered/core/test_srt_endpoint.py test/registered/vlm/test_rust_native_mm_e2e.py test/registered/vlm/test_rust_native_mm_mmmu.py |
|
Results for 🚀 🚀 🚀 |
|
approve |
|
/rerun-test test/registered/rust/test_run_rust_tests.py test/registered/core/test_srt_endpoint.py test/registered/vlm/test_rust_native_mm_e2e.py test/registered/vlm/test_rust_native_mm_mmmu.py |
|
Results for 🚀 🚀 🚀 |
ref sgl-project#37220 sgl-project#39329 Co-authored-by: Lianmin Zheng <[email protected]> Signed-off-by: Sage Ahrac <[email protected]>
Motivation
Make the embedded Rust server easier to review and maintain without changing its runtime behavior. This is PR 1 of 4 in stack #37223.
Modifications
template.rsandto_scheduler.rsinto flat sibling modules; no nested module directories ormod.rs.sglang.srt.rust_serverpackage.RustMmProcessor,take_mm_result,stage_channel_cap) and update tests/docs.MmEncodeResultfields and improve its comments.SamplingParamsdeclarations by purpose without changing wire order.rust/sglang-server/README.md.RustServerServerArgsunchanged.Test plan
cargo test --manifest-path rust/sglang-server/Cargo.toml --libcargo test --manifest-path rust/sglang-mm/Cargo.toml --libcargo clippy --manifest-path rust/sglang-server/Cargo.toml --lib --tests -- -D warningsStack
No model-output or performance behavior is intended to change.
CI States
Latest PR Test (Base): 🚫 Run #33374105565
Latest PR Test (Extra): ❌ Run #33374127585
Latest PR Test (AMD ROCm 7.2): ❌ Run #33374105421