File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -793,8 +793,9 @@ jobs:
793
793
# Run pytest
794
794
PYTHON_EXECUTABLE=python bash backends/nxp/run_unittests.sh
795
795
796
- # Run aot example:
797
- PYTHON_EXECUTABLE=python bash examples/nxp/run_aot_example.sh
796
+ # Run aot examples:
797
+ PYTHON_EXECUTABLE=python bash examples/nxp/run_aot_example.sh cifar10
798
+ PYTHON_EXECUTABLE=python bash examples/nxp/run_aot_example.sh mobilenetv2
798
799
799
800
800
801
nxp-build-test :
Original file line number Diff line number Diff line change @@ -7,11 +7,12 @@ set -eux
7
7
8
8
SCRIPT_DIR=$( dirname $( readlink -fm $0 ) )
9
9
EXECUTORCH_DIR=$( dirname $( dirname $SCRIPT_DIR ) )
10
+ MODEL=${1:- " cifar10" }
10
11
11
12
cd $EXECUTORCH_DIR
12
13
13
14
# Run the AoT example
14
15
python -m examples.nxp.aot_neutron_compile --quantize \
15
- --delegate --neutron_converter_flavor SDK_25_03 -m cifar10
16
+ --delegate --neutron_converter_flavor SDK_25_03 -m ${MODEL}
16
17
# verify file exists
17
- test -f cifar10_nxp_delegate .pte
18
+ test -f ${MODEL} _nxp_delegate .pte
You can’t perform that action at this time.
0 commit comments