Namespace
gpustack
Image / Tag
runner:rocm6.4-vllm0.10.2
Content Digest
sha256:39aa8d1eaf2941c159be878a6896aa4ab802b92e6f2210891a85a89471779323
Details
Created

2025-10-27 20:50:39 UTC

Size

10.9 GB

Content Digest
Labels
  • maintainer
    dl.mlsedevops@amd.com
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    22.04

Environment
DEBIAN_FRONTEND

noninteractive

HIP_FORCE_DEV_KERNARG

1

LANG

en_US.UTF-8

LANGUAGE

en_US:en

LC_ALL

en_US.UTF-8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PIPX_HOME

/root/.local/share/pipx

PIPX_LOCAL_VENVS

/root/.local/share/pipx/venvs

PIP_DISABLE_PIP_VERSION_CHECK

1

PIP_NO_CACHE_DIR

1

PIP_ROOT_USER_ACTION

ignore

PYTHON_VERSION

3.12

RAY_EXPERIMENTAL_NOSET_HIP_VISIBLE_DEVICES

1

RAY_EXPERIMENTAL_NOSET_ROCR_VISIBLE_DEVICES

1

ROCM_ARCHS

ROCM_HOME

/opt/rocm

ROCM_VERSION

6.4.4

SAFETENSORS_FAST_GPU

1

TOKENIZERS_PARALLELISM

false

UV_HTTP_TIMEOUT

500

UV_INDEX_STRATEGY

unsafe-best-match

UV_NO_CACHE

1

UV_PRERELEASE

allow

UV_SYSTEM_PYTHON

1

VLLM_LMCACHE_VERSION

0.3.6

VLLM_TORCH_ROCM_VERSION

6.4.4

VLLM_TORCH_VERSION

2.8.0

VLLM_VERSION

0.10.2


Layers

[#000] sha256:60d98d907669dc22e547405da3e409eb14496606f4ac90692c5f2ef5081c4b1e - 0.25% (28.2 MB)

[#001] sha256:00b208fc6cdfc5e73385ed0c745540d20bb45c4719c73b996c321175ae37504f - 0.0% (237 Bytes)

[#002] sha256:f3b27836bbe9646ddfe8889de82eaed1463c364dca106761fa1e100d3ecd7e12 - 46.69% (5.07 GB)

[#003] sha256:64b0cbab574a02021f84161b07baaf2bd8b90854562291e8369d85bd8485c742 - 0.0% (655 Bytes)

[#004] sha256:2043a641f5ed63cecbbc1481b6527449a7b9c3b6ab8fa1fd208fb2beb2c3280d - 0.9% (100 MB)

[#005] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#006] sha256:d73c3622d63380724de5e389ab76a7e885299c97bda63875e51ab1d028c934e0 - 1.97% (219 MB)

[#007] sha256:8224667ca7d24f53a8dda6b51afd50d4dde8ed9b325159c4344bcb250be43fcc - 0.27% (30.6 MB)

[#008] sha256:e93be149b5de47ad0975576b2ee469a1f7d5cecc90d95386d9a6964d7c9abff3 - 0.48% (53.3 MB)

[#009] sha256:298a0540c16c1432713559c1b39fec0a58a1b003a468a5de9aa0adc4c5801d2e - 0.0% (56.1 KB)

[#010] sha256:fbeb94aa26a99d789f264b42d20e7d252cd8b03f33a4a5fcb30734495a7415af - 33.96% (3.69 GB)

[#011] sha256:400ac812574a72a58bba7a572aa343a6eb728d344f45e7637aae45574eeb52cb - 9.32% (1.01 GB)

[#012] sha256:7cc1a4a26d551f3f7c5d2c2a7ca7fcd6437bcd4097b6b5264756d49f205068b3 - 2.29% (255 MB)

[#013] sha256:dbfa3c474ebefb9374151740266ae5593b94ae3ea2c214cd2a0542eb8713c7f0 - 0.86% (95.4 MB)

[#014] sha256:a3f58680f8093092cb82cc11ade66a1c027c1696ac26d85b19898186b944c8b4 - 2.73% (303 MB)

[#015] sha256:9a3970afe92ffef70c025d6ccfcfdcee6b90a222cc14a348755884cbccaa3fc1 - 0.12% (13.4 MB)

[#016] sha256:a739f7d2c028758365258563974794436cc1958486ef359daf7ac302bc7e548d - 0.15% (16.4 MB)

[#017] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2025-08-19 17:17:08 UTC

/bin/sh -c #(nop) ARG RELEASE

2025-08-19 17:17:08 UTC

/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH

2025-08-19 17:17:08 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu

2025-08-19 17:17:08 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04

2025-08-19 17:17:10 UTC

/bin/sh -c #(nop) ADD file:9303cc1f788d2a9a8f909b154339f7c637b2a53c75c0e7f3da62eb1fefe371b1 in /

2025-08-19 17:17:10 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2025-09-25 17:23:12 UTC (buildkit.dockerfile.v0)

LABEL maintainer=dl.mlsedevops@amd.com

2025-09-25 17:23:12 UTC (buildkit.dockerfile.v0)

ARG ROCM_VERSION=5.3

2025-09-25 17:23:12 UTC (buildkit.dockerfile.v0)

ARG AMDGPU_VERSION=5.3

2025-09-25 17:23:12 UTC (buildkit.dockerfile.v0)

ARG APT_PREF

2025-09-25 17:23:12 UTC (buildkit.dockerfile.v0)

RUN |3 ROCM_VERSION=6.4.4 AMDGPU_VERSION=6.4.4 APT_PREF=Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600 /bin/sh -c echo "$APT_PREF" > /etc/apt/preferences.d/rocm-pin-600 # buildkit

2025-09-25 17:31:14 UTC (buildkit.dockerfile.v0)

RUN |3 ROCM_VERSION=6.4.4 AMDGPU_VERSION=6.4.4 APT_PREF=Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600 /bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates curl libnuma-dev gnupg && curl -sL https://repo.radeon.com/rocm/rocm.gpg.key | apt-key add - && printf "deb [arch=amd64] https://repo.radeon.com/rocm/apt/$ROCM_VERSION/ jammy main" | tee /etc/apt/sources.list.d/rocm.list && printf "deb [arch=amd64] https://repo.radeon.com/amdgpu/$AMDGPU_VERSION/ubuntu jammy main" | tee /etc/apt/sources.list.d/amdgpu.list && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends sudo libelf1 kmod file python3-dev python3-pip rocm-dev rocm-libs build-essential && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit

2025-09-25 17:31:14 UTC (buildkit.dockerfile.v0)

RUN |3 ROCM_VERSION=6.4.4 AMDGPU_VERSION=6.4.4 APT_PREF=Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600 /bin/sh -c groupadd -g 109 render # buildkit

2025-10-25 07:13:07 UTC (buildkit.dockerfile.v0)

SHELL [/bin/bash -eo pipefail -c]

2025-10-25 07:13:07 UTC (buildkit.dockerfile.v0)

ARG TARGETPLATFORM=linux/amd64

2025-10-25 07:13:07 UTC (buildkit.dockerfile.v0)

ARG TARGETOS=linux

2025-10-25 07:13:07 UTC (buildkit.dockerfile.v0)

ARG TARGETARCH=amd64

2025-10-25 07:13:07 UTC (buildkit.dockerfile.v0)

ENV DEBIAN_FRONTEND=noninteractive LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8

2025-10-25 07:13:07 UTC (buildkit.dockerfile.v0)

RUN |3 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 /bin/bash -eo pipefail -c # Tools # Refresh apt-get update -y && apt-get install -y --no-install-recommends \ software-properties-common apt-transport-https \ ca-certificates gnupg2 lsb-release gnupg-agent \ && apt-get update -y \ && add-apt-repository -y ppa:ubuntu-toolchain-r/test \ && apt-get update -y # Install apt-get install -y --no-install-recommends \ ca-certificates build-essential binutils bash openssl \ curl wget aria2 \ git git-lfs \ unzip xz-utils \ tzdata locales \ iproute2 iputils-ping ifstat net-tools dnsutils pciutils ipmitool \ procps sysstat htop \ tini vim jq bc tree # Update locale localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 # Update timezone rm -f /etc/localtime \ && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ && echo "Asia/Shanghai" > /etc/timezone \ && dpkg-reconfigure --frontend noninteractive tzdata # Cleanup rm -rf /var/tmp/* \ && rm -rf /tmp/* \ && rm -rf /var/cache/apt # buildkit

2025-10-25 07:13:07 UTC (buildkit.dockerfile.v0)

RUN |3 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 /bin/bash -eo pipefail -c # GCC # Upgrade GCC if the Ubuntu version is lower than 21.04. source /etc/os-release if (( $(echo "${VERSION_ID} >= 21.04" | bc -l) )); then echo "Skipping GCC upgrade for ${VERSION_ID}..." exit 0 fi # Install apt-get install -y --no-install-recommends \ gcc-11 g++-11 gfortran-11 gfortran # Update alternatives if [[ -f /etc/alternatives/gcov-dump ]]; then update-alternatives --remove-all gcov-dump; fi; update-alternatives --install /usr/bin/gcov-dump gcov-dump /usr/bin/gcov-dump-11 10 if [[ -f /etc/alternatives/lto-dump ]]; then update-alternatives --remove-all lto-dump; fi; update-alternatives --install /usr/bin/lto-dump lto-dump /usr/bin/lto-dump-11 10 if [[ -f /etc/alternatives/gcov ]]; then update-alternatives --remove-all gcov; fi; update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-11 10 if [[ -f /etc/alternatives/gcc ]]; then update-alternatives --remove-all gcc; fi; update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 10 if [[ -f /etc/alternatives/gcc-nm ]]; then update-alternatives --remove-all gcc-nm; fi; update-alternatives --install /usr/bin/gcc-nm gcc-nm /usr/bin/gcc-nm-11 10 if [[ -f /etc/alternatives/cpp ]]; then update-alternatives --remove-all cpp; fi; update-alternatives --install /usr/bin/cpp cpp /usr/bin/cpp-11 10 if [[ -f /etc/alternatives/g++ ]]; then update-alternatives --remove-all g++; fi; update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 10 if [[ -f /etc/alternatives/gcc-ar ]]; then update-alternatives --remove-all gcc-ar; fi; update-alternatives --install /usr/bin/gcc-ar gcc-ar /usr/bin/gcc-ar-11 10 if [[ -f /etc/alternatives/gcov-tool ]]; then update-alternatives --remove-all gcov-tool; fi; update-alternatives --install /usr/bin/gcov-tool gcov-tool /usr/bin/gcov-tool-11 10 if [[ -f /etc/alternatives/gcc-ranlib ]]; then update-alternatives --remove-all gcc-ranlib; fi; update-alternatives --install /usr/bin/gcc-ranlib gcc-ranlib /usr/bin/gcc-ranlib-11 10 if [[ -f /etc/alternatives/gfortran ]]; then update-alternatives --remove-all gfortran; fi; update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-11 10 # Cleanup rm -rf /var/tmp/* \ && rm -rf /tmp/* \ && rm -rf /var/cache/apt # buildkit

2025-10-25 07:13:30 UTC (buildkit.dockerfile.v0)

RUN |3 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 /bin/bash -eo pipefail -c # C buildkit # Install apt-get install -y --no-install-recommends \ make ninja-build pkg-config ccache curl --retry 3 --retry-connrefused -fL "https://github.com/Kitware/CMake/releases/download/v3.31.7/cmake-3.31.7-linux-$(uname -m).tar.gz" | tar -zx -C /usr --strip-components 1 # Install dependencies apt-get install -y --no-install-recommends \ perl-openssl-defaults perl yasm \ zlib1g zlib1g-dev libbz2-dev libffi-dev libgdbm-dev libgdbm-compat-dev \ openssl libssl-dev libsqlite3-dev lcov libomp-dev \ libblas-dev liblapack-dev libopenblas-dev libblas3 liblapack3 libhdf5-dev \ libxml2 libxslt1-dev libgl1-mesa-glx libgmpxx4ldbl \ libncurses5-dev libreadline6-dev libsqlite3-dev \ liblzma-dev lzma lzma-dev tk-dev uuid-dev libmpdec-dev \ ffmpeg libjpeg-dev libpng-dev libtiff-dev libwebp-dev \ libnuma-dev libjemalloc-dev # Cleanup rm -rf /var/tmp/* \ && rm -rf /tmp/* \ && rm -rf /var/cache/apt # buildkit

2025-10-25 07:13:30 UTC (buildkit.dockerfile.v0)

ARG PYTHON_VERSION=3.12

2025-10-25 07:13:30 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.12

2025-10-25 07:14:10 UTC (buildkit.dockerfile.v0)

RUN |4 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 PYTHON_VERSION=3.12 /bin/bash -eo pipefail -c # Python if (( $(echo "$(python3 --version | cut -d' ' -f2 | cut -d'.' -f1,2) == ${PYTHON_VERSION}" | bc -l) )); then echo "Skipping Python upgrade for ${PYTHON_VERSION}..." if [[ -z "$(ldconfig -v 2>/dev/null | grep libpython${PYTHON_VERSION})" ]]; then PYTHON_LIB_PREFIX=$(python3 -c "import sys; print(sys.base_prefix);") echo "${PYTHON_LIB_PREFIX}/lib" >> /etc/ld.so.conf.d/python3.conf echo "${PYTHON_LIB_PREFIX}/lib64" >> /etc/ld.so.conf.d/python3.conf EXPORT_PYTHON_LIB="export LD_LIBRARY_PATH=${PYTHON_LIB_PREFIX}/lib:${PYTHON_LIB_PREFIX}/lib64:\${LD_LIBRARY_PATH}" echo "${EXPORT_PYTHON_LIB}" >> /etc/profile echo "${EXPORT_PYTHON_LIB}" >> ~/.bashrc fi exit 0 fi # Add deadsnakes PPA for Python versions for i in 1 2 3; do add-apt-repository -y ppa:deadsnakes/ppa && break || { echo "Attempt $i failed, retrying in 5s..."; sleep 5; } done apt-get update -y # Install apt-get install -y --no-install-recommends \ python${PYTHON_VERSION} \ python${PYTHON_VERSION}-dev \ python${PYTHON_VERSION}-venv \ python${PYTHON_VERSION}-lib2to3 \ python${PYTHON_VERSION}-gdbm \ python${PYTHON_VERSION}-tk \ libibverbs-dev # Update alternatives if [[ -f /etc/alternatives/python3 ]]; then update-alternatives --remove-all python3; fi; update-alternatives --install /usr/bin/python3 python3 /usr/bin/python${PYTHON_VERSION} 1 if [[ -f /etc/alternatives/python ]]; then update-alternatives --remove-all python; fi; update-alternatives --install /usr/bin/python python /usr/bin/python${PYTHON_VERSION} 1 curl -sS "https://bootstrap.pypa.io/get-pip.py" | python${PYTHON_VERSION} if [[ -f /etc/alternatives/2to3 ]]; then update-alternatives --remove-all 2to3; fi; update-alternatives --install /usr/bin/2to3 2to3 /usr/bin/2to3${PYTHON_VERSION} 1 || true if [[ -f /etc/alternatives/pydoc3 ]]; then update-alternatives --remove-all pydoc3; fi; update-alternatives --install /usr/bin/pydoc3 pydoc3 /usr/bin/pydoc${PYTHON_VERSION} 1 || true if [[ -f /etc/alternatives/idle3 ]]; then update-alternatives --remove-all idle3; fi; update-alternatives --install /usr/bin/idle3 idle3 /usr/bin/idle${PYTHON_VERSION} 1 || true if [[ -f /etc/alternatives/python3-config ]]; then update-alternatives --remove-all python3-config; fi; update-alternatives --install /usr/bin/python3-config python3-config /usr/bin/python${PYTHON_VERSION}-config 1 || true # Cleanup rm -rf /var/tmp/* \ && rm -rf /tmp/* \ && rm -rf /var/cache/apt # buildkit

2025-10-25 07:14:10 UTC (buildkit.dockerfile.v0)

ENV PIP_NO_CACHE_DIR=1 PIP_DISABLE_PIP_VERSION_CHECK=1 PIP_ROOT_USER_ACTION=ignore PIPX_HOME=/root/.local/share/pipx PIPX_LOCAL_VENVS=/root/.local/share/pipx/venvs UV_NO_CACHE=1 UV_HTTP_TIMEOUT=500 UV_INDEX_STRATEGY=unsafe-best-match

2025-10-25 07:14:14 UTC (buildkit.dockerfile.v0)

RUN |4 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 PYTHON_VERSION=3.12 /bin/bash -eo pipefail -c # Buildkit cat <<EOT >/tmp/requirements.txt build cmake<4 ninja<1.11 setuptools<80 setuptools-scm packaging<25 wheel pybind11<3 Cython psutil pipx uv EOT pip install -r /tmp/requirements.txt # Cleanup rm -rf /var/tmp/* \ && rm -rf /tmp/* # buildkit

2025-10-25 07:14:14 UTC (buildkit.dockerfile.v0)

ARG ROCM_VERSION=6.4.4

2025-10-25 07:14:14 UTC (buildkit.dockerfile.v0)

ARG ROCM_ARCHS

2025-10-25 07:14:14 UTC (buildkit.dockerfile.v0)

ENV ROCM_HOME=/opt/rocm ROCM_VERSION=6.4.4 ROCM_ARCHS=

2025-10-25 07:14:15 UTC (buildkit.dockerfile.v0)

RUN |6 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 PYTHON_VERSION=3.12 ROCM_VERSION=6.4.4 ROCM_ARCHS= /bin/bash -eo pipefail -c # Toolkit uv pip install --system amdsmi==${ROCM_VERSION} # Cleanup rm -rf /var/tmp/* \ && rm -rf /tmp/* # buildkit

2025-10-27 12:35:05 UTC (buildkit.dockerfile.v0)

SHELL [/bin/bash -eo pipefail -c]

2025-10-27 12:35:05 UTC (buildkit.dockerfile.v0)

ARG TARGETPLATFORM=linux/amd64

2025-10-27 12:35:05 UTC (buildkit.dockerfile.v0)

ARG TARGETOS=linux

2025-10-27 12:35:05 UTC (buildkit.dockerfile.v0)

ARG TARGETARCH=amd64

2025-10-27 12:35:05 UTC (buildkit.dockerfile.v0)

ENV UV_SYSTEM_PYTHON=1 UV_PRERELEASE=allow

2025-10-27 12:35:05 UTC (buildkit.dockerfile.v0)

ARG VLLM_TORCH_VERSION=2.8.0

2025-10-27 12:35:05 UTC (buildkit.dockerfile.v0)

ARG VLLM_TORCH_ROCM_VERSION=6.4.4

2025-10-27 12:35:05 UTC (buildkit.dockerfile.v0)

ENV VLLM_TORCH_VERSION=2.8.0 VLLM_TORCH_ROCM_VERSION=6.4.4

2025-10-27 12:35:05 UTC (buildkit.dockerfile.v0)

RUN |5 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 VLLM_TORCH_VERSION=2.8.0 VLLM_TORCH_ROCM_VERSION=6.4.4 /bin/bash -eo pipefail -c # Torch # Install cat <<EOT >/tmp/requirements.txt torch==${VLLM_TORCH_VERSION} torchvision torchaudio EOT IFS="." read -r ROCM_MAJOR ROCM_MINOR ROCM_PATCH <<< "${VLLM_TORCH_ROCM_VERSION}" if [[ "${TARGETARCH}" == "amd64" ]]; then uv pip install --index-url https://download.pytorch.org/whl/rocm${ROCM_MAJOR}.${ROCM_MINOR} \ -r /tmp/requirements.txt else uv pip install --extra-index-url https://download.pytorch.org/whl/cpu/ \ -r /tmp/requirements.txt fi uv pip install \ numpy scipy # Cleanup rm -rf /var/tmp/* \ && rm -rf /tmp/* # buildkit

2025-10-27 12:35:05 UTC (buildkit.dockerfile.v0)

ARG CMAKE_MAX_JOBS

2025-10-27 12:35:05 UTC (buildkit.dockerfile.v0)

ARG VLLM_VERSION=0.10.2

2025-10-27 12:35:05 UTC (buildkit.dockerfile.v0)

ENV VLLM_VERSION=0.10.2

2025-10-27 13:26:52 UTC (buildkit.dockerfile.v0)

RUN |7 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 VLLM_TORCH_VERSION=2.8.0 VLLM_TORCH_ROCM_VERSION=6.4.4 CMAKE_MAX_JOBS= VLLM_VERSION=0.10.2 /bin/bash -eo pipefail -c # vLLM IFS="." read -r ROCM_MAJOR ROCM_MINOR ROCM_PATCH <<< "${VLLM_TORCH_ROCM_VERSION}" CMAKE_MAX_JOBS="${CMAKE_MAX_JOBS}" if [[ -z "${CMAKE_MAX_JOBS}" ]]; then CMAKE_MAX_JOBS="$(( $(nproc) / 2 ))" fi if (( $(echo "${CMAKE_MAX_JOBS} > 8" | bc -l) )); then CMAKE_MAX_JOBS="8" fi ROCM_ARCHS="$(echo ${ROCM_ARCHS} | sed -e 's/;gfx1[0-9]\{3\}//g')" if [[ -z "${ROCM_ARCHS}" ]]; then if (( $(echo "${ROCM_MAJOR}.${ROCM_MINOR} <= 6.2" | bc -l) )); then ROCM_ARCHS="gfx900;gfx906;gfx908;gfx90a;gfx941;gfx942;gfx1030;gfx1100;gfx1101" else ROCM_ARCHS="gfx900;gfx906;gfx908;gfx90a;gfx942;gfx1030;gfx1100;gfx1101;gfx1102;gfx1200;gfx1201" fi fi export MAX_JOBS="${CMAKE_MAX_JOBS}" export COMPILE_CUSTOM_KERNELS=1 export PYTORCH_ROCM_ARCH="${ROCM_ARCHS}" # Install EXTRA_INDEX_URL="https://download.pytorch.org/whl/rocm${ROCM_MAJOR}.${ROCM_MINOR}" if [[ "${TARGETARCH}" == "arm64" ]]; then EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu/" fi git -C /tmp clone --recursive --shallow-submodules \ --depth 1 --branch v${VLLM_VERSION} --single-branch \ https://github.com/vllm-project/vllm.git vllm-${VLLM_VERSION} VLLM_TARGET_DEVICE="rocm" uv pip install --verbose /tmp/vllm-${VLLM_VERSION} --extra-index-url ${EXTRA_INDEX_URL} # Cleanup rm -rf /var/tmp/* \ && rm -rf /tmp/* # buildkit

2025-10-27 13:26:54 UTC (buildkit.dockerfile.v0)

RUN |7 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 VLLM_TORCH_VERSION=2.8.0 VLLM_TORCH_ROCM_VERSION=6.4.4 CMAKE_MAX_JOBS= VLLM_VERSION=0.10.2 /bin/bash -eo pipefail -c # Triton if [[ ! -d /triton/workspace ]]; then echo "Skipping Triton installation for ${TARGETARCH}..." exit 0 fi # Install uv pip install \ /triton/workspace/*.whl # Cleanup rm -rf /var/tmp/* \ && rm -rf /tmp/* # buildkit

2025-10-27 20:48:44 UTC (buildkit.dockerfile.v0)

RUN |7 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 VLLM_TORCH_VERSION=2.8.0 VLLM_TORCH_ROCM_VERSION=6.4.4 CMAKE_MAX_JOBS= VLLM_VERSION=0.10.2 /bin/bash -eo pipefail -c # FlashAttention if [[ ! -d /flashattention/workspace ]]; then echo "Skipping FlashAttention installation for ${TARGETARCH}..." exit 0 fi # Install uv pip install \ /flashattention/workspace/*.whl # Cleanup rm -rf /var/tmp/* \ && rm -rf /tmp/* # buildkit

2025-10-27 20:48:46 UTC (buildkit.dockerfile.v0)

RUN |7 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 VLLM_TORCH_VERSION=2.8.0 VLLM_TORCH_ROCM_VERSION=6.4.4 CMAKE_MAX_JOBS= VLLM_VERSION=0.10.2 /bin/bash -eo pipefail -c # AITER if [[ ! -d /aiter/workspace ]]; then echo "Skipping AITER installation for ${TARGETARCH}..." exit 0 fi # Install uv pip install \ /aiter/workspace/*.whl # Cleanup rm -rf /var/tmp/* \ && rm -rf /tmp/* # buildkit

2025-10-27 20:48:46 UTC (buildkit.dockerfile.v0)

ARG VLLM_LMCACHE_VERSION=0.3.6

2025-10-27 20:48:46 UTC (buildkit.dockerfile.v0)

ENV VLLM_LMCACHE_VERSION=0.3.6

2025-10-27 20:50:36 UTC (buildkit.dockerfile.v0)

RUN |8 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 VLLM_TORCH_VERSION=2.8.0 VLLM_TORCH_ROCM_VERSION=6.4.4 CMAKE_MAX_JOBS= VLLM_VERSION=0.10.2 VLLM_LMCACHE_VERSION=0.3.6 /bin/bash -eo pipefail -c # LMCache # Ref https://github.com/LMCache/LMCache/blob/5afe9688b3519074b9915e7b3acf871328250150/docs/source/getting_started/installation.rst?plain=1#L184-L237. IFS="." read -r ROCM_MAJOR ROCM_MINOR ROCM_PATCH <<< "${VLLM_TORCH_ROCM_VERSION}" CMAKE_MAX_JOBS="${CMAKE_MAX_JOBS}" if [[ -z "${CMAKE_MAX_JOBS}" ]]; then CMAKE_MAX_JOBS="$(( $(nproc) / 2 ))" fi if (( $(echo "${CMAKE_MAX_JOBS} > 8" | bc -l) )); then CMAKE_MAX_JOBS="8" fi ROCM_ARCHS="$(echo ${ROCM_ARCHS} | sed -e 's/;gfx1[0-9]\{3\}//g')" if [[ -z "${ROCM_ARCHS}" ]]; then if (( $(echo "${ROCM_MAJOR}.${ROCM_MINOR} <= 6.2" | bc -l) )); then ROCM_ARCHS="gfx900;gfx906;gfx908;gfx90a;gfx941;gfx942;gfx1030;gfx1100;gfx1101" else ROCM_ARCHS="gfx900;gfx906;gfx908;gfx90a;gfx942;gfx1030;gfx1100;gfx1101;gfx1102;gfx1200;gfx1201" fi fi export MAX_JOBS="${CMAKE_MAX_JOBS}" export PYTORCH_ROCM_ARCH="${ROCM_ARCHS}" export TORCH_DONT_CHECK_COMPILER_ABI=1 export CXX=hipcc export BUILD_WITH_HIP=1 # Install LMCache git -C /tmp clone --recursive --shallow-submodules \ --depth 1 --branch v${VLLM_LMCACHE_VERSION} --single-branch \ https://github.com/LMCache/LMCache.git lmcache if [[ "${TARGETARCH}" == "arm64" ]]; then sed -i "s/^infinistore$/infinistore; platform_machine == 'x86_64'/" /tmp/lmcache/requirements/common.txt fi pip install -v --no-build-isolation /tmp/lmcache # Cleanup rm -rf /var/tmp/* \ && rm -rf /tmp/* # buildkit

2025-10-27 20:50:38 UTC (buildkit.dockerfile.v0)

RUN |8 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 VLLM_TORCH_VERSION=2.8.0 VLLM_TORCH_ROCM_VERSION=6.4.4 CMAKE_MAX_JOBS= VLLM_VERSION=0.10.2 VLLM_LMCACHE_VERSION=0.3.6 /bin/bash -eo pipefail -c # Ray # Install Ray Client and Default RAY_VERSION=$(pip show ray | grep Version: | cut -d' ' -f 2) cat <<EOT >/tmp/requirements.txt ray[client]==${RAY_VERSION} ray[default]==${RAY_VERSION} EOT uv pip install \ -r /tmp/requirements.txt # Cleanup rm -rf /var/tmp/* \ && rm -rf /tmp/* # buildkit

2025-10-27 20:50:39 UTC (buildkit.dockerfile.v0)

RUN |8 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 VLLM_TORCH_VERSION=2.8.0 VLLM_TORCH_ROCM_VERSION=6.4.4 CMAKE_MAX_JOBS= VLLM_VERSION=0.10.2 VLLM_LMCACHE_VERSION=0.3.6 /bin/bash -eo pipefail -c # Postprocess # Review uv pip tree \ --package vllm \ --package flash_attn \ --package triton \ --package aiter \ --package torch \ --package lmcache # buildkit

2025-10-27 20:50:39 UTC (buildkit.dockerfile.v0)

ENV RAY_EXPERIMENTAL_NOSET_ROCR_VISIBLE_DEVICES=1 RAY_EXPERIMENTAL_NOSET_HIP_VISIBLE_DEVICES=1 TOKENIZERS_PARALLELISM=false SAFETENSORS_FAST_GPU=1 HIP_FORCE_DEV_KERNARG=1

2025-10-27 20:50:39 UTC (buildkit.dockerfile.v0)

WORKDIR /

2025-10-27 20:50:39 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["tini" "--"]

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete