knox revised this gist . Go to revision
1 file changed, 11 insertions
LLaMA-Factory-8.sh(file created)
@@ -0,0 +1,11 @@ | |||
1 | + | # replace the url according to your CANN version and devices | |
2 | + | # install CANN Toolkit | |
3 | + | wget https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/Milan-ASL/Milan-ASL%20V100R001C17SPC701/Ascend-cann-toolkit_8.0.RC1.alpha001_linux-"$(uname -i)".run | |
4 | + | bash Ascend-cann-toolkit_8.0.RC1.alpha001_linux-"$(uname -i)".run --install | |
5 | + | ||
6 | + | # install CANN Kernels | |
7 | + | wget https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/Milan-ASL/Milan-ASL%20V100R001C17SPC701/Ascend-cann-kernels-910b_8.0.RC1.alpha001_linux.run | |
8 | + | bash Ascend-cann-kernels-910b_8.0.RC1.alpha001_linux.run --install | |
9 | + | ||
10 | + | # set env variables | |
11 | + | source /usr/local/Ascend/ascend-toolkit/set_env.sh |
Newer
Older