You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/11/16 08:18:29 UTC
[GitHub] [tvm] asdfrv100 opened a new issue, #13403: [Bug] homepage host-driven code is not woking
asdfrv100 opened a new issue, #13403:
URL: https://github.com/apache/tvm/issues/13403
Hi. Thank you for your work.
I'm newbie in TVM.
I have trouble in testing example code.
//////////////////////////(envireonments)
microtvm 0.9.0 (in VirtualBox)
Ubuntu 18.04.06 LTS
Board nucleo_f746zg
//////////////////////////(error code)
this code is not workng
https://tvm.apache.org/docs/how_to/work_with_microtvm/micro_aot.html#sphx-glr-how-to-work-with-microtvm-micro-aot-py
In this code, I just changed
from
use_physical_hw = bool(os.getenv("TVM_MICRO_USE_HW"))
to
use_physical_hw = True
other graph code is working well(like this)
https://tvm.apache.org/docs/how_to/work_with_microtvm/micro_tflite.html#sphx-glr-how-to-work-with-microtvm-micro-tflite-py
//////////////////////////(error message)
[ 92%] Built target zephyr_pre0
Consolidate compiler generated dependencies of target linker_zephyr_prebuilt_script_target
[ 93%] Built target linker_zephyr_prebuilt_script_target
Consolidate compiler generated dependencies of target zephyr_pre1
[ 96%] Built target zephyr_pre1
Consolidate compiler generated dependencies of target linker_zephyr_final_script_target
[ 96%] Built target linker_zephyr_final_script_target
Consolidate compiler generated dependencies of target zephyr_final
[100%] Built target zephyr_final
-- west flash: using runner openocd
-- runners.openocd: Flashing file: /tmp/tmpu6q8dv9c/project/build/zephyr/zephyr.hex
Open On-Chip Debugger 0.11.0+dev-00244-g7e3dbbbe2 (2021-11-18-07:14)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
Info : DEPRECATED target event trace-config
Info : clock speed 2000 kHz
Info : STLINK V2J40M27 (API v2) VID:PID 0483:374B
Info : Target voltage: 3.249376
Warn : Silicon bug: single stepping may enter pending exception handler!
Info : stm32f7x.cpu: hardware has 8 breakpoints, 4 watchpoints
Info : starting gdb server for stm32f7x.cpu on 3333
Info : Listening on port 3333 for gdb connections
TargetName Type Endian TapName State
-- ------------------ ---------- ------ ------------------ ------------
0* stm32f7x.cpu hla_target little stm32f7x.cpu running
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08003224 msp: 0x20010f80
Info : device id = 0x10016449
Info : flash size = 1024 kbytes
auto erase enabled
wrote 131072 bytes from file /tmp/tmpu6q8dv9c/project/build/zephyr/zephyr.hex in 5.061849s (25.287 KiB/s)
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08003224 msp: 0x20010f80
verified 119768 bytes in 0.761735s (153.545 KiB/s)
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
shutdown command invoked
Built target flash
[07:36:43] /home/minusjet/tvm/src/runtime/micro/micro_session.cc:368: remote: DumpMetadata:
[07:36:43] /home/minusjet/tvm/src/runtime/micro/micro_session.cc:368: remote: mod_name=tvmgen_default
[07:36:43] /home/minusjet/tvm/src/runtime/micro/micro_session.cc:368: remote: version=1
[07:36:43] /home/minusjet/tvm/src/runtime/micro/micro_session.cc:368: remote: num_inputs=1
[07:36:43] /home/minusjet/tvm/src/runtime/micro/micro_session.cc:368: remote: num_outputs=1
[07:36:43] /home/minusjet/tvm/src/runtime/micro/micro_session.cc:368: remote: num_workspace_pools=0
[07:36:43] /home/minusjet/tvm/src/runtime/micro/micro_session.cc:368: remote: num_constant_pools=0
[07:36:43] /home/minusjet/tvm/src/runtime/micro/micro_session.cc:368: remote: input[0]: input_1
[07:36:43] /home/minusjet/tvm/src/runtime/micro/micro_session.cc:368: remote: output[0]: output0
[07:36:43] /home/minusjet/tvm/src/runtime/micro/micro_session.cc:368: remote: input allocate[0]: input_1
[07:36:43] /home/minusjet/tvm/src/runtime/micro/micro_session.cc:368: remote: output allocate[0]: output0
Traceback (most recent call last):
File "oyjhostaot.py", line 142, in <module>
aot_executor.run()
File "/home/minusjet/tvm/python/tvm/runtime/executor/aot_executor.py", line 113, in run
self._run()
File "/home/minusjet/tvm/python/tvm/_ffi/_ctypes/packed_func.py", line 237, in __call__
raise get_last_ffi_error()
tvm._ffi.base.TVMError: MicroSessionTimeoutError: failed to read reply message after timeout 5s
Please help me.
Thank you.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org