From 4dcd5b56b7e7b2773ac493eb2e766bc3dfa8e3b9 Mon Sep 17 00:00:00 2001 From: SigureMo Date: Wed, 26 Jun 2024 16:58:49 +0800 Subject: [PATCH] [Infra] Use tuna mirror instead of baidu mirror --- ci_scripts/gendoc.sh | 2 +- ci_scripts/utils.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci_scripts/gendoc.sh b/ci_scripts/gendoc.sh index 9baea37fe66..384187b610f 100755 --- a/ci_scripts/gendoc.sh +++ b/ci_scripts/gendoc.sh @@ -17,7 +17,7 @@ export DOCROOT # PADDLE_WHL is defined in ci_start.sh pip3 list --disable-pip-version-check | grep paddlepaddle > /dev/null if [ $? -ne 0 ] ; then - pip3 install --no-cache-dir -i https://mirror.baidu.com/pypi/simple ${PADDLE_WHL} + pip3 install --no-cache-dir -i https://pypi.tuna.tsinghua.edu.cn/simple ${PADDLE_WHL} fi diff --git a/ci_scripts/utils.sh b/ci_scripts/utils.sh index a71cbf05259..cd7540220a0 100644 --- a/ci_scripts/utils.sh +++ b/ci_scripts/utils.sh @@ -79,7 +79,7 @@ function get_paddle_pr_num_from_docs_pr_info(){ function install_paddle() { # try to download paddle, and install # PADDLE_WHL is defined in ci_start.sh - pip install --no-cache-dir -i https://mirror.baidu.com/pypi/simple ${PADDLE_WHL} 1>nul + pip install --no-cache-dir -i https://pypi.tuna.tsinghua.edu.cn/simple ${PADDLE_WHL} 1>nul # if failed, build paddle if [ $? -ne 0 ];then build_paddle