Skip to content

Commit 578ed0b

Browse files
Update doc/zh/DeepseekR1_tutorial_zh_for_Ascend_NPU.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent f9028f0 commit 578ed0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/zh/DeepseekR1_tutorial_zh_for_Ascend_NPU.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ source /usr/local/Ascend/ascend-toolkit/set_env.sh # 以实际CANN安装路径
7575
source /usr/local/Ascend/nnal/atb/set_env.sh # 以实际NNAL安装路径为准
7676
```
7777
由于环境对于torch_npu版本号有特定要求,使用编译后的torch_npu包需要手动移除版本信息中的哈希后缀,操作如下:
78-
使用文本编辑器打开/usr/local/lib/python3.11/site-packages/torch_npu/version.py(不同环境python路径可能不同,可以使用pip show torch_npu查看安装的python路径)
79-
__version__ = '2.5.1.post4+git69550dfc'改为__version__ = '2.5.1.post4'
78+
使用文本编辑器打开`/usr/local/lib/python3.11/site-packages/torch_npu/version.py`(不同环境python路径可能不同,可以使用`pip show torch_npu`查看安装的python路径)
79+
`__version__ = '2.5.1.post4+git69550dfc'`改为`__version__ = '2.5.1.post4'`
8080

8181

8282
## 权重准备

0 commit comments

Comments
 (0)