@@ -124,7 +124,7 @@ jobs:
124
124
run : |
125
125
git config --global user.email "[email protected] "
126
126
git config --global user.name "xiang.zhang"
127
- git clone https://github.com/tensorflow/tensorflow.git ${{github.workspace}}/3rd-party/tensorflow && cd ${{github.workspace}}/3rd-party/tensorflow/ && git checkout v2.10.0
127
+ git clone https://github.com/tensorflow/tensorflow.git ${{github.workspace}}/3rd-party/tensorflow && cd ${{github.workspace}}/3rd-party/tensorflow/ && git checkout v2.16.1
128
128
git clone https://github.com/VeriSilicon/tflite-vx-delegate.git ${{github.workspace}}/vx-delegate
129
129
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
130
130
cmake --build ${{github.workspace}}/vx-delegate/build --config ${{env.BUILD_TYPE}}
@@ -283,61 +283,61 @@ jobs:
283
283
# chmod u+x ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model
284
284
# ${{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
285
285
286
- tfhub-efficientdet-lite0 :
287
- runs-on : ubuntu-latest
288
- needs : [vx-delegate-build, tim-vx-unit-test]
289
- steps :
290
- - name : download test binary
291
- uses : actions/download-artifact@v3
292
- - name : download model
293
- run : |
294
- wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite0/detection/metadata/1.tflite
295
- - name : benchmark-model
296
- run : |
297
- chmod u+x ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model
298
- ${{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
286
+ # tfhub-efficientdet-lite0:
287
+ # runs-on: ubuntu-latest
288
+ # needs: [vx-delegate-build, tim-vx-unit-test]
289
+ # steps:
290
+ # - name: download test binary
291
+ # uses: actions/download-artifact@v3
292
+ # - name: download model
293
+ # run: |
294
+ # wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite0/detection/metadata/1.tflite
295
+ # - name: benchmark-model
296
+ # run: |
297
+ # chmod u+x ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model
298
+ # ${{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
299
299
300
- tfhub-efficientdet-lite1 :
301
- runs-on : ubuntu-latest
302
- needs : [vx-delegate-build, tim-vx-unit-test]
303
- steps :
304
- - name : download test binary
305
- uses : actions/download-artifact@v3
306
- - name : download model
307
- run : |
308
- wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite1/detection/metadata/1.tflite
309
- - name : benchmark-model
310
- run : |
311
- chmod u+x ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model
312
- ${{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
300
+ # tfhub-efficientdet-lite1:
301
+ # runs-on: ubuntu-latest
302
+ # needs: [vx-delegate-build, tim-vx-unit-test]
303
+ # steps:
304
+ # - name: download test binary
305
+ # uses: actions/download-artifact@v3
306
+ # - name: download model
307
+ # run: |
308
+ # wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite1/detection/metadata/1.tflite
309
+ # - name: benchmark-model
310
+ # run: |
311
+ # chmod u+x ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model
312
+ # ${{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
313
313
314
- tfhub-efficientdet-lite2 :
315
- runs-on : ubuntu-latest
316
- needs : [vx-delegate-build, tim-vx-unit-test]
317
- steps :
318
- - name : download test binary
319
- uses : actions/download-artifact@v3
320
- - name : download model
321
- run : |
322
- wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite2/detection/metadata/1.tflite
323
- - name : benchmark-model
324
- run : |
325
- chmod u+x ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model
326
- ${{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
314
+ # tfhub-efficientdet-lite2:
315
+ # runs-on: ubuntu-latest
316
+ # needs: [vx-delegate-build, tim-vx-unit-test]
317
+ # steps:
318
+ # - name: download test binary
319
+ # uses: actions/download-artifact@v3
320
+ # - name: download model
321
+ # run: |
322
+ # wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite2/detection/metadata/1.tflite
323
+ # - name: benchmark-model
324
+ # run: |
325
+ # chmod u+x ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model
326
+ # ${{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
327
327
328
- tfhub-efficientdet-lite3 :
329
- runs-on : ubuntu-latest
330
- needs : [vx-delegate-build, tim-vx-unit-test]
331
- steps :
332
- - name : download test binary
333
- uses : actions/download-artifact@v3
334
- - name : download model
335
- run : |
336
- wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite2/detection/metadata/1.tflite
337
- - name : benchmark-model
338
- run : |
339
- chmod u+x ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model
340
- ${{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
328
+ # tfhub-efficientdet-lite3:
329
+ # runs-on: ubuntu-latest
330
+ # needs: [vx-delegate-build, tim-vx-unit-test]
331
+ # steps:
332
+ # - name: download test binary
333
+ # uses: actions/download-artifact@v3
334
+ # - name: download model
335
+ # run: |
336
+ # wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/efficientdet/lite2/detection/metadata/1.tflite
337
+ # - name: benchmark-model
338
+ # run: |
339
+ # chmod u+x ${{github.workspace}}/vx-delegate-bin/_deps/tensorflow-build/tools/benchmark/benchmark_model
340
+ # ${{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
341
341
342
342
# acuity-yolov3-608-quant:
343
343
# runs-on: ubuntu-latest
0 commit comments