[v0.18.0][Misc] Install numactl in Docker images (#7898)

### What this PR does / why we need it?
This PR backports the `numactl` Docker image update from #7870 to
`releases/v0.18.0`. It installs the `numactl` runtime package in both
Ubuntu-based and openEuler-based Dockerfiles while keeping the existing
development packages (`libnuma-dev` and `numactl-devel`) unchanged.

Backport of #7870.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
CI passed in #7870 on `main`. This backport reuses the same
Dockerfile-only change, and no additional local test was run in this
environment.

Signed-off-by: chenchuw886 <chenchuw@huawei.com>
Co-authored-by: chenchuw886 <chenchuw@huawei.com>
This commit is contained in:
Frank Chen
2026-04-01 16:22:37 +08:00
committed by GitHub
parent 2cb9195ff0
commit 762850fb4e
6 changed files with 6 additions and 6 deletions

View File

@@ -33,7 +33,7 @@ COPY . /vllm-workspace/vllm-ascend/
# Install Mooncake dependencies # Install Mooncake dependencies
RUN apt-get update -y && \ RUN apt-get update -y && \
apt-get install -y git vim wget net-tools gcc g++ cmake libnuma-dev libjemalloc2 && \ apt-get install -y git vim wget net-tools gcc g++ cmake numactl libnuma-dev libjemalloc2 && \
git clone --depth 1 --branch ${MOONCAKE_TAG} https://github.com/kvcache-ai/Mooncake /vllm-workspace/Mooncake && \ git clone --depth 1 --branch ${MOONCAKE_TAG} https://github.com/kvcache-ai/Mooncake /vllm-workspace/Mooncake && \
cp /vllm-workspace/vllm-ascend/tools/mooncake_installer.sh /vllm-workspace/Mooncake/ && \ cp /vllm-workspace/vllm-ascend/tools/mooncake_installer.sh /vllm-workspace/Mooncake/ && \
cd /vllm-workspace/Mooncake && bash mooncake_installer.sh -y && \ cd /vllm-workspace/Mooncake && bash mooncake_installer.sh -y && \

View File

@@ -28,7 +28,7 @@ ENV SOC_VERSION=$SOC_VERSION \
RUN apt-get update -y && \ RUN apt-get update -y && \
apt-get install -y python3-pip git vim wget net-tools gcc g++ cmake libnuma-dev libjemalloc2 && \ apt-get install -y python3-pip git vim wget net-tools gcc g++ cmake numactl libnuma-dev libjemalloc2 && \
rm -rf /var/cache/apt/* && \ rm -rf /var/cache/apt/* && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*

View File

@@ -25,7 +25,7 @@ ENV SOC_VERSION=$SOC_VERSION \
OMP_NUM_THREADS=1 OMP_NUM_THREADS=1
RUN yum update -y && \ RUN yum update -y && \
yum install -y python3-pip git vim wget net-tools gcc gcc-c++ make cmake numactl-devel jemalloc && \ yum install -y python3-pip git vim wget net-tools gcc gcc-c++ make cmake numactl numactl-devel jemalloc && \
rm -rf /var/cache/yum rm -rf /var/cache/yum
RUN pip config set global.index-url ${PIP_INDEX_URL} RUN pip config set global.index-url ${PIP_INDEX_URL}

View File

@@ -34,7 +34,7 @@ WORKDIR /workspace
# Install Mooncake dependencies # Install Mooncake dependencies
RUN apt-get update -y && \ RUN apt-get update -y && \
apt-get install -y git vim wget net-tools gcc g++ cmake libnuma-dev libjemalloc2 && \ apt-get install -y git vim wget net-tools gcc g++ cmake numactl libnuma-dev libjemalloc2 && \
git clone --depth 1 --branch ${MOONCAKE_TAG} https://github.com/kvcache-ai/Mooncake /vllm-workspace/Mooncake && \ git clone --depth 1 --branch ${MOONCAKE_TAG} https://github.com/kvcache-ai/Mooncake /vllm-workspace/Mooncake && \
cp /vllm-workspace/vllm-ascend/tools/mooncake_installer.sh /vllm-workspace/Mooncake/ && \ cp /vllm-workspace/vllm-ascend/tools/mooncake_installer.sh /vllm-workspace/Mooncake/ && \
cd /vllm-workspace/Mooncake && bash mooncake_installer.sh -y && \ cd /vllm-workspace/Mooncake && bash mooncake_installer.sh -y && \

View File

@@ -34,7 +34,7 @@ COPY . /vllm-workspace/vllm-ascend/
SHELL ["/bin/bash", "-c"] SHELL ["/bin/bash", "-c"]
RUN yum update -y && \ RUN yum update -y && \
yum install -y git vim wget net-tools gcc gcc-c++ make cmake numactl-devel jemalloc && \ yum install -y git vim wget net-tools gcc gcc-c++ make cmake numactl numactl-devel jemalloc && \
git clone --depth 1 --branch ${MOONCAKE_TAG} https://github.com/kvcache-ai/Mooncake /vllm-workspace/Mooncake && \ git clone --depth 1 --branch ${MOONCAKE_TAG} https://github.com/kvcache-ai/Mooncake /vllm-workspace/Mooncake && \
cp /vllm-workspace/vllm-ascend/tools/mooncake_installer.sh /vllm-workspace/Mooncake/ && \ cp /vllm-workspace/vllm-ascend/tools/mooncake_installer.sh /vllm-workspace/Mooncake/ && \
ARCH=$(uname -m) && \ ARCH=$(uname -m) && \

View File

@@ -34,7 +34,7 @@ COPY . /vllm-workspace/vllm-ascend/
SHELL ["/bin/bash", "-c"] SHELL ["/bin/bash", "-c"]
RUN yum update -y && \ RUN yum update -y && \
yum install -y git vim wget net-tools gcc gcc-c++ make cmake numactl-devel jemalloc && \ yum install -y git vim wget net-tools gcc gcc-c++ make cmake numactl numactl-devel jemalloc && \
git clone --depth 1 --branch ${MOONCAKE_TAG} https://github.com/kvcache-ai/Mooncake /vllm-workspace/Mooncake && \ git clone --depth 1 --branch ${MOONCAKE_TAG} https://github.com/kvcache-ai/Mooncake /vllm-workspace/Mooncake && \
cp /vllm-workspace/vllm-ascend/tools/mooncake_installer.sh /vllm-workspace/Mooncake/ && \ cp /vllm-workspace/vllm-ascend/tools/mooncake_installer.sh /vllm-workspace/Mooncake/ && \
ARCH=$(uname -m) && \ ARCH=$(uname -m) && \