gromero@gromero0:~/git/tvm/python/tvm/driver/tvmc$ python3 -m tvm.driver.tvmc compile --micro --targe=stm32f746xx --board=stm32f746g_disco --sdk=zephyr sine_model.tflite Use microTVM Cannot find config for target=c -keys=cpu -link-params=0 -march=armv7e-m -mcpu=cortex-m7 -model=stm32f746xx -runtime=c -system-lib=1, workload=('dense_nopack.x86', ('TENSOR', (1, 16), 'float32'), ('TENSOR', (1, 16), 'float32'), None, 'float32'). A fallback configuration is used, which may bring great performance regression. Cannot find config for target=c -keys=cpu -link-params=0 -march=armv7e-m -mcpu=cortex-m7 -model=stm32f746xx -runtime=c -system-lib=1, workload=('dense_nopack.x86', ('TENSOR', (1, 16), 'float32'), ('TENSOR', (16, 16), 'float32'), None, 'float32'). A fallback configuration is used, which may bring great performance regression. Cannot find config for target=c -keys=cpu -link-params=0 -march=armv7e-m -mcpu=cortex-m7 -model=stm32f746xx -runtime=c -system-lib=1, workload=('dense_nopack.x86', ('TENSOR', (1, 1), 'float32'), ('TENSOR', (16, 1), 'float32'), None, 'float32'). A fallback configuration is used, which may bring great performance regression. Skipping .tar with graph, lib, and params since microTVM is used. Graph (.json) and input params (.params) files will be included in runtime.tar tarball to be used later by 'tvmc run' Found µTVM SDK: zephyr Preparing image using zephyr... Including boilerplate (Zephyr base): /home/gromero/zephyrproject/zephyr/cmake/app/boilerplate.cmake Including boilerplate (Zephyr base): /home/gromero/zephyrproject/zephyr/cmake/app/boilerplate.cmake Including boilerplate (Zephyr base): /home/gromero/zephyrproject/zephyr/cmake/app/boilerplate.cmake Including boilerplate (Zephyr base): /home/gromero/zephyrproject/zephyr/cmake/app/boilerplate.cmake Including boilerplate (Zephyr base): /home/gromero/zephyrproject/zephyr/cmake/app/boilerplate.cmake Including boilerplate (Zephyr base): /home/gromero/zephyrproject/zephyr/cmake/app/boilerplate.cmake Including boilerplate (Zephyr base): /home/gromero/zephyrproject/zephyr/cmake/app/boilerplate.cmake gromero@gromero0:~/git/tvm/python/tvm/driver/tvmc$ python3 -m tvm.driver.tvmc flash --runtime runtime.tar Cleaning temporary dir (/tmp/tvmc_tmp)... Flashing runtime from 'runtime.tar'... Open On-Chip Debugger 0.10.0+dev-01341-g580d06d9d-dirty (2020-06-25-12:07) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html 066CFF485153826687133653 Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD Info : clock speed 2000 kHz Info : STLINK V2J25M14 (API v2) VID:PID 0483:374B Info : Target voltage: 3.238421 Warn : Silicon bug: single stepping may enter pending exception handler! Info : stm32f7x.cpu: hardware has 8 breakpoints, 4 watchpoints Info : Listening on port 3333 for gdb connections TargetName Type Endian TapName State -- ------------------ ---------- ------ ------------------ ------------ 0* stm32f7x.cpu hla_target little stm32f7x.cpu running target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x08001e20 msp: 0x200331a8 Info : device id = 0x10016449 Info : flash size = 1024 kbytes auto erase enabled wrote 32768 bytes from file /tmp/tvmc_tmp/zephyr/zephyr.hex in 1.342162s (23.842 KiB/s) target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x08001e20 msp: 0x200331a8 verified 32348 bytes in 0.445904s (70.844 KiB/s) shutdown command invoked gromero@gromero0:~/git/tvm/python/tvm/driver/tvmc$ python3 . run --device=micro ./runtime.tar Using microTVM Reading runtime details from './runtime.tar'... [12:55:16] /home/gromero/git/tvm/src/runtime/micro/micro_session.cc:342: remote: uTVM On-Device Runtime Input: {'dense_4_input': array([[0.]], dtype=float32)} Output: [[0.03384194]]