From 51ae37b22a9fe47537559d3f9725937320902ff4 Mon Sep 17 00:00:00 2001 From: wangxiyuan Date: Tue, 25 Feb 2025 11:00:58 +0800 Subject: [PATCH] [Doc] update readme (#147) Fix doc issue in README --------- Signed-off-by: wangxiyuan Co-authored-by: Yikun Jiang --- README.md | 7 ++++--- README.zh.md | 5 +++-- docs/source/installation.md | 5 +++-- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c58be9f..3178ebf 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,8 @@ By using vLLM Ascend plugin, popular open-source models, including Transformer-l - Hardware: Atlas 800I A2 Inference series, Atlas A2 Training series - Software: * Python >= 3.9 - * CANN >= 8.0.RC2 - * PyTorch >= 2.4.0, torch-npu >= 2.4.0 + * CANN >= 8.0.0 + * PyTorch >= 2.5.1, torch-npu >= 2.5.1.dev20250218 * vLLM (the same version as vllm-ascend) Find more about how to setup your environment step by step in [here](docs/source/installation.md). @@ -83,13 +83,14 @@ We welcome and value any contributions and collaborations: vllm-ascend has main branch and dev branch. - **main**: main branch,corresponds to the vLLM main branch, and is continuously monitored for quality through Ascend CI. -- **vX.Y.Z-dev**: development branch, created with part of new releases of vLLM. For example, `v0.7.1-dev` is the dev branch for vLLM `v0.7.1` version. +- **vX.Y.Z-dev**: development branch, created with part of new releases of vLLM. For example, `v0.7.3-dev` is the dev branch for vLLM `v0.7.3` version. Below is maintained branches: | Branch | Status | Note | |------------|--------------|--------------------------------------| | main | Maintained | CI commitment for vLLM main branch | +| v0.7.1-dev | Unmaintained | Only doc fixed is allowed | | v0.7.3-dev | Maintained | CI commitment for vLLM 0.7.3 version | Please refer to [Versioning policy](docs/source/developer_guide/versioning_policy.md) for more details. diff --git a/README.zh.md b/README.zh.md index 2f9df29..58903de 100644 --- a/README.zh.md +++ b/README.zh.md @@ -36,7 +36,7 @@ vLLM 昇腾插件 (`vllm-ascend`) 是一个让vLLM在Ascend NPU无缝运行的 - 软件: * Python >= 3.9 * CANN >= 8.0.RC2 - * PyTorch >= 2.4.0, torch-npu >= 2.4.0 + * PyTorch >= 2.5.1, torch-npu >= 2.5.1.dev20250218 * vLLM (与vllm-ascend版本一致) 在[此处](docs/source/installation.md),您可以了解如何逐步准备环境。 @@ -76,13 +76,14 @@ curl http://localhost:8000/v1/models vllm-ascend有主干分支和开发分支。 - **main**: 主干分支,与vLLM的主干分支对应,并通过昇腾CI持续进行质量看护。 -- **vX.Y.Z-dev**: 开发分支,随vLLM部分新版本发布而创建,比如`v0.7.1-dev`是vllm-asend针对vLLM `v0.7.1`版本的开发分支。 +- **vX.Y.Z-dev**: 开发分支,随vLLM部分新版本发布而创建,比如`v0.7.3-dev`是vllm-asend针对vLLM `v0.7.3`版本的开发分支。 下面是维护中的分支: | 分支 | 状态 | 备注 | |------------|------------|---------------------| | main | Maintained | 基于vLLM main分支CI看护 | +| v0.7.1-dev | Unmaintained | 只允许文档修复 | | v0.7.3-dev | Maintained | 基于vLLM v0.7.3版本CI看护 | 请参阅[版本策略](docs/source/developer_guide/versioning_policy.zh.md)了解更多详细信息。 diff --git a/docs/source/installation.md b/docs/source/installation.md index ae1caa9..ffd79a1 100644 --- a/docs/source/installation.md +++ b/docs/source/installation.md @@ -12,7 +12,7 @@ This document describes how to install vllm-ascend manually. | Software | Supported version | Note | | ------------ | ----------------- | ---- | | CANN | >= 8.0.0 | Required for vllm-ascend and torch-npu | - | torch-npu | >= 2.5.1rc1 | Required for vllm-ascend | + | torch-npu | >= 2.5.1.dev20250218 | Required for vllm-ascend | | torch | >= 2.5.1 | Required for torch-npu and vllm | You have 2 way to install: @@ -81,6 +81,8 @@ wget https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/CANN/CANN%208.0.0/Ascen chmod +x ./Ascend-cann-toolkit_8.0.0_linux-aarch64.run ./Ascend-cann-toolkit_8.0.0_linux-aarch64.run --full +source /usr/local/Ascend/ascend-toolkit/set_env.sh + wget https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/CANN/CANN%208.0.0/Ascend-cann-kernels-910b_8.0.0_linux-aarch64.run chmod +x ./Ascend-cann-kernels-910b_8.0.0_linux-aarch64.run ./Ascend-cann-kernels-910b_8.0.0_linux-aarch64.run --install @@ -89,7 +91,6 @@ wget https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/CANN/CANN%208.0.0/Ascen chmod +x. /Ascend-cann-nnal_8.0.0_linux-aarch64.run ./Ascend-cann-nnal_8.0.0_linux-aarch64.run --install -source /usr/local/Ascend/ascend-toolkit/set_env.sh source /usr/local/Ascend/nnal/atb/set_env.sh ```