From b35d14b64d87e34879ca60c7d94b796dbca14a0f Mon Sep 17 00:00:00 2001 From: YC Yen-Ching Tseng Date: Mon, 11 May 2026 10:55:24 +0800 Subject: [PATCH] [AMD] Retry logic for lmms-eval installation (#24615) --- scripts/ci/amd/amd_ci_install_dependency.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/ci/amd/amd_ci_install_dependency.sh b/scripts/ci/amd/amd_ci_install_dependency.sh index 2ce9bf8b4..d226d7ae5 100755 --- a/scripts/ci/amd/amd_ci_install_dependency.sh +++ b/scripts/ci/amd/amd_ci_install_dependency.sh @@ -128,7 +128,12 @@ if [[ -n "${SKIP_TT_DEPS}" ]]; then echo "Didn't build lmms_eval, human-eval, and others" else # For lmms_evals evaluating MMMU - docker exec -w / ci_sglang git clone --branch v0.4.1 --depth 1 https://github.com/EvolvingLMMs-Lab/lmms-eval.git + # Clone on host (with retry), then copy into the container. The checkout is + # owned by the runner (non-root); mark it safe so setuptools_scm / + # vcs_versioning can run `git` introspection during pip install. + git_clone_with_retry https://github.com/EvolvingLMMs-Lab/lmms-eval.git lmms-eval "--branch v0.4.1" + docker cp lmms-eval ci_sglang:/ + docker exec ci_sglang git config --global --add safe.directory /lmms-eval install_with_retry docker exec -w /lmms-eval ci_sglang pip install --cache-dir=/sgl-data/pip-cache -e . git_clone_with_retry https://github.com/akao-amd/human-eval.git human-eval