[Llama] Refactor Llama #727
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build CI Images | ||
|
Check failure on line 1 in .github/workflows/ce-build-ci-workflow.yml
|
||
| on: | ||
| schedule: | ||
| - cron: "0 22 * * *" # every day at 06:00 Beijing time (UTC+8) | ||
| workflow_dispatch: | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
| env: | ||
| image_base: "ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddle:cuda126-dev" | ||
| jobs: | ||
| build-ci-images-test: | ||
| name: build-ci-images-test | ||
| if: github.ref == 'refs/heads/develop' | ||
| uses: ./.github/workflows/ce-build-images.yml | ||
| with: | ||
| flag_build: test | ||
| runner: ernie-8gpu-2 | ||
| image_base: ${{ env.image_base }} | ||
| test-ci-images: | ||
| name: test-ci-images | ||
| needs: build-ci-images-test | ||
| if: ${{ needs.build-ci-images-test.outputs.flag_downstream == 'true' }} | ||
| uses: ./.github/workflows/unittest-gpu.yml | ||
| with: | ||
| runner: ernie-8gpu-2 | ||
| image_name: ${{ needs.build-ci-images-test.outputs.image_name }} | ||
| clean-ci-image: | ||
| name: clean-ci-image | ||
| needs: [build-ci-images-test, test-ci-images] | ||
| if: always() | ||
| runs-on: [self-hosted, ernie-8gpu-2] | ||
| steps: | ||
| - name: Remove Dangling Image | ||
| run: docker images -f "dangling=true" -q | xargs -r docker rmi -f | ||
| update-ci-images-1: | ||
| name: update-ci-images-1 | ||
| needs: [build-ci-images-test, test-ci-images] | ||
| uses: ./.github/workflows/ce-build-images.yml | ||
| with: | ||
| flag_build: update | ||
| runner: ernie-8gpu-1 | ||
| image_base: ${{ env.image_base }} | ||
| update-ci-images-2: | ||
| name: update-ci-images-2 | ||
| needs: [build-ci-images-test, test-ci-images] | ||
| uses: ./.github/workflows/ce-build-images.yml | ||
| with: | ||
| flag_build: update | ||
| runner: ernie-8gpu-2 | ||
| image_base: ${{ env.image_base }} | ||