Skip to content

Commit bb27b25

Browse files
wonderful199082wangxiaoxin (A)
authored andcommitted
[Doc] Add Referer header for CANN package download url. (#1192)
### What this PR does / why we need it? fix the CANN download url ### Does this PR introduce _any_ user-facing change? no, do not have any user-facing change ### How was this patch tested? run the **wget** command and cann package is rightly downloaded. --------- Signed-off-by: wan_danfeng <wonderful199082@126.com> Signed-off-by: wangxiaoxin (A) <wangxiaoxin7@huawei.com>
1 parent 9889d5c commit bb27b25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source/installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,17 +78,17 @@ source vllm-ascend-env/bin/activate
7878
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple attrs 'numpy<2.0.0' decorator sympy cffi pyyaml pathlib2 psutil protobuf scipy requests absl-py wheel typing_extensions
7979

8080
# Download and install the CANN package.
81-
wget https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/CANN/CANN%208.1.RC1/Ascend-cann-toolkit_8.1.RC1_linux-"$(uname -i)".run
81+
wget --header="Referer: https://www.hiascend.com/" https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/CANN/CANN%208.1.RC1/Ascend-cann-toolkit_8.1.RC1_linux-"$(uname -i)".run
8282
chmod +x ./Ascend-cann-toolkit_8.1.RC1_linux-"$(uname -i)".run
8383
./Ascend-cann-toolkit_8.1.RC1_linux-"$(uname -i)".run --full
8484

8585
source /usr/local/Ascend/ascend-toolkit/set_env.sh
8686

87-
wget https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/CANN/CANN%208.1.RC1/Ascend-cann-kernels-910b_8.1.RC1_linux-"$(uname -i)".run
87+
wget --header="Referer: https://www.hiascend.com/" https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/CANN/CANN%208.1.RC1/Ascend-cann-kernels-910b_8.1.RC1_linux-"$(uname -i)".run
8888
chmod +x ./Ascend-cann-kernels-910b_8.1.RC1_linux-"$(uname -i)".run
8989
./Ascend-cann-kernels-910b_8.1.RC1_linux-"$(uname -i)".run --install
9090

91-
wget https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/CANN/CANN%208.1.RC1/Ascend-cann-nnal_8.1.RC1_linux-"$(uname -i)".run
91+
wget --header="Referer: https://www.hiascend.com/" https://ascend-repo.obs.cn-east-2.myhuaweicloud.com/CANN/CANN%208.1.RC1/Ascend-cann-nnal_8.1.RC1_linux-"$(uname -i)".run
9292
chmod +x ./Ascend-cann-nnal_8.1.RC1_linux-"$(uname -i)".run
9393
./Ascend-cann-nnal_8.1.RC1_linux-"$(uname -i)".run --install
9494

0 commit comments

Comments
 (0)