From d71fd35de38347e5d54ee9c036bb0e101ffa586b Mon Sep 17 00:00:00 2001 From: zhihang Date: Fri, 12 Sep 2025 16:24:33 +0800 Subject: [PATCH] trigger CI Signed-off-by: zhihang --- AI/vllm-cpu/0.10.1/22.03-lts-sp4/Dockerfile | 56 +++++++++++++++++++++ AI/vllm-cpu/0.10.1/24.03-lts/Dockerfile | 53 +++++++++++++++++++ 2 files changed, 109 insertions(+) create mode 100644 AI/vllm-cpu/0.10.1/22.03-lts-sp4/Dockerfile create mode 100644 AI/vllm-cpu/0.10.1/24.03-lts/Dockerfile diff --git a/AI/vllm-cpu/0.10.1/22.03-lts-sp4/Dockerfile b/AI/vllm-cpu/0.10.1/22.03-lts-sp4/Dockerfile new file mode 100644 index 00000000..a3879aca --- /dev/null +++ b/AI/vllm-cpu/0.10.1/22.03-lts-sp4/Dockerfile @@ -0,0 +1,56 @@ +ARG BASE=openeuler/openeuler:22.03-lts-sp4 +ARG VERSION=v0.10.1 + +FROM ${BASE} AS base + +ARG VERSION + +RUN yum update -y && \ + yum install -y \ + ccache \ + git \ + curl \ + wget \ + ca-certificates \ + gcc-toolset-12-gcc \ + gcc-toolset-12-gcc-c++ \ + python \ + python-pip \ + python3-devel \ + git \ + ffmpeg \ + libSM \ + libXext \ + jq \ + lsof \ + numactl-devel && \ + yum clean all + +ENV PATH=/opt/openEuler/gcc-toolset-12/root/usr/bin/:$PATH +ENV LD_LIBRARY_PATH=/opt/openEuler/gcc-toolset-12/root/usr/lib64/:$LD_LIBRARY_PATH + +WORKDIR /workspace + +RUN git clone -b ${VERSION} https://github.com/vllm-project/vllm.git + +WORKDIR /workspace/vllm + +RUN pip install -r requirements/cpu.txt + +FROM base AS build + +RUN pip install -r requirements/cpu-build.txt + +RUN VLLM_TARGET_DEVICE=cpu python3 setup.py bdist_wheel + +FROM base AS release + +COPY --from=build /workspace/vllm/dist /workspace/vllm/dist + +RUN pip install dist/*.whl + +WORKDIR /workspace + +ENTRYPOINT ["python", "-m", "vllm.entrypoints.openai.api_server"] + + diff --git a/AI/vllm-cpu/0.10.1/24.03-lts/Dockerfile b/AI/vllm-cpu/0.10.1/24.03-lts/Dockerfile new file mode 100644 index 00000000..2eff5da7 --- /dev/null +++ b/AI/vllm-cpu/0.10.1/24.03-lts/Dockerfile @@ -0,0 +1,53 @@ +ARG BASE=openeuler/openeuler:24.03-lts +ARG VERSION=v0.10.1 + +FROM ${BASE} AS base + +ARG VERSION + +RUN yum update -y && \ + yum install -y \ + ccache \ + git \ + curl \ + wget \ + ca-certificates \ + gcc \ + gcc-c++ \ + python \ + python-pip \ + python3-devel \ + git \ + ffmpeg \ + libSM \ + libXext \ + jq \ + lsof \ + numactl-devel && \ + yum clean all + +WORKDIR /workspace + +RUN git clone -b ${VERSION} https://github.com/vllm-project/vllm.git + +WORKDIR /workspace/vllm + +RUN pip install -r requirements/cpu.txt + +FROM base AS build + +RUN pip install -r requirements/cpu-build.txt + +RUN VLLM_TARGET_DEVICE=cpu python3 setup.py bdist_wheel + +FROM base AS release + +COPY --from=build /workspace/vllm/dist /workspace/vllm/dist + +RUN pip install dist/*.whl + +WORKDIR /workspace + +ENTRYPOINT ["python", "-m", "vllm.entrypoints.openai.api_server"] + + -- Gitee