You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by Qelk123 via Apache TVM Discuss <no...@discuss.tvm.ai> on 2020/10/24 06:28:39 UTC

[Apache TVM Discuss] [Questions] I can't find directory'device' in tvm/micro


When I run the example as the blog says.[https://tvm.apache.org/2020/06/04/tinyml-how-tvm-is-taming-tiny](https://tvm.apache.org/2020/06/04/tinyml-how-tvm-is-taming-tiny)I can't find directory'device' in tvm/micro,therefore I am not able to import the moudles as the example says.What should I do to find or make the directory?Thank you.
![~VWY971@18@M37NMWYRQXUY|690x187](upload://toTKNXBG7gz3QrLi0u1kAg8C9hp.png) 
Mike





---
[Visit Topic](https://discuss.tvm.apache.org/t/i-cant-find-directorydevice-in-tvm-micro/8272/1) 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/38d8af50b802d908cb05713e969e4dd57db728b5200382d74773e0a137834d88).

[Apache TVM Discuss] [Questions] I can't find directory'device' in tvm/micro

Posted by Andrew Reusch via Apache TVM Discuss <no...@discuss.tvm.ai>.

Hi Mike,

We're just finishing a rewrite of the µTVM runtime and as part of that we'll update the example code from the blog post. You can read more in this [forum thread](https://discuss.tvm.apache.org/t/is-there-an-up-to-date-utvm-code-that-i-can-refer-to/8224). In the meantime, if you want to reproduce the blog post you'll need to sync the TVM repo back to something that was current around the time of the blog post, say [89359907d](https://github.com/apache/incubator-tvm/commits/89359907d). 

Apologies for the difficulties--I'll update this thread when I publish an update to the blog post code.

Andrew





---
[Visit Topic](https://discuss.tvm.apache.org/t/i-cant-find-directorydevice-in-tvm-micro/8272/2) 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/47904b9dfc1a7b51c677fa93273dff4bc4ca52f2ff8438eea9d504f7ecba2c97).

[Apache TVM Discuss] [Questions] I can't find directory'device' in tvm/micro

Posted by Qelk123 via Apache TVM Discuss <no...@discuss.tvm.ai>.

Hi @areusch,
       Thank you for your reply again.I have already sucessfully run the demo in your repository few days ago.I deleted several lines in this file and finally connected my board,though the runtime improvement of autotuned result wasn't so appealing compared with your 47%.Anyway,thank you so much for your generous help.
  Mike





---
[Visit Topic](https://discuss.tvm.apache.org/t/i-cant-find-directorydevice-in-tvm-micro/8272/5) 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/1f9203edcaa71491d184d41fce7f2d2adea8577816fc5920c66528d2542b1a9a).

[Apache TVM Discuss] [Questions] I can't find directory'device' in tvm/micro

Posted by Andrew Reusch via Apache TVM Discuss <no...@discuss.tvm.ai>.

hey @qelk123, sorry I missed this.  it looks like maybe the script is requiring you to configure the attached board serial number. This is being passed to `hla_serial` given to openocd.

I think the root cause error is this line: `expected exactly one argument to hl_serial <serial-number>`

It's been a while since I've run this demo but you might try examining `env-config.json` in the microtvm-blogpost-eval repo and see if you've specified hla_serial. or, you could edit `microtvm-dev-config/openocd.cfg.template` and remove the `hla_serial` line.

let me know if this solves your problem.

Andrew





---
[Visit Topic](https://discuss.tvm.apache.org/t/i-cant-find-directorydevice-in-tvm-micro/8272/4) 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/cdfa3ec7a155404d0dd0e1f415d27220e48f9eb43d9f994e26bc404a2c5a80a4).

[Apache TVM Discuss] [Questions] I can't find directory'device' in tvm/micro

Posted by Qelk123 via Apache TVM Discuss <no...@discuss.tvm.ai>.

Hi Andrew,

Thank you for your reply and I have successfully worked out that problem with a repository of TVM posted in Mar. However when I test the *.bin after I flashed the document to NUCLEO-F746ZG,something goes wrong like this:
![QQ图片20201101232935|690x318](upload://pIQQlVW5IkUkLtitlAaN3QdRndh.png) ![QQ图片20201101232940|690x331](upload://j98CNnzFO9bXz3Cz9dDIm1KCURO.png) 
There are sevral errors,but I think the error which makes the program abort probabily is: monitor thread exiting while process still alive; killing process
Is there something wrong with my settings?How should I solve this problem?I would very appreciate it if you could give me some suggestions.
Mike





---
[Visit Topic](https://discuss.tvm.apache.org/t/i-cant-find-directorydevice-in-tvm-micro/8272/3) 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/6602062140ad96759f3e1c1257f085f818b58f91f07329d9531b039f4c3e0066).