Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX,DOCS] Prevent segfault when building docs when VTA is not available #7994

Closed
wants to merge 1 commit into from

Conversation

tkonolige
Copy link
Contributor

@hogepodge
Copy link
Contributor

Thanks! VTA has been a thorn for me for a while, so this helps. I'll also update my own environment to make sure it's installed.

@@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function is not available in simulator and only available in rpc server to initialize the remote bitstream

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What function can I check then?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe #7761 already checks if vta binary is available

@tkonolige tkonolige closed this Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants