From 180bb2624fa3e90e2c9fbfadcb0d9242d3fd8ac5 Mon Sep 17 00:00:00 2001 From: "jacky.cheng" Date: Wed, 29 Apr 2026 18:02:44 +0800 Subject: [PATCH] [AMD] Fix CI RuntimeError: opentelemetry package is not installed (#23940) Co-authored-by: Bingxu Chen --- python/pyproject_other.toml | 2 +- scripts/ci/amd/amd_ci_install_dependency.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/python/pyproject_other.toml b/python/pyproject_other.toml index 296b3e41d..ee27fc1ae 100755 --- a/python/pyproject_other.toml +++ b/python/pyproject_other.toml @@ -167,7 +167,7 @@ test = [ "tabulate", ] -all_hip = ["sglang[srt_hip]", "sglang[diffusion_hip]"] +all_hip = ["sglang[srt_hip]", "sglang[diffusion_hip]", "sglang[tracing]"] all_hpu = ["sglang[srt_hpu]"] all_musa = ["sglang[srt_musa]", "sglang[diffusion_musa]"] all_mps = ["sglang[srt_mps]", "sglang[diffusion_mps]"] diff --git a/scripts/ci/amd/amd_ci_install_dependency.sh b/scripts/ci/amd/amd_ci_install_dependency.sh index e04c53fc1..2ce9bf8b4 100755 --- a/scripts/ci/amd/amd_ci_install_dependency.sh +++ b/scripts/ci/amd/amd_ci_install_dependency.sh @@ -26,9 +26,9 @@ done OPTIONAL_DEPS="${1:-}" # Build python extras -EXTRAS="dev_hip" +EXTRAS="dev_hip,tracing" if [ -n "$OPTIONAL_DEPS" ]; then - EXTRAS="dev_hip,${OPTIONAL_DEPS}" + EXTRAS="dev_hip,tracing,${OPTIONAL_DEPS}" fi echo "Installing python extras: [${EXTRAS}]"