[Misc] Normalize --host parameter to use plain hostname without scheme (#19309)

Co-authored-by: 墨楼 <huangzhilin.hzl@antgroup.com>
Co-authored-by: Liangsheng Yin <lsyincs@gmail.com>
Co-authored-by: Liangsheng Yin <hnyls2002@gmail.com>
This commit is contained in:
Julian Huang
2026-02-25 16:37:24 +08:00
committed by GitHub
parent f75abb4521
commit a55f658835
8 changed files with 52 additions and 25 deletions

View File

@@ -26,7 +26,7 @@ python -m sglang.test.run_eval \
```bash
python -m sglang.test.few_shot_gsm8k \
--host http://127.0.0.1 \
--host 127.0.0.1 \
--port 30000 \
--num-questions 200 \
--num-shots 5
@@ -36,7 +36,7 @@ python -m sglang.test.few_shot_gsm8k \
```bash
python benchmark/hellaswag/bench_sglang.py \
--host http://127.0.0.1 \
--host 127.0.0.1 \
--port 30000 \
--num-questions 200 \
--num-shots 20