Skip to content

Commit 081437d

Browse files
committed
[CI/CD] Add triton3.2 ci
1 parent e805899 commit 081437d

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ python3 -m pip install . --no-build-isolation -v
5454
```shell
5555
# ascend
5656
# Recommended: Use the Dockerfile flagtree/dockerfiles/Dockerfile-ubuntu20.04-python3.9-ascend
57+
# After registering an account at https://www.hiascend.com/developer/download/community/result?module=cann,
58+
# download the cann-toolkit and cann-kernels for the corresponding platform.
59+
# Here we use the A3 processor with AArch64 architecture as an example to demonstrate how to install.
60+
chmod +x Ascend-cann-toolkit_8.2.RC1.alpha002_linux-aarch64.run
61+
./Ascend-cann-toolkit_8.2.RC1.alpha002_linux-aarch64.run --install
62+
chmod +x Atlas-A3-cann-kernels_8.1.RC1_linux-aarch64.run
63+
./Atlas-A3-cann-kernels_8.1.RC1_linux-aarch64.run --install
64+
# build
5765
mkdir -p ~/.flagtree/ascend; cd ~/.flagtree/ascend
5866
wget https://oaitriton.blob.core.windows.net/public/llvm-builds/llvm-b5cc222d-ubuntu-arm64.tar.gz
5967
cd ${YOUR_CODE_DIR}/flagtree/python

README_cn.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@ python3 -m pip install . --no-build-isolation -v
5454
```shell
5555
# ascend
5656
# 推荐使用镜像 flagtree/dockerfiles/Dockerfile-ubuntu20.04-python3.9-ascend
57+
# 在 https://www.hiascend.com/developer/download/community/result?module=cann
58+
# 注册账号后下载对应平台的 cann-toolkit、cann-kernels,这里以 AArch64 架构的 A3 处理器为例展示如何安装
59+
chmod +x Ascend-cann-toolkit_8.2.RC1.alpha002_linux-aarch64.run
60+
./Ascend-cann-toolkit_8.2.RC1.alpha002_linux-aarch64.run --install
61+
chmod +x Atlas-A3-cann-kernels_8.1.RC1_linux-aarch64.run
62+
./Atlas-A3-cann-kernels_8.1.RC1_linux-aarch64.run --install
63+
# 编译安装
5764
mkdir -p ~/.flagtree/ascend; cd ~/.flagtree/ascend
5865
wget https://oaitriton.blob.core.windows.net/public/llvm-builds/llvm-b5cc222d-ubuntu-arm64.tar.gz
5966
cd ${YOUR_CODE_DIR}/flagtree/python

0 commit comments

Comments
 (0)