From a9f730b8534238b176453cc06648e702b4007c29 Mon Sep 17 00:00:00 2001 From: meihanc Date: Wed, 14 Jan 2026 22:58:08 +0800 Subject: [PATCH] [bugfix]Intermittent CI failure in the triton runtime jit (#5733) ### What this PR does / why we need it? fix bug : https://github.com/vllm-project/vllm-ascend/issues/5634 Intermittent CI failure due to a compilation error in the triton operator ### Does this PR introduce _any_ user-facing change? ### How was this patch tested? - vLLM version: v0.13.0 - vLLM main: https://github.com/vllm-project/vllm/commit/2f4e6548efec402b913ffddc8726230d9311948d --------- Signed-off-by: Meihan-chen --- .github/workflows/_e2e_nightly_single_node_models.yaml | 3 +++ .github/workflows/_e2e_test.yaml | 9 +++++++++ .github/workflows/_unit_test.yaml | 3 +++ tests/e2e/nightly/multi_node/scripts/run.sh | 4 ++++ 4 files changed, 19 insertions(+) diff --git a/.github/workflows/_e2e_nightly_single_node_models.yaml b/.github/workflows/_e2e_nightly_single_node_models.yaml index 6cb1a371..3ba102d8 100644 --- a/.github/workflows/_e2e_nightly_single_node_models.yaml +++ b/.github/workflows/_e2e_nightly_single_node_models.yaml @@ -107,6 +107,9 @@ jobs: - name: Install Ascend toolkit & triton_ascend shell: bash -l {0} run: | + apt-get -y install clang-15 + update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 20 + update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 20 BISHENG_NAME="Ascend-BiSheng-toolkit_aarch64_20260105.run" BISHENG_URL="https://vllm-ascend.obs.cn-north-4.myhuaweicloud.com/vllm-ascend/${BISHENG_NAME}" wget -O "${BISHENG_NAME}" "${BISHENG_URL}" && chmod a+x "${BISHENG_NAME}" && "./${BISHENG_NAME}" --install && rm "${BISHENG_NAME}" diff --git a/.github/workflows/_e2e_test.yaml b/.github/workflows/_e2e_test.yaml index cfbcf6e6..3e69f58e 100644 --- a/.github/workflows/_e2e_test.yaml +++ b/.github/workflows/_e2e_test.yaml @@ -71,6 +71,9 @@ jobs: - name: Install Ascend toolkit & triton_ascend shell: bash -l {0} run: | + apt-get -y install clang-15 + update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 20 + update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 20 BISHENG_NAME="Ascend-BiSheng-toolkit_aarch64_20260105.run" BISHENG_URL="https://vllm-ascend.obs.cn-north-4.myhuaweicloud.com/vllm-ascend/${BISHENG_NAME}" wget -O "${BISHENG_NAME}" "${BISHENG_URL}" && chmod a+x "${BISHENG_NAME}" && "./${BISHENG_NAME}" --install && rm "${BISHENG_NAME}" @@ -194,6 +197,9 @@ jobs: - name: Install Ascend toolkit & triton_ascend shell: bash -l {0} run: | + apt-get -y install clang-15 + update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 20 + update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 20 BISHENG_NAME="Ascend-BiSheng-toolkit_aarch64_20260105.run" BISHENG_URL="https://vllm-ascend.obs.cn-north-4.myhuaweicloud.com/vllm-ascend/${BISHENG_NAME}" wget -O "${BISHENG_NAME}" "${BISHENG_URL}" && chmod a+x "${BISHENG_NAME}" && "./${BISHENG_NAME}" --install && rm "${BISHENG_NAME}" @@ -296,6 +302,9 @@ jobs: - name: Install Ascend toolkit & triton_ascend shell: bash -l {0} run: | + apt-get -y install clang-15 + update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 20 + update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 20 BISHENG_NAME="Ascend-BiSheng-toolkit_aarch64_20260105.run" BISHENG_URL="https://vllm-ascend.obs.cn-north-4.myhuaweicloud.com/vllm-ascend/${BISHENG_NAME}" wget -O "${BISHENG_NAME}" "${BISHENG_URL}" && chmod a+x "${BISHENG_NAME}" && "./${BISHENG_NAME}" --install && rm "${BISHENG_NAME}" diff --git a/.github/workflows/_unit_test.yaml b/.github/workflows/_unit_test.yaml index 8ac9dcb6..54762a18 100644 --- a/.github/workflows/_unit_test.yaml +++ b/.github/workflows/_unit_test.yaml @@ -62,6 +62,9 @@ jobs: - name: Install Ascend toolkit & triton_ascend shell: bash -l {0} run: | + apt-get -y install clang-15 + update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 20 + update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 20 BISHENG_NAME="Ascend-BiSheng-toolkit_aarch64_20260105.run" BISHENG_URL="https://vllm-ascend.obs.cn-north-4.myhuaweicloud.com/vllm-ascend/${BISHENG_NAME}" wget -O "${BISHENG_NAME}" "${BISHENG_URL}" && chmod a+x "${BISHENG_NAME}" && "./${BISHENG_NAME}" --install && rm "${BISHENG_NAME}" diff --git a/tests/e2e/nightly/multi_node/scripts/run.sh b/tests/e2e/nightly/multi_node/scripts/run.sh index 2b536db9..229dc2a3 100644 --- a/tests/e2e/nightly/multi_node/scripts/run.sh +++ b/tests/e2e/nightly/multi_node/scripts/run.sh @@ -127,6 +127,10 @@ install_extra_components() { install_triton_ascend() { echo "====> Installing triton_ascend" + apt-get install -y clang-15 + update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 20 + update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 20 + clang -v BISHENG_NAME="Ascend-BiSheng-toolkit_aarch64_20260105.run" BISHENG_URL="https://vllm-ascend.obs.cn-north-4.myhuaweicloud.com/vllm-ascend/${BISHENG_NAME}"