-
Notifications
You must be signed in to change notification settings - Fork 536
Failure to set up Executorch #8869
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
Comments
Have you tried “./install_executorch.sh —clean” and then re-run the script? Let us know how it works. |
@guangy10 There is no
I did find it in an executorch installation dating back to May 2024. Copying to the current executorch directory and running it (obviously) does ot work/ The location I found it in
does not exist in the current executorch folder (there is no pytorch subfolder in the third-party sub-folder. What should I do next? Thanks |
Should be on main. Here it is: https://github.com/pytorch/executorch/blob/main/install_executorch.sh |
Thanks. Running from /executorch does not work. It fails with this error:
Did I run it from the wrong location? Why is it that BTW, I completely removed executorch from my system a number of times and resinstallled it. The result was always a failure
|
Strage. run_python_script.sh should be in the executorch root as well. Here it is: https://github.com/pytorch/executorch/blob/main/run_python_script.sh Can you try a few things?
|
I would be glad to help out resolve this issue. It prevents me from making progress with my project. Unfortunately, where I am it's nightiime. I will not be able to work on this until tomorrow early afternoon as I have a work commitment in the morning. BTW, will placing run_python_script.sh in the executorch root resolve the issue with Thanks |
@guangy10 I completely removed executorch from the folder I had installed it in. Then I set it up again following the instructions in Below you will find the complete execution log including the error log. I hope this helps. Please let me know what I should do next. Thanks EXECUTORCH SET-UP EXECUTION LOG
|
I tried another experiment. I tried to set up Executorch in an empty folder. It worked. I think this means that something in the folder I was trying to install it in was causing the problem. Question: Can I copy the executorch folder from the folder where the set up worked to the application folder I was trying to (unsuccessfully) install it, and use it there? Unless you have some questions, or need me to do something else, do you want to close this issue? Thanks |
I don't know how you set your project locally, so won't be able to comment about it. But in general, if you move the entire executorch folder and redo the setup from scratch, it should work (as it won't be different than clone the repo to any new location then set it up from there); however, moving some modules and relocating them to under other project may not work. Let us know if anything else we can help. |
I'd love to get more details on your exact project structure (before fixing the issue) so that we can solve the problem holistically and ensure other people don't get into this same situation. |
Particular, can you clarify a few things for us so that we can understand the use-cases and define the UX improvement that can benefit you and other developers who have similar needs:
|
This wont' be a complete answer but I thought I would start answering your questions before going to bed (I am in CET). I have a model directory inside which I set up executorch. I have done this for two models many times since 2023. When there is a new version of exeuctorch or somehow I decide to set it up again, I rename the older version's directory to 2), 3) Below you will find the output of Please let me know if you have any other questions and/or would like me to do anything else. Thanks ls -l OUTPUT
|
Hi,
I have set up Exeuctorch dozens of times. This is the first time that I failed to set it up following the instructions here:
https://pytorch.org/executorch/stable/getting-started-setup.html
./install_requirements.sh
failed producing the error log you will find below.(I checked the contents of buck-out/V2 There is no
forkserver
folder and copying it from another working copy of Executorch does not work.)Below you will also find the output of
collect_env.py
Please let me know what I did wrong, what I should do next, and if you need additional information.
Thanks
ERROR LOG
ENVIRONMENT
cc @mergennachin @byjlw
The text was updated successfully, but these errors were encountered: