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
No such file or directory: executorch/exir/_serialize/program.fbs and scalar_type.fbs #2910
Comments
Btw, Copying |
Try I ran into this as well. If I set PYTHONPATH to executorch root directory, it first searches for executorch/exir/_serializer before it searches for the pip package for executorch. We only copy program.fbs and scalar_type.fbs to pip package, not executorch source package. |
Yes, the problem here seems to be that python is executing the .py files under your The old @adonnini what command are you running when this happens? Also, are you running that command from a directory that contains the |
@dbort I follow the instructions in |
@adonnini That is the correct way to install the pip package. But the problems you're seeing are probably related to how you're running the failing program. Earlier you said
What command/code are you running when this error happens? What is your current directory when you run this command? |
@dbort , sorry I misunderstood your question. Please find below the code I run to produce the lowered model, which is the code I executed when the problem occurred. CODE TO LOWER MODEL
|
Thanks for that, @adonnini. When you run this command, what is your current directory? Does that directory contain a directory named |
I run the code from a directory which contains the |
@adonnini can you try running your code from a directory that does not contain the cloned executorch repo? |
@metascroy, sorry for the delay in responding. I ran the code as you suggested. |
Hi I installed executorch from the main branch.
When I ran code to produce and store a lowered mode, execution failed with the following error:
FileNotFoundError: [Errno 2] No such file or directory: '/home/adonnini1/Development/ContextQSourceCode/NeuralNetworks/trajectory-prediction-transformers-master/executorch/exir/_serialize/program.fbs'
I checked older versions of executorch installed from main, e.g. on 3/18/2024,
program.fbs
was inexecutorch/exir/_serialize/
Please find the complete traCeback log below.
Did I make a mistake?
Please let me know if you need additional information and need me to do anything.
Thanks
TRACEBACK LOG
The text was updated successfully, but these errors were encountered: