You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/10/15 13:45:36 UTC

[GitHub] [incubator-tvm] flip1995 commented on issue #4272: [VTA] Tutorial on how to deploy and execute model on device without RPC

flip1995 commented on issue #4272:
URL: https://github.com/apache/incubator-tvm/issues/4272#issuecomment-709335331


   Oh damn, I totally forgot about it. Basically you have to add those two lines to your python script, that runs your model on the PYNQ:
   
   ```python
   dll_path = "/home/xilinx/tvm/build/libvta.so"
   ctypes.CDLL(dll_path, ctypes.RTLD_GLOBAL)
   ```
   
   before the `graph_runtime.create(..)` command. 
   
   I hope this still works. I haven't used TVM/VTA for a long time now.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org