Skip to content
Open
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
5 changes: 5 additions & 0 deletions .github/workflows/_Clone-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ jobs:
git merge --no-edit ${BRANCH}
git submodule sync
git submodule update --init --recursive --force
cd Paddle/third_party/protobuf
git fetch --tags
cd ../pybind
git fetch --tags
cd ../../..

- name: Download bos client
env:
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/_IXUCA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
workflow-name: ixuca

- name: RUN IXUCA
id: run-ixuca
if: steps.check-bypass.outputs.can-skip != 'true'
run: |
docker exec -t ${{ env.container_name }} /bin/bash -c '
Expand All @@ -94,9 +95,13 @@ jobs:

if [ $change_numbers -ne $change_backend ]; then
echo "Common file changed, continue to run IXUCA FULL CI test ..."
echo "should_skip=false" >> $GITHUB_OUTPUT
elif [ $change_ixuca_only -eq 0 ] ; then
echo "NO IXUCA backend changes found, skip IXUCA FULL CI ...."
echo "should_skip=true" >> $GITHUB_OUTPUT
exit 0
else
echo "should_skip=false" >> $GITHUB_OUTPUT
fi

export PATH=/usr/local/corex-4.3.0/bin:$PATH
Expand All @@ -106,8 +111,8 @@ jobs:
python3 -m pip install --pre paddlepaddle -i https://www.paddlepaddle.org.cn/packages/nightly/cpu/
python3 -m pip install parameterized'

- name: Build and Install Paddle
if: steps.check-bypass.outputs.can-skip != 'true'
- name: Build and Install paddle_iluvatar_gpu
if: steps.check-bypass.outputs.can-skip != 'true' && steps.run-ixuca.outputs.should_skip != 'true'
run: |
docker exec -t ${{ env.container_name }} /bin/bash -c '
cd /workspace/PaddleCustomDevice/backends/iluvatar_gpu
Expand All @@ -117,7 +122,7 @@ jobs:
bash install_paddle.sh'

- name: Run Tests
if: steps.check-bypass.outputs.can-skip != 'true'
if: steps.check-bypass.outputs.can-skip != 'true' && steps.run-ixuca.outputs.should_skip != 'true'
run: |
docker exec -t ${{ env.container_name }} /bin/bash -c '
cd /workspace/PaddleCustomDevice/backends/iluvatar_gpu/tests
Expand Down
1 change: 1 addition & 0 deletions backends/iluvatar_gpu/build_paddle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ fi
pushd ${CURRENT_DIR}/../../
git submodule update --init --recursive --force
popd
echo "=== Submodule init successfully ==="

bash clean_paddle.sh

Expand Down
Loading