Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions vta/tutorials/frontend/deploy_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


######################################################################
# Define the platform and model targets
Expand Down