From cda5c40de63330d6da6e5cade43db92f391bf4cd Mon Sep 17 00:00:00 2001 From: LeiZhenzhen Date: Wed, 30 Jul 2025 17:16:00 +0800 Subject: [PATCH] [pytorch][md]update version match table --- README.md | 8 +++----- docs/pytorch/install_guide.md | 16 ++++++++-------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 5014a73a5b..565fc0fd54 100644 --- a/README.md +++ b/README.md @@ -52,13 +52,13 @@ MindSpeed LLM的依赖配套如下表,安装步骤参考[安装指导](docs/py 昇腾NPU驱动 - 在研版本 + Ascend HDK 25.2.0 昇腾NPU固件 Toolkit(开发套件) - 在研版本 + CANN 8.2.RC1 Kernel(算子包) @@ -78,7 +78,7 @@ MindSpeed LLM的依赖配套如下表,安装步骤参考[安装指导](docs/py torch_npu插件 - 在研版本 + 7.1.0 apex @@ -86,8 +86,6 @@ MindSpeed LLM的依赖配套如下表,安装步骤参考[安装指导](docs/py -注:由于master分支使用在研版本的驱动以及CANN包,因此master上的一些新特性老版本配套可能有不支持情况,要使用稳定版本,请切换到商发分支并下载对应依赖版本进行安装。 - ## 预置模型 diff --git a/docs/pytorch/install_guide.md b/docs/pytorch/install_guide.md index 5b7dca0b21..91d433d5be 100644 --- a/docs/pytorch/install_guide.md +++ b/docs/pytorch/install_guide.md @@ -2,14 +2,14 @@ 请参考首页[依赖信息](../../README.md#版本配套表)选择下载对应依赖版本。 ->注意: ->1.torch2.6不支持python3.8,请优先使用python3.10; ->2.qwen3,llama3.3系列模型要求高版本transformers,因此需要使用python3.10及以上版本; +>注意:
+>1.torch2.6不支持python3.8,请优先使用python3.10;
+>2.qwen3, llama3.3系列模型要求高版本transformers,因此需要使用python3.10及以上版本;
### 驱动固件安装 -下载[驱动固件](https://www.hiascend.com/hardware/firmware-drivers/community?product=4&model=26&cann=8.0.RC3.beta1&driver=1.0.27.alpha),请根据系统和硬件产品型号选择对应版本的`driver`和`firmware`。参考[安装NPU驱动固件](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0005.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)或执行以下命令安装: +下载[驱动固件](https://www.hiascend.com/hardware/firmware-drivers/community?product=4&model=26&cann=8.2.RC1&driver=Ascend+HDK+25.2.0),请根据系统和硬件产品型号选择对应版本的`driver`和`firmware`。参考[安装NPU驱动固件](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/82RC1/softwareinst/instg/instg_0005.html)或执行以下命令安装: ```shell chmod +x Ascend-hdk--npu-driver__linux-.run @@ -20,7 +20,7 @@ chmod +x Ascend-hdk--npu-firmware_.run ### CANN安装 -下载[CANN](https://www.hiascend.com/developer/download/community/result?module=cann),请根据根据系统选择`aarch64`或`x86_64`对应版本的`cann-toolkit`、`cann-kernel`和`cann-nnal`。参考[CANN安装](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/80RC3alpha003/softwareinst/instg/instg_0001.html?Mode=PmIns&OS=Ubuntu&Software=cannToolKit)或执行以下命令安装: +下载[CANN](https://www.hiascend.com/developer/download/community/result?module=cann),请根据根据系统选择`aarch64`或`x86_64`对应版本的`cann-toolkit`、`cann-kernel`和`cann-nnal`。参考[CANN安装](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/82RC1/softwareinst/instg/instg_quick.html)或执行以下命令安装: ```shell # 因为版本迭代,包名存在出入,根据实际修改 @@ -38,7 +38,7 @@ source /usr/local/Ascend/nnal/atb/set_env.sh ### PTA安装 -准备[torch_npu](https://www.hiascend.com/developer/download/community/result?module=pt)和[apex](https://gitee.com/ascend/apex),参考[Ascend Extension for PyTorch 配置与安装](https://www.hiascend.com/document/detail/zh/Pytorch/60RC2/configandinstg/instg/insg_0001.html)或执行以下命令安装: +准备[torch_npu](https://www.hiascend.com/developer/download/community/result?module=pt)和[apex](https://gitee.com/ascend/apex),参考[Ascend Extension for PyTorch 配置与安装](https://www.hiascend.com/document/detail/zh/Pytorch/710/configandinstg/instg/insg_0001.html)或执行以下命令安装: ```shell # 安装torch和torch_npu 构建参考 https://gitee.com/ascend/pytorch/releases @@ -75,5 +75,5 @@ git checkout 2.1.0 pip install -r requirements.txt # 安装其余依赖库 ``` ->注意: ->1.qwen3,llama3.3系列模型依赖transformers 4.51.0, 需要在环境配置完成后手动执行pip install transformers==4.51.0; \ No newline at end of file +>注意:
+>1.qwen3, llama3.3系列模型依赖transformers 4.51.0, 需要在环境配置完成后手动执行pip install transformers==4.51.0;
\ No newline at end of file -- Gitee