File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -133,15 +133,16 @@ jobs:
133
133
cd ./PaddleTest/framework/e2e/api_benchmark_new
134
134
cp /paddle/PTSTools/Uploader/apibm_config.yml .
135
135
source ${{ github.workspace }}/../../../proxy
136
- ${python} -m pip install $wheel_link
137
136
if [[ "${{ inputs.baseline }}" == "true" ]];then
138
137
if [[ "${{ inputs.MANUALLY_PR_ID }}" == "" ]]; then
139
- ${python} runner_ci_action.py --yaml ../yaml/api_benchmark_fp32.yml --baseline_whl_link https://paddle-github-action.bj.bcebos.com/PR/build/${{ github.event.pull_request.number }}/${{ github.event.pull_request.head.sha }}/paddlepaddle_gpu-0.0.0-cp310-cp310-linux_x86_64.whl
138
+ export pr_wheel_link= https://paddle-github-action.bj.bcebos.com/PR/build/${{ github.event.pull_request.number }}/${{ github.event.pull_request.head.sha }}/paddlepaddle_gpu-0.0.0-cp310-cp310-linux_x86_64.whl
140
139
else
141
- ${python} runner_ci_action.py --yaml ../yaml/api_benchmark_fp32.yml --baseline_whl_link https://paddle-github-action.bj.bcebos.com/PR/build/${{ inputs.MANUALLY_PR_ID }}/${{ inputs.MANUALLY_COMMIT_ID }}/paddlepaddle_gpu-0.0.0-cp310-cp310-linux_x86_64.whl
140
+ export pr_wheel_link= https://paddle-github-action.bj.bcebos.com/PR/build/${{ inputs.MANUALLY_PR_ID }}/${{ inputs.MANUALLY_COMMIT_ID }}/paddlepaddle_gpu-0.0.0-cp310-cp310-linux_x86_64.whl
142
141
fi
142
+ ${python} runner_ci_action.py --yaml ../yaml/api_benchmark_fp32.yml --baseline_whl_link $pr_wheel_link
143
143
exit 0
144
144
fi
145
+ ${python} -m pip install $wheel_link
145
146
if [ ${core_index} -eq -1 ];then
146
147
${python} runner_ci_action.py --yaml ../yaml/api_benchmark_fp32.yml --core_index 2
147
148
else
You can’t perform that action at this time.
0 commit comments