[CI] Rewrite killall_sglang as Python with CI/local dual mode (#21331)

Co-authored-by: Alison Shao <alison.shao@mac.lan>
Co-authored-by: Alison Shao <alison.shao@MacBook-Pro-D2W773R9CD.local>
Co-authored-by: hnyls2002 <lsyincs@gmail.com>
Co-authored-by: Liangsheng Yin <hnyls2002@gmail.com>
This commit is contained in:
Alison Shao
2026-03-24 23:54:01 -07:00
committed by GitHub
co-authored by Alison Shao Alison Shao hnyls2002 Liangsheng Yin
parent 6cc5717e8a
commit 5297a3cb46
5 changed files with 275 additions and 2 deletions
+2 -1
View File
@@ -19,6 +19,7 @@ concurrency:
env:
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: "true"
SGLANG_IS_IN_CI: true
jobs:
build-wheel:
@@ -287,7 +288,7 @@ jobs:
- name: Run E2E tests
run: |
bash scripts/killall_sglang.sh all
python3 python/sglang/cli/killall.py
cd sgl-model-gateway
${{ matrix.env_vars }} ROUTER_LOCAL_MODEL_PATH="/home/ubuntu/models" pytest ${{ matrix.reruns }} ${{ matrix.parallel_opts }} ${{ matrix.test_dirs }} -s -vv -o log_cli=true --log-cli-level=INFO