### What this PR does / why we need it? This PR upgrades the core vLLM dependency to a newer version from the main branch (`13397841ab469cecf1ed425c3f52a9ffc38139b5`). This is necessary to keep our project up-to-date with the latest features and fixes from upstream vLLM. 1.ac32e66cf9pass file is moved. - vLLM version: v0.15.0 - vLLM main:d7e17aaacd--------- Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com> Signed-off-by: wxsIcey <1790571317@qq.com> Signed-off-by: Meihan-chen <jcccx.cmh@gmail.com> Co-authored-by: wxsIcey <1790571317@qq.com>
47 lines
1.6 KiB
Docker
47 lines
1.6 KiB
Docker
#
|
|
# Copyright (c) 2025 Huawei Technologies Co., Ltd. All Rights Reserved.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
# This file is a part of the vllm-ascend project.
|
|
#
|
|
|
|
FROM ascendai/python:3.11-ubuntu22.04
|
|
|
|
ARG TARGETARCH
|
|
|
|
RUN apt-get update -y && \
|
|
apt-get install -y curl git gcc g++ cmake libnuma-dev jq && \
|
|
rm -rf /var/cache/apt/* && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
ARG VLLM_REPO=https://github.com/vllm-project/vllm.git
|
|
# For lint purpose, actually we need make a main2main matching.
|
|
ARG VLLM_COMMIT=13397841ab469cecf1ed425c3f52a9ffc38139b5
|
|
RUN git clone $VLLM_REPO /vllm-workspace/vllm && \
|
|
cd /vllm-workspace/vllm && \
|
|
git checkout $VLLM_COMMIT
|
|
|
|
# # Install vLLM common dependencies
|
|
RUN python3 -m pip install -r /vllm-workspace/vllm/requirements/common.txt --extra-index https://download.pytorch.org/whl/cpu/ && \
|
|
python3 -m pip uninstall -y triton && \
|
|
python3 -m pip cache purge
|
|
|
|
COPY . /vllm-workspace/vllm-ascend/
|
|
|
|
RUN pip install -r /vllm-workspace/vllm-ascend/requirements-dev.txt --extra-index-url https://download.pytorch.org/whl/cpu && \
|
|
pip cache purge && \
|
|
rm -fr /vllm-workspace/
|
|
|
|
CMD ["/bin/bash"]
|