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

[Docs] How to build VTA python front-end? #17496

Open
linbaiwpi opened this issue Oct 29, 2024 · 3 comments
Open

[Docs] How to build VTA python front-end? #17496

linbaiwpi opened this issue Oct 29, 2024 · 3 comments
Labels
needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it type: doc

Comments

@linbaiwpi
Copy link

This document might be obsolete https://tvm.apache.org/docs/topic/vta/install.html, but the only source I could find to install VTA along with TVM. In order to add the VTA python front-end to system, it is required to execute the following command.

export PYTHONPATH=/path/to/vta/python:${PYTHONPATH}

However, there is no folder named python in latest tvm-vta repo at all. Does there anybody know what can I do to run the VTA tests?

@linbaiwpi linbaiwpi added needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it type: doc labels Oct 29, 2024
@cgerum
Copy link
Contributor

cgerum commented Oct 29, 2024

This refers to the vta folder inside tvm's main repo.

@linbaiwpi
Copy link
Author

This refers to the vta folder inside tvm's main repo.

Thanks for your reply, but I did no get the solution yet. Do you mean I should use the following command?
export PYTHONPATH=/path/to/tvm/python:${PYTHONPATH}

Importing TVM in python looks fine. However, I get this error "ModuleNotFoundError: No module named 'tvm.vta'" when running the VTA test code

@cgerum
Copy link
Contributor

cgerum commented Oct 29, 2024

export PYTHONPATH=/path/to/tvm/python:/path/to/tvm/vta/python

Should be the correct one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it type: doc
Projects
None yet
Development

No branches or pull requests

2 participants