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 Ljs19981117 via TVM Discuss <no...@discuss.tvm.ai> on 2020/05/08 03:12:26 UTC

[TVM Discuss] [Questions] How to use autotuing after runing the tutorials?


I have got the .so .paramers and .json,but the module which I use autotuing even slower than the module I didn't use autotuing.Is the way I import it wrong?please help me





---
[Visit Topic](https://discuss.tvm.ai/t/how-to-use-autotuing-after-runing-the-tutorials/6620/1) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/450c1bde6d251ecaf97cfd3a379953f8f50c45181171e85c6d115daedb0bd2f3).

[TVM Discuss] [Questions] How to use autotuing after runing the tutorials?

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

yes,i did,and i got this output![15889134177825428841408292871617|690x317](upload://m3bFH4ZytLvXvrikhVuT6mAMShC.jpeg) 
so I think I made a mistake in import the model which used autotuing.
I'm new to ai,I dont know how to import the new module





---
[Visit Topic](https://discuss.tvm.ai/t/how-to-use-autotuing-after-runing-the-tutorials/6620/3) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/31cb0fddcaa19399a744bdc77d37ec5c1f01fb0ca4a38030d57a8ff2278148ba).

[TVM Discuss] [Questions] How to use autotuing after runing the tutorials?

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

While the autotuing code I used is " Auto-tuning a convolutional network for x86 CPU".:
https://tvm.apache.org/docs/tutorials/autotvm/tune_relay_x86.html#sphx-glr-tutorials-autotvm-tune-relay-x86-py
And I uncomment the tune-and-evaluate,then add these code to get .json,.so and .params files.
![IMG_20200509_075258|690x317](upload://qeJgSwYl7QSwMvqfZOvEOO02KRz.jpeg)





---
[Visit Topic](https://discuss.tvm.ai/t/how-to-use-autotuing-after-runing-the-tutorials/6620/7) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/25ff80ea65307616300ec8ab8693cf5d0ecd510a45a486a80351b3959753fb41).

[TVM Discuss] [Questions] How to use autotuing after runing the tutorials?

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

Thank you for replying me.
I just change some part of the tutorials'code.

The tutorial is ""Compile PyTorch Models":https://tvm.apache.org/docs/tutorials/frontend/from_pytorch.html#sphx-glr-tutorials-frontend-from-pytorch-py

I change the part mamed "Execute the portable graph on TVM" into the code I sent before.
![IMG_20200509_075610|230x500](upload://l94yNtdlUeM3E6sc4jOi7lSg8Hz.jpeg)





---
[Visit Topic](https://discuss.tvm.ai/t/how-to-use-autotuing-after-runing-the-tutorials/6620/6) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/a9e872e129651d4fcf8a9f861fda2c27d26d9707f4012204b248ad830931f9f9).

[TVM Discuss] [Questions] How to use autotuing after runing the tutorials?

Posted by "Cody H. Yu via TVM Discuss" <no...@discuss.tvm.ai>.

Is it available to post your script? It's hard to locate the problem from your screenshots.

In addition, the tuning space size for your renset-18 looks weird to me. For example, Task 1 only has 400 candidates. What's your input shapes?





---
[Visit Topic](https://discuss.tvm.ai/t/how-to-use-autotuing-after-runing-the-tutorials/6620/5) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/371a0ded01039e6aa261bb75ea391489d3845ee454c489fa32970807c932ef36).

[TVM Discuss] [Questions] How to use autotuing after runing the tutorials?

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

I use these codes to import the .so,json,params files![15889142299933451690791761075315|690x317](upload://kabo36GenmWTEEd9z9UYHaIiFla.jpeg)





---
[Visit Topic](https://discuss.tvm.ai/t/how-to-use-autotuing-after-runing-the-tutorials/6620/4) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/31fbe2d82568d9fb8c52c8eb581dfcf3333343ada9eda0e94827f914b0edab57).

[TVM Discuss] [Questions] How to use autotuing after runing the tutorials?

Posted by "Cody H. Yu via TVM Discuss" <no...@discuss.tvm.ai>.

Did you uncomment the `tune_and_evaluate` function call in the tutorial?





---
[Visit Topic](https://discuss.tvm.ai/t/how-to-use-autotuing-after-runing-the-tutorials/6620/2) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/46b331824cc8afa493e193c096f3440ac08ab14584c1ce45fb107567c5471940).