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 Blutofilp via Apache TVM Discuss <no...@discuss.tvm.ai> on 2021/06/03 03:15:59 UTC

[Apache TVM Discuss] [Questions] TVMC tune problem


Ask for help!This is the Compiling and Optimizing a Model with TVMC experiment for the TVM website.When conducting the procedure of Automatically Tuning the ResNet Model, the following errors occur:
![image|690x241](upload://bVC4b7ViJFofyEQE5BbrrzjxGRg.png) 
This is very confusing to me and I ask for some help from you.





---
[Visit Topic](https://discuss.tvm.apache.org/t/tvmc-tune-problem/10161/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/c0663a0da61d4e3834ce195333ca5522c387fb746fc9d48da55514d3aacffbf0).

[Apache TVM Discuss] [Questions] TVMC tune problem

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

I found that the .onnx file size is  0KB, which I think might be the problem.I re-downloaded the file and tuned it again, and the results were normal.It was a bit dramatic, but fortunately the problem was solved.Thank you for your help!
ps: Why does this 0KB file not affect the results of previous operations?





---
[Visit Topic](https://discuss.tvm.apache.org/t/tvmc-tune-problem/10161/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/ebf87e19e4a24372af804b7d722db262efc67a684417d9e8a5a7259d3e1298c5).

[Apache TVM Discuss] [Questions] TVMC tune problem

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

Ok if that wasn't a case, then the error message meant no tuning tasks were extracted from the model. Possible reasons:

- The model input has dynamic shapes (e.g., dynamic batch size).
- The model has no tunable workloads (e.g., conv2d, dense, etc), but it should not be a case for ResNet.

To dive into the root cause, it would be helpful if you could provide a minimal script to reproduce the problem.





---
[Visit Topic](https://discuss.tvm.apache.org/t/tvmc-tune-problem/10161/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/73bbb08b96f7b25ea176e87e7570b5e03588a5061f6570e84e1f574a853c790a).

[Apache TVM Discuss] [Questions] TVMC tune problem

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

Thank you for your answer, but I don't think it's the.onnx file that doesn't download because the.onnx file does exist and executing other commands does produce output files (such as resnet50-v2-7-tvm. Tar, Prediction.npz) and the corresponding statement output.In other words, all the steps prior to auto-tuning can be performed, although there are still some caveats...
Anyway, thank you for your help and welcome to continue discussing this issue.





---
[Visit Topic](https://discuss.tvm.apache.org/t/tvmc-tune-problem/10161/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/bf9c7101f6bc60808e02ae05297a4bc29aa400f7296c4a3b094694f4e6088505).

[Apache TVM Discuss] [Questions] TVMC tune problem

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

The error seems clear to me. It says the model file cannot be downloaded, so the rest errors don't matter.





---
[Visit Topic](https://discuss.tvm.apache.org/t/tvmc-tune-problem/10161/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/8482b5f0c5f1641207d999fc5d02d53f16176dca1b155a5cc251ecbd71ae1470).