Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/_Api-Benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
labels: [self-hosted, "${{ inputs.run-labels }}"]
steps:
- name: Determine the runner
if: false
run: |
docker_image=${{ inputs.docker_build_image }}
echo "docker_image=${docker_image}" >> $GITHUB_ENV
Expand All @@ -74,6 +75,7 @@ jobs:
echo "core_index=${core_index}" >> $GITHUB_ENV

- name: Check docker image and run container
if: false
env:
python: "python3.10"
GIT_PR_ID: ${{ github.event.pull_request.number || '0' }}
Expand Down Expand Up @@ -106,6 +108,7 @@ jobs:
-w /paddle --network host ${docker_image}

- name: Download PaddleTest.tar.gz
if: false
env:
work_dir: ${{ github.workspace }}
run: |
Expand All @@ -125,6 +128,7 @@ jobs:
'

- name: Paddletest check
if: false
env:
work_dir: ${{ github.workspace }}
run: |
Expand Down Expand Up @@ -153,7 +157,7 @@ jobs:
'

- name: Terminate and delete the container
if: always()
if: false
run: |
docker exec -t ${{ env.container_name }} /bin/bash -c 'rm -rf * .[^.]*'
docker rm -f ${{ env.container_name }}
8 changes: 6 additions & 2 deletions .github/workflows/_Auto-Parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
group: Auto-Parallel
steps:
- name: Check docker image and run container
if: false
env:
FLAGS_dynamic_static_unified_comm: "True"
python_version: "3.10"
Expand Down Expand Up @@ -72,6 +73,7 @@ jobs:
-w /workspace --runtime=nvidia ${docker_image}

- name: Download Paddle
if: false
env:
work_dir: ${{ github.workspace }}
run: |
Expand All @@ -86,6 +88,7 @@ jobs:
'

- name: Download PaddleTest
if: false
env:
work_dir: ${{ github.workspace }}
run: |
Expand All @@ -100,6 +103,7 @@ jobs:
'

- name: Test
if: false
env:
work_dir: ${{ github.workspace }}
run: |
Expand All @@ -115,7 +119,7 @@ jobs:
'

- name: Upload and display logs
if: always()
if: false
env:
home_path: ${{ github.workspace }}/..
bos_file: ${{ github.workspace }}/../bos_retry/BosClient.py
Expand All @@ -137,7 +141,7 @@ jobs:
'

- name: Terminate and delete the container
if: always()
if: false
run: |
docker exec -t ${{ env.container_name }} /bin/bash -c 'rm -rf * .[^.]*'
docker rm -f ${{ env.container_name }}
8 changes: 7 additions & 1 deletion .github/workflows/_Linux-NPU.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:

steps:
- name: Download paddle.tar.gz and update test branch
if: false
run: |
docker run -i --rm \
-v ${{ github.workspace }}:/paddle \
Expand All @@ -64,6 +65,7 @@ jobs:
bash ci/git_pull.sh $BRANCH
- name: Determine the runner
if: false
run: |
runner_name=`(echo $PWD|awk -F '/' '{print $3}')`
echo $runner_name
Expand All @@ -72,13 +74,15 @@ jobs:
echo no_proxy="localhost,127.0.0.1,localaddress,.bj.bcebos.com,.localdomain.com,.cdn.bcebos.com,.baidu.com,.bcebos.com" >> ${{ github.env }}
- name: Clone PaddleCustomDevice repository
if: false
run: |
source ~/.bashrc
git clone --depth=1000 -b develop https://github.com/PaddlePaddle/PaddleCustomDevice.git
cd PaddleCustomDevice
cp -r ../Paddle .
- name: Check docker image and run container
if: false
env:
PADDLE_VERSION: 0.0.0
WITH_COVERAGE: "OFF"
Expand Down Expand Up @@ -148,6 +152,7 @@ jobs:
-w /paddle --network host ${docker_image} /bin/bash
- name: Install Paddle-CPU
if: false
run: |
docker exec -t ${{ env.container_name }} /bin/bash -c '
set -x
Expand All @@ -169,6 +174,7 @@ jobs:
'
- name: Build and test
if: false
run: |
docker exec -t ${{ env.container_name }} /bin/bash -c '
source ~/.bashrc
Expand All @@ -188,7 +194,7 @@ jobs:
'
- name: Terminate and delete the container
if: always()
if: false
run: |
docker exec -t ${container_name} /bin/bash -c 'rm -rf * .[^.]*'
docker stop ${container_name}
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/_Linux-XPU.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ jobs:

steps:
- name: Determine the runner
if: false
run: |
runner_name=`(echo $PWD|awk -F '/' '{print $3}')`
echo $runner_name
Expand All @@ -194,6 +195,7 @@ jobs:
determine_kunlun_runner ${runner_name}

- name: Check docker image and run container
if: false
env:
WITH_XPU: "ON"
COVERALLS_UPLOAD: "OFF"
Expand Down Expand Up @@ -258,6 +260,7 @@ jobs:
-w /paddle --network host ${docker_image} /bin/bash

- name: Download build.tar.gz
if: false
run: |
docker exec -t ${{ env.container_name }} /bin/bash -c '
wget -q --no-proxy https://paddle-github-action.bj.bcebos.com/PR/xpu/${PR_ID}/${COMMIT_ID}/build.tar.gz --no-check-certificate
Expand All @@ -266,14 +269,15 @@ jobs:
'

- name: Run test
if: false
run: |
docker exec -t ${{ env.container_name }} /bin/bash -c '
source ${{ github.workspace }}/../../../proxy
bash ${ci_scripts}/kunlun_test.sh
'

- name: Terminate and delete the container
if: always()
if: false
run: |
docker exec -t ${container_name} /bin/bash -c 'rm -rf * .[^.]*'
docker rm -f ${container_name}
Loading