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 2021/05/07 15:57:53 UTC

[GitHub] [tvm] tkonolige commented on a change in pull request #7994: [FIX,DOCS] Prevent segfault when building docs when VTA is not available

tkonolige commented on a change in pull request #7994:
URL: https://github.com/apache/tvm/pull/7994#discussion_r628335127



##########
File path: vta/tutorials/frontend/deploy_classification.py
##########
@@ -63,6 +63,8 @@
 
 # Make sure that TVM was compiled with RPC=1
 assert tvm.runtime.enabled("rpc")
+# Make sure vta is available
+assert tvm.get_global_func("tvm.contrib.vta.init", True) is not None

Review comment:
       What function can I check then?




-- 
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