-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refine yaml file for blocking tfhub model tests
Signed-off-by: Feiyue.Chen <[email protected]>
- Loading branch information
1 parent
73ba3b0
commit 883eb2f
Showing
1 changed file
with
54 additions
and
54 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,6 @@ env: | |
LD_LIBRARY_PATH: ${{github.workspace}}/tim-vx-install/prebuilt-sdk/x86_64_linux/lib:${{github.workspace}}/tim-vx-install/build/lib:${{github.workspace}}/tim-vx-install/tim-vx.install.dir/lib | ||
VIVANTE_SDK_DIR: ${{github.workspace}}/tim-vx-install/prebuilt-sdk/x86_64_linux/ | ||
VSI_NN_LOG_LEVEL: 5 | ||
VSIMULATOR_CONFIG: VIP9000NANOS_PID0XC5 | ||
|
||
jobs: | ||
tim-vx-build: | ||
|
@@ -100,6 +99,7 @@ jobs: | |
LD_LIBRARY_PATH: ${{github.workspace}}/prebuilt-sdk/x86_64_linux/lib:${{github.workspace}}/build/lib:${{github.workspace}}/tim-vx.install.dir/lib | ||
VIVANTE_SDK_DIR: ${{github.workspace}}/prebuilt-sdk/x86_64_linux/ | ||
VIV_VX_DISABLE_TP_NN_EVIS: 1 | ||
VSIMULATOR_CONFIG: VIP9000NANOS_PID0XC5 | ||
steps: | ||
- name: download tim-vx build output | ||
uses: actions/download-artifact@v3 | ||
|
@@ -124,7 +124,7 @@ jobs: | |
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "xiang.zhang" | ||
git clone https://github.com/tensorflow/tensorflow.git ${{github.workspace}}/3rd-party/tensorflow && cd ${{github.workspace}}/3rd-party/tensorflow/ && git checkout v2.10.0 | ||
git clone https://github.com/tensorflow/tensorflow.git ${{github.workspace}}/3rd-party/tensorflow && cd ${{github.workspace}}/3rd-party/tensorflow/ && git checkout v2.16.1 | ||
git clone https://github.com/VeriSilicon/tflite-vx-delegate.git ${{github.workspace}}/vx-delegate | ||
cmake -B ${{github.workspace}}/vx-delegate/build -S ${{github.workspace}}/vx-delegate -DFETCHCONTENT_SOURCE_DIR_TENSORFLOW=${{github.workspace}}/3rd-party/tensorflow -DTIM_VX_INSTALL=${{github.workspace}}/tim-vx.install.dir/ -DTFLITE_ENABLE_NNAPI=OFF -DTFLITE_ENABLE_XNNPACK=OFF | ||
cmake --build ${{github.workspace}}/vx-delegate/build --config ${{env.BUILD_TYPE}} | ||
|
@@ -283,61 +283,61 @@ jobs: | |
# chmod u+x ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model | ||
# ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model --num_runs=1 --external_delegate_path=${{github.workspace}}/vx-delegate-bin/libvx_delegate.so --graph=${{github.workspace}}/tfhub.movenet.multipose.tflite | ||
|
||
tfhub-efficientdet-lite0: | ||
runs-on: ubuntu-latest | ||
needs: [vx-delegate-build, tim-vx-unit-test] | ||
steps: | ||
- name: download test binary | ||
uses: actions/download-artifact@v3 | ||
- name: download model | ||
run: | | ||
wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite0/detection/metadata/1.tflite | ||
- name: benchmark-model | ||
run: | | ||
chmod u+x ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model | ||
${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model --num_runs=1 --external_delegate_path=${{github.workspace}}/vx-delegate-bin/libvx_delegate.so --graph=${{github.workspace}}/1.tflite | ||
# tfhub-efficientdet-lite0: | ||
# runs-on: ubuntu-latest | ||
# needs: [vx-delegate-build, tim-vx-unit-test] | ||
# steps: | ||
# - name: download test binary | ||
# uses: actions/download-artifact@v3 | ||
# - name: download model | ||
# run: | | ||
# wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite0/detection/metadata/1.tflite | ||
# - name: benchmark-model | ||
# run: | | ||
# chmod u+x ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model | ||
# ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model --num_runs=1 --external_delegate_path=${{github.workspace}}/vx-delegate-bin/libvx_delegate.so --graph=${{github.workspace}}/1.tflite | ||
|
||
tfhub-efficientdet-lite1: | ||
runs-on: ubuntu-latest | ||
needs: [vx-delegate-build, tim-vx-unit-test] | ||
steps: | ||
- name: download test binary | ||
uses: actions/download-artifact@v3 | ||
- name: download model | ||
run: | | ||
wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite1/detection/metadata/1.tflite | ||
- name: benchmark-model | ||
run: | | ||
chmod u+x ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model | ||
${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model --num_runs=1 --external_delegate_path=${{github.workspace}}/vx-delegate-bin/libvx_delegate.so --graph=${{github.workspace}}/1.tflite | ||
# tfhub-efficientdet-lite1: | ||
# runs-on: ubuntu-latest | ||
# needs: [vx-delegate-build, tim-vx-unit-test] | ||
# steps: | ||
# - name: download test binary | ||
# uses: actions/download-artifact@v3 | ||
# - name: download model | ||
# run: | | ||
# wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite1/detection/metadata/1.tflite | ||
# - name: benchmark-model | ||
# run: | | ||
# chmod u+x ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model | ||
# ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model --num_runs=1 --external_delegate_path=${{github.workspace}}/vx-delegate-bin/libvx_delegate.so --graph=${{github.workspace}}/1.tflite | ||
|
||
tfhub-efficientdet-lite2: | ||
runs-on: ubuntu-latest | ||
needs: [vx-delegate-build, tim-vx-unit-test] | ||
steps: | ||
- name: download test binary | ||
uses: actions/download-artifact@v3 | ||
- name: download model | ||
run: | | ||
wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite2/detection/metadata/1.tflite | ||
- name: benchmark-model | ||
run: | | ||
chmod u+x ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model | ||
${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model --num_runs=1 --external_delegate_path=${{github.workspace}}/vx-delegate-bin/libvx_delegate.so --graph=${{github.workspace}}/1.tflite | ||
# tfhub-efficientdet-lite2: | ||
# runs-on: ubuntu-latest | ||
# needs: [vx-delegate-build, tim-vx-unit-test] | ||
# steps: | ||
# - name: download test binary | ||
# uses: actions/download-artifact@v3 | ||
# - name: download model | ||
# run: | | ||
# wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite2/detection/metadata/1.tflite | ||
# - name: benchmark-model | ||
# run: | | ||
# chmod u+x ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model | ||
# ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model --num_runs=1 --external_delegate_path=${{github.workspace}}/vx-delegate-bin/libvx_delegate.so --graph=${{github.workspace}}/1.tflite | ||
|
||
tfhub-efficientdet-lite3: | ||
runs-on: ubuntu-latest | ||
needs: [vx-delegate-build, tim-vx-unit-test] | ||
steps: | ||
- name: download test binary | ||
uses: actions/download-artifact@v3 | ||
- name: download model | ||
run: | | ||
wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite2/detection/metadata/1.tflite | ||
- name: benchmark-model | ||
run: | | ||
chmod u+x ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model | ||
${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model --num_runs=1 --external_delegate_path=${{github.workspace}}/vx-delegate-bin/libvx_delegate.so --graph=${{github.workspace}}/1.tflite | ||
# tfhub-efficientdet-lite3: | ||
# runs-on: ubuntu-latest | ||
# needs: [vx-delegate-build, tim-vx-unit-test] | ||
# steps: | ||
# - name: download test binary | ||
# uses: actions/download-artifact@v3 | ||
# - name: download model | ||
# run: | | ||
# wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite2/detection/metadata/1.tflite | ||
# - name: benchmark-model | ||
# run: | | ||
# chmod u+x ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model | ||
# ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model --num_runs=1 --external_delegate_path=${{github.workspace}}/vx-delegate-bin/libvx_delegate.so --graph=${{github.workspace}}/1.tflite | ||
|
||
# acuity-yolov3-608-quant: | ||
# runs-on: ubuntu-latest | ||
|