[Apache TVM Discuss] [Questions] Use custom C++ code with TVM

2021-05-03 Thread masahi via Apache TVM Discuss
You should be able to do that by adding your cpp under src/runtime/contrib. See many examples there. --- [Visit Topic](https://discuss.tvm.apache.org/t/use-custom-c-code-with-tvm/9864/13) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these

[Apache TVM Discuss] [Questions] Runnig a model with tvm debugger

2021-05-03 Thread Andrew Reusch via Apache TVM Discuss
hi @sahooora, could you double-check you're driving the model with the same inputs and parameters each time? if so, could you provide some more info such as which revision of TVM you're using and some scripts we can use to reproduce your error? thanks, Andrew --- [Visit Topic](https:/

[Apache TVM Discuss] [Questions] Use custom C++ code with TVM

2021-05-03 Thread Anirudh Krishna via Apache TVM Discuss
Oh yes, I believe I am trying to do that. I am not sure if it is possible to re-compile the libtvm.so with my custom cpp file added, is it? --- [Visit Topic](https://discuss.tvm.apache.org/t/use-custom-c-code-with-tvm/9864/12) to respond. You are receiving this because you enabled mailin

[Apache TVM Discuss] [Questions] Use custom C++ code with TVM

2021-05-03 Thread masahi via Apache TVM Discuss
Oh you are trying to add your packed function outside of `libtvm.so` or `libtvm_runtime.so`? I've never seen this and am not sure if that is going to work, because `libtvm.so` needs to "see" your function cc @tqchen --- [Visit Topic](https://discuss.tvm.apache.org/t/use-custom-c-code-with

[Apache TVM Discuss] [Questions] Runnig a model with tvm debugger

2021-05-03 Thread Sahooora via Apache TVM Discuss
Thank you so much for your response! I saw the PR is merged to the master branch now so I've cloned the latest version but I still have the same issue! --- [Visit Topic](https://discuss.tvm.apache.org/t/runnig-a-model-with-tvm-debugger/9869/3) to respond. You are receiving this because y

[Apache TVM Discuss] [Questions] Runnig a model with tvm debugger

2021-05-03 Thread Tristan Konolige via Apache TVM Discuss
This is a known bug. There is current a PR fixing it here: https://github.com/apache/tvm/pull/7903 --- [Visit Topic](https://discuss.tvm.apache.org/t/runnig-a-model-with-tvm-debugger/9869/2) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from th

[Apache TVM Discuss] [Questions] How to use Vitis-AI Integration for Ultra96 v2 board?

2021-05-03 Thread yuxuan zhao via Apache TVM Discuss
Hi, I tried the pyxir/examples/tvm/, which shows at the tvm doc, and I almost succeeded. But when I ran the program on the ultra96 board, I got the error. ![1|690x60](upload://peNm5psbTbEr6t8ynL4kQymfsHp.png) I checked the dpu version on the host and the board, I found they were both v1.4.1.

[Apache TVM Discuss] [Questions] Use custom C++ code with TVM

2021-05-03 Thread Anirudh Krishna via Apache TVM Discuss
Hmm, I did try that. Doesn't seem to work :frowning: This is my Makefile, maybe I missed something here: ![image|690x138](upload://aZpfJGFWrOXblILDTvryTBI7D4d.png) Will try the cublas.cc trick, but I would prefer if I can keep my .cpp file separate --- [Visit Topic](https://discuss.tvm

[Apache TVM Discuss] [Questions] Use custom C++ code with TVM

2021-05-03 Thread masahi via Apache TVM Discuss
hmm it looks correct. Maybe you can try make clean and rebuild? Also to be sure, you can put your function to the same file as `cublas.cc` etc --- [Visit Topic](https://discuss.tvm.apache.org/t/use-custom-c-code-with-tvm/9864/9) to respond. You are receiving this because you enabled mail