Repository navigation
[Rust] Keep sampling and scheduler wire schemas in sync - #37222
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
…dress and accept signed env values
|
/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 |
|
/rerun-test test/registered/unit/managers/test_io_struct.py test/registered/unit/sampling/test_sampling_params.py |
|
Results for 🚀 🚀 🚀 |
|
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 |
|
/rerun-test test/registered/unit/managers/test_io_struct.py test/registered/unit/sampling/test_sampling_params.py |
|
Results for 🚀 🚀 |
|
Results for 🚀 🚀 🚀 |
|
/rerun-test test/registered/unit/managers/test_io_struct.py test/registered/unit/sampling/test_sampling_params.py |
|
/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 🚀 🚀 🚀 |
|
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 |
|
/rerun-test test/registered/unit/managers/test_io_struct.py test/registered/unit/sampling/test_sampling_params.py |
|
Results for 🚀 🚀 |
|
Results for 🚀 🚀 🚀 |
Motivation
Close Rust/Python sampling parity gaps and make positional wire-schema drift fail in Python unit tests. This is PR 3 of 4 in stack #37223.
Modifications
structural_tagin grammar mutual exclusion and align beam validation order.custom_paramsthe same bounded JSON shape as the Python type instead of accepting arbitrary JSON.SamplingParamsandTokenizedGenerateReqInput; the latter permits only a defaulted Python suffix beyond the Rust-emitted prefix.Test plan
cargo test --manifest-path rust/sglang-server/Cargo.toml --lib(251 passed)cargo test --manifest-path rust/sglang-mm/Cargo.toml --lib(31 passed)cargo clippy --manifest-path rust/sglang-server/Cargo.toml --lib --tests -- -D warningsStack
CI States
Latest PR Test (Base): 🚫 Run #33430993111
Latest PR Test (Extra): 🚫 Run #33430992822
Latest PR Test (AMD ROCm 7.2): 🚫 Run #33430993191