executorch icon indicating copy to clipboard operation
executorch copied to clipboard

Can it run in python virtual environment?

Open tayloryoung-o opened this issue 1 year ago • 2 comments

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?

tayloryoung-o avatar Apr 22 '24 15:04 tayloryoung-o

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

cccclai avatar Apr 23 '24 23:04 cccclai

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 avatar May 09 '24 18:05 JacobSzwejbka