fix(demo): add warmup for wrong profiling result (#2339) #2119
This file contains 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: backend-rknn | |
on: | |
push: | |
paths: | |
- "csrc/**" | |
- "demo/csrc/**" | |
- "CMakeLists.txt" | |
pull_request: | |
paths-ignore: | |
- "csrc/**" | |
- "demo/csrc/**" | |
- "CMakeLists.txt" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build_rknpu2: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: update | |
run: sudo apt update | |
- name: cross compile | |
run: | | |
sh -xe tools/scripts/ubuntu_cross_build_rknn.sh rk3588 | |
build_rknpu: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: update | |
run: sudo apt update | |
- name: cross compile | |
run: | | |
sh -xe tools/scripts/ubuntu_cross_build_rknn.sh rv1126 |