[CI] Bump sgl-eval to 0.1.2 (#40620)

This commit is contained in:
Liangsheng Yin
2026-09-21 13:00:54 -07:00
committed by GitHub
parent 11e661fd45
commit b18ca9ca44
5 changed files with 9 additions and 6 deletions
+5 -2
View File
@@ -269,8 +269,11 @@ jobs:
install_pkg "${pkg}"
done
# Install sgl-eval (CLI used by run_eval.py's `sgl-eval run ...`) if missing.
command -v sgl-eval >/dev/null 2>&1 || install_pkg "sgl-eval==0.1.0"
# Fallback for images that predate the pin in pyproject_npu.toml. Checking
# the version, not the command, so a stale wheel is replaced rather than kept.
SGL_EVAL_VERSION=0.1.2
${PYTHON_FOR_SGLANG} -c "import sgl_eval, sys; sys.exit(sgl_eval.__version__ != '${SGL_EVAL_VERSION}')" 2>/dev/null \
|| install_pkg "sgl-eval==${SGL_EVAL_VERSION}"
cd test
# Append `--nightly` and `--continue-on-error` when the job belongs to the nightly pipeline.