From 213027951a31342400aa6f489691ca0626bf76c7 Mon Sep 17 00:00:00 2001 From: Bingxu Chen Date: Sat, 11 Apr 2026 09:40:43 +0800 Subject: [PATCH] [AMD] Upgrade Aiter (#22264) --- docker/rocm.Dockerfile | 15 +++++++-------- scripts/ci/amd/amd_ci_install_dependency.sh | 5 +++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docker/rocm.Dockerfile b/docker/rocm.Dockerfile index e8d399f41..23fdee68e 100644 --- a/docker/rocm.Dockerfile +++ b/docker/rocm.Dockerfile @@ -27,7 +27,7 @@ ENV BUILD_TRITON="0" ENV BUILD_LLVM="0" ENV BUILD_AITER_ALL="1" ENV BUILD_MOONCAKE="1" -ENV AITER_COMMIT_DEFAULT="v0.1.11.post1" +ENV AITER_COMMIT_DEFAULT="v0.1.12.post1" # =============================== # Base image 942 with rocm720 and args @@ -37,7 +37,7 @@ ENV BUILD_TRITON="1" ENV BUILD_LLVM="0" ENV BUILD_AITER_ALL="1" ENV BUILD_MOONCAKE="1" -ENV AITER_COMMIT_DEFAULT="v0.1.11.post1" +ENV AITER_COMMIT_DEFAULT="v0.1.12.post1" # =============================== # Base image 950 and args @@ -47,7 +47,7 @@ ENV BUILD_TRITON="0" ENV BUILD_LLVM="0" ENV BUILD_AITER_ALL="1" ENV BUILD_MOONCAKE="1" -ENV AITER_COMMIT_DEFAULT="v0.1.11.post1" +ENV AITER_COMMIT_DEFAULT="v0.1.12.post1" # =============================== # Base image 950 with rocm720 and args @@ -57,7 +57,7 @@ ENV BUILD_TRITON="1" ENV BUILD_LLVM="0" ENV BUILD_AITER_ALL="1" ENV BUILD_MOONCAKE="1" -ENV AITER_COMMIT_DEFAULT="v0.1.11.post1" +ENV AITER_COMMIT_DEFAULT="v0.1.12.post1" # =============================== # Chosen arch and args @@ -173,13 +173,12 @@ RUN if [ "$BUILD_LLVM" = "1" ]; then \ # (SETUPTOOLS_SCM_PRETEND_VERSION is set later for SGLang nightly builds and would otherwise # leak into AITER's version when AITER uses setuptools_scm) ENV SETUPTOOLS_SCM_PRETEND_VERSION= -RUN pip uninstall -y aiter \ - && pip install flydsl==0.0.1.dev95158637 \ - && pip install psutil pybind11 # Required by AITER setup.py +RUN pip uninstall -y aiter RUN git clone ${AITER_REPO} \ && cd aiter \ && git checkout ${AITER_COMMIT} \ - && git submodule update --init --recursive + && git submodule update --init --recursive \ + && pip install -r requirements.txt # Hot patches for AITER in v0.1.10.post3 # This is for ROCm 7.2 only, because of the image rebase from vllm diff --git a/scripts/ci/amd/amd_ci_install_dependency.sh b/scripts/ci/amd/amd_ci_install_dependency.sh index e3a96f564..e04c53fc1 100755 --- a/scripts/ci/amd/amd_ci_install_dependency.sh +++ b/scripts/ci/amd/amd_ci_install_dependency.sh @@ -264,12 +264,13 @@ if [[ "${NEED_REBUILD}" == "true" ]]; then # clone a fresh copy to /sgl-workspace/aiter docker exec ci_sglang git clone https://github.com/ROCm/aiter.git /sgl-workspace/aiter - # checkout correct version + # checkout correct version and install requirements docker exec ci_sglang bash -c " cd /sgl-workspace/aiter && \ git fetch --all && \ git checkout ${REPO_AITER_COMMIT} && \ - git submodule update --init --recursive + git submodule update --init --recursive && \ + pip install -r requirements.txt " if [[ "${GPU_ARCH}" == "mi35x" ]]; then