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

Can it run in python virtual environment? #3200

Open
tayloryoung-o opened this issue Apr 22, 2024 · 2 comments
Open

Can it run in python virtual environment? #3200

tayloryoung-o opened this issue Apr 22, 2024 · 2 comments
Labels
need-user-input The issue needs more information from the reporter before moving forward

Comments

@tayloryoung-o
Copy link

Can the pte file generated by executorch be tested directly in the python virtual environment? If possible, how can I use my own data set to test?

@cccclai
Copy link
Contributor

cccclai commented Apr 23, 2024

I think we can use python virtual environment, but will let @larryliu0820 and @dbort confirm

@JacobSzwejbka
Copy link
Contributor

JacobSzwejbka commented May 9, 2024

I believe you can just go through pip install executorch -> model = _load_for_executorch(<file_path>) -> model((inputs,)). Can you try this @tayloryoung-o and let us know if you run into issues.

@JacobSzwejbka JacobSzwejbka added the need-user-input The issue needs more information from the reporter before moving forward label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-user-input The issue needs more information from the reporter before moving forward
Projects
None yet
Development

No branches or pull requests

3 participants