Skip to content

Commit 445afe0

Browse files
authored
test=document_fix (#72903)
1 parent b8a618f commit 445afe0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/_Api-Benchmark.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ jobs:
102102
tar -zvxf PaddleTest.tar.gz 1>/dev/null 2>&1
103103
# git submodule foreach "git config --global --add safe.directory \$toplevel/\$sm_path"
104104
source ${{ github.workspace }}/../../../proxy
105+
mkdir -p ${{ github.workspace }}/../../../pip
106+
${python} -m pip config set global.cache-dir ${{ github.workspace }}/../../../pip
105107
${python} -m pip install -r ./PaddleTest/framework/e2e/api_benchmark_new/requirement.txt
106108
'
107109
@@ -113,6 +115,7 @@ jobs:
113115
export LD_LIBRARY_PATH=/usr/local/cuda-11.8/compat:/usr/local/cuda/compat:/usr/local/cuda/lib:/usr/local/cuda/lib64:/usr/local/nvidia/lib:/usr/local/nvidia/lib64:/usr/lib/x86_64-linux-gnu:${LD_LIBRARY_PATH}
114116
cd ./PaddleTest/framework/e2e/api_benchmark_new
115117
cp /paddle/PTSTools/Uploader/apibm_config.yml .
118+
source ${{ github.workspace }}/../../../proxy
116119
${python} -m pip install https://paddle-github-action.bj.bcebos.com/PR/build/${PR_ID}/${COMMIT_ID}/paddlepaddle_gpu-0.0.0-cp310-cp310-linux_x86_64.whl
117120
if [ ${core_index} -eq -1 ];then
118121
${python} runner_ci_action.py --yaml ../yaml/api_benchmark_fp32.yml --core_index 2

0 commit comments

Comments
 (0)