From da24478913f5fbac87644c3679e051ed5276fdbe Mon Sep 17 00:00:00 2001 From: Michael <13900043+michaelzhang-ai@users.noreply.github.com> Date: Tue, 17 Mar 2026 22:07:07 -0700 Subject: [PATCH] [AMD] Fix CI: update transformers in Qwen 3.5 and GLM-5 nightly tests (#20750) --- .github/workflows/nightly-test-amd-rocm720.yml | 10 ++++------ .github/workflows/nightly-test-amd.yml | 10 ++++------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/nightly-test-amd-rocm720.yml b/.github/workflows/nightly-test-amd-rocm720.yml index d94c0f86c..5af5e55b9 100644 --- a/.github/workflows/nightly-test-amd-rocm720.yml +++ b/.github/workflows/nightly-test-amd-rocm720.yml @@ -608,7 +608,7 @@ jobs: - name: Install dependencies run: | bash scripts/ci/amd/amd_ci_install_dependency.sh --skip-aiter-build --skip-test-time-deps - bash scripts/ci/amd/amd_ci_exec.sh pip install git+https://github.com/huggingface/transformers.git mistral-common "lm-eval[api]" --upgrade + bash scripts/ci/amd/amd_ci_exec.sh pip install mistral-common "lm-eval[api]" - name: Accuracy Test ROCm 7.2 (8-GPU Qwen 3.5) timeout-minutes: 120 @@ -640,8 +640,7 @@ jobs: - name: Install dependencies run: | bash scripts/ci/amd/amd_ci_install_dependency.sh --skip-test-time-deps - # GLM-5 requires latest transformers for glm_moe_dsa architecture - bash scripts/ci/amd/amd_ci_exec.sh pip install git+https://github.com/huggingface/transformers.git + bash scripts/ci/amd/amd_ci_exec.sh pip install git+https://github.com/huggingface/transformers.git@96f807a33b75 - name: Accuracy Test ROCm 7.2 (8-GPU GLM-5 NSA) timeout-minutes: 120 @@ -1196,7 +1195,7 @@ jobs: run: | bash scripts/ci/amd/amd_ci_install_dependency.sh --skip-aiter-build --skip-test-time-deps bash scripts/ci/amd/amd_ci_exec.sh pip install tabulate - bash scripts/ci/amd/amd_ci_exec.sh pip install git+https://github.com/huggingface/transformers.git mistral-common "lm-eval[api]" --upgrade + bash scripts/ci/amd/amd_ci_exec.sh pip install mistral-common "lm-eval[api]" - name: Accuracy Test MI35x ROCm 7.2 (8-GPU Qwen 3.5) timeout-minutes: 120 @@ -1229,8 +1228,7 @@ jobs: bash scripts/ci/amd/amd_ci_install_dependency.sh --skip-test-time-deps # Install tabulate for run_suite.py (missing in MI35x container) bash scripts/ci/amd/amd_ci_exec.sh pip install tabulate - # GLM-5 requires latest transformers for glm_moe_dsa architecture - bash scripts/ci/amd/amd_ci_exec.sh pip install git+https://github.com/huggingface/transformers.git + bash scripts/ci/amd/amd_ci_exec.sh pip install git+https://github.com/huggingface/transformers.git@96f807a33b75 - name: Accuracy Test MI35x ROCm 7.2 (8-GPU GLM-5 NSA) timeout-minutes: 180 diff --git a/.github/workflows/nightly-test-amd.yml b/.github/workflows/nightly-test-amd.yml index 5aa969b73..85893432d 100644 --- a/.github/workflows/nightly-test-amd.yml +++ b/.github/workflows/nightly-test-amd.yml @@ -612,7 +612,7 @@ jobs: - name: Install dependencies run: | bash scripts/ci/amd/amd_ci_install_dependency.sh - bash scripts/ci/amd/amd_ci_exec.sh pip install git+https://github.com/huggingface/transformers.git mistral-common "lm-eval[api]" --upgrade + bash scripts/ci/amd/amd_ci_exec.sh pip install mistral-common "lm-eval[api]" - name: Accuracy Test (8-GPU Qwen 3.5) timeout-minutes: 120 @@ -643,8 +643,7 @@ jobs: - name: Install dependencies run: | bash scripts/ci/amd/amd_ci_install_dependency.sh - # GLM-5 requires latest transformers for glm_moe_dsa architecture - bash scripts/ci/amd/amd_ci_exec.sh pip install git+https://github.com/huggingface/transformers.git + bash scripts/ci/amd/amd_ci_exec.sh pip install git+https://github.com/huggingface/transformers.git@96f807a33b75 - name: Accuracy Test (8-GPU GLM-5 NSA) timeout-minutes: 120 @@ -1202,7 +1201,7 @@ jobs: run: | bash scripts/ci/amd/amd_ci_install_dependency.sh bash scripts/ci/amd/amd_ci_exec.sh pip install tabulate - bash scripts/ci/amd/amd_ci_exec.sh pip install git+https://github.com/huggingface/transformers.git mistral-common "lm-eval[api]" --upgrade + bash scripts/ci/amd/amd_ci_exec.sh pip install mistral-common "lm-eval[api]" - name: Accuracy Test MI35x (8-GPU Qwen 3.5) timeout-minutes: 120 @@ -1235,8 +1234,7 @@ jobs: bash scripts/ci/amd/amd_ci_install_dependency.sh # Install tabulate for run_suite.py (missing in MI35x container) bash scripts/ci/amd/amd_ci_exec.sh pip install tabulate - # GLM-5 requires latest transformers for glm_moe_dsa architecture - bash scripts/ci/amd/amd_ci_exec.sh pip install git+https://github.com/huggingface/transformers.git + bash scripts/ci/amd/amd_ci_exec.sh pip install git+https://github.com/huggingface/transformers.git@96f807a33b75 - name: Accuracy Test MI35x (8-GPU GLM-5 NSA) timeout-minutes: 180