@aakah18151 sorry for the delay. hm, it seems to me like you might be somehow 
allocating too much memory for your device in the runtime. you could be 
overwriting the stack when you set_input. unfortunately we don't have a good 
way to detect this at the moment, though Zephyr should provide you a summary of 
memory used. When Zephyr does this, it assumes a certain maximum stack depth. 
do you have an idea how close you are to the actual stack depth? perhaps you 
could try reducing the amount of memory by ~10kB and see if you get a different 
error (remote device terminated connection means it's likely that the device 
rebooted, which would likely happen if the stack was overwritten). the 
different error may not exactly be a human-readable string (we don't currently 
have a good way to report numeric error codes from 
`include/tvm/runtime/crt/error_codes.h`), but it would lend confidence to the 
idea that this is what's happening.





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/measuring-utvm-inference-time/9064/11) 
to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/64fa5f20adab7d8e476eff8bfbf9266be0f087c8d1f34f2549ef655866983127).

Reply via email to