Skip to content

Commit b34bd59

Browse files
committed
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix_matmul_grad_0_size_bug
2 parents 75fac72 + fbaad0c commit b34bd59

File tree

696 files changed

+24956
-5197
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

696 files changed

+24956
-5197
lines changed

.github/workflows/Build-develop.yml

Lines changed: 0 additions & 178 deletions
This file was deleted.

.github/workflows/CI.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,34 @@ jobs:
7878
can-skip: ${{ needs.build.outputs.can-skip }}
7979
docker_build_image: ${{ needs.build-docker.outputs.docker_build_image }}
8080

81+
ce-framework:
82+
name: CE-Framework
83+
uses: ./.github/workflows/_CE-Framework.yml
84+
needs: [build-docker, build]
85+
with:
86+
can-skip: ${{ needs.build.outputs.can-skip }}
87+
docker_build_image: ${{ needs.build-docker.outputs.docker_build_image }}
88+
89+
ce-cinn-framework:
90+
name: CE-CINN-Framework
91+
uses: ./.github/workflows/_CE-CINN-Framework.yml
92+
needs: [build-docker, build]
93+
with:
94+
can-skip: ${{ needs.build.outputs.can-skip }}
95+
docker_build_image: ${{ needs.build-docker.outputs.docker_build_image }}
96+
8197
api-benchmark:
8298
name: Api-Benchmark
8399
uses: ./.github/workflows/_Api-Benchmark.yml
84100
needs: [build-docker, build]
85101
with:
86102
can-skip: ${{ needs.build.outputs.can-skip }}
87103
docker_build_image: ${{ needs.build-docker.outputs.docker_build_image }}
104+
105+
slice:
106+
name: Slice
107+
uses: ./.github/workflows/_Slice.yml
108+
needs: [build-docker, build]
109+
with:
110+
can-skip: ${{ needs.build.outputs.can-skip }}
111+
docker_build_image: ${{ needs.build-docker.outputs.docker_build_image }}

.github/workflows/Coverage.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
env:
15-
Dockerfile: Dockerfile.cuda117_cudnn8_gcc82_ubuntu18_coverage
16-
docker_image: 5a60bb165c34
1715
PR_ID: ${{ github.event.pull_request.number }}
1816
COMMIT_ID: ${{ github.event.pull_request.head.sha }}
1917
TASK: paddle-CI-${{ github.event.pull_request.number }}-coverage
@@ -55,7 +53,6 @@ jobs:
5553

5654
steps:
5755
- name: Check docker image and run container
58-
if: steps.check-bypass.outputs.can-skip != 'true'
5956
env:
6057
CCACHE_DIR: "/root/.ccache/coverage"
6158
FLAGS_fraction_of_gpu_memory_to_use: 0.15
@@ -243,7 +240,7 @@ jobs:
243240
244241
test:
245242
name: Coverage test
246-
needs: build
243+
needs: [build, build-docker]
247244
if: needs.build.outputs.can-skip != 'true'
248245
runs-on:
249246
group: BD_BJ-V100
@@ -277,6 +274,7 @@ jobs:
277274
run: |
278275
container_name=${TASK}-$(date +%Y%m%d-%H%M%S)
279276
echo "container_name=${container_name}" >> ${{ github.env }}
277+
docker_image=${{ needs.build-docker.outputs.docker_coverage_image }}
280278
docker run -d -t --gpus all --name ${container_name} \
281279
-v "/home/data/cfs:/home/data/cfs" \
282280
-v "/home/data/cfs/.cache:/root/.cache" \

.github/workflows/_Api-Benchmark.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
name: Check bypass for Api-Benchmark
3131
uses: ./.github/workflows/check-bypass.yml
3232
with:
33-
workflow-name: 'api-bm'
33+
workflow-name: 'api-benchmark'
3434
secrets:
3535
github-token: ${{ secrets.GITHUB_TOKEN }}
3636

@@ -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)