-
Notifications
You must be signed in to change notification settings - Fork 343
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
ExecuTorch main branch setup fails while stable branch works #2388
Comments
Did you try these steps? git submodule sync |
Yes, I have done these steps, and tried on two computers. |
I just did a clone of the main branch and installation on a clean conda environment and it is working just fine for me. |
using conda,conda create -yn executorch python=3.10.0 instead ofpython3 -m venv .executorch ./install_requirements.sh can finishthere are some errors like below: python3 -m examples.portable.scripts.export --model_name="add" works fineBuilding runtime failed/tmp/buck2 build //examples/portable/executor_runner:executor_runner --show-output Caused by: Build ID: d78a0afb-1e63-48e5-9d36-f372fa112850 Try Cmake, also has errors:(executorch) xiaokz@u84faae0ef1b250:~/execu/executorch/cmake-out$ cmake -DBUCK2=/tmp/buck2 .. Error: The above exception was the direct cause of the following exception: Traceback (most recent call last): CMake Error at build/Utils.cmake:116 (message): |
We just stabilized and revamped our getting started page. https://pytorch.org/executorch/stable/getting-started-setup.html Please re-open the issue, if you still encounter this error. |
Follow the instruction at
https://pytorch.org/executorch/main/getting-started-setup.html
It failed at
(.executorch) (base) xiaokz@bcd07466b662 executorch % pip install . --no-build-isolation
Processing /Users/xiaokz/executorch_0308/executorch
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [14 lines of output]
/Users/xiaokz/executorch_0308/executorch/.executorch/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for
[tool.setuptools]
inpyproject.toml
is still beta.warnings.warn(msg, _BetaConfiguration)
running dist_info
copying from schema/scalar_type.fbs to exir/_serialize/scalar_type.fbs
copying from schema/program.fbs to exir/_serialize/program.fbs
copying from sdk/bundled_program/schema/bundled_program_schema.fbs to sdk/bundled_program/serialize/bundled_program_schema.fbs
copying from sdk/bundled_program/schema/scalar_type.fbs to sdk/bundled_program/serialize/scalar_type.fbs
creating /private/var/folders/r9/b1wm6k_553d82xxqt5gm6xmm0000gr/T/pip-modern-metadata-jfim5m69/executorch.egg-info
writing /private/var/folders/r9/b1wm6k_553d82xxqt5gm6xmm0000gr/T/pip-modern-metadata-jfim5m69/executorch.egg-info/PKG-INFO
writing dependency_links to /private/var/folders/r9/b1wm6k_553d82xxqt5gm6xmm0000gr/T/pip-modern-metadata-jfim5m69/executorch.egg-info/dependency_links.txt
writing requirements to /private/var/folders/r9/b1wm6k_553d82xxqt5gm6xmm0000gr/T/pip-modern-metadata-jfim5m69/executorch.egg-info/requires.txt
writing top-level names to /private/var/folders/r9/b1wm6k_553d82xxqt5gm6xmm0000gr/T/pip-modern-metadata-jfim5m69/executorch.egg-info/top_level.txt
writing manifest file '/private/var/folders/r9/b1wm6k_553d82xxqt5gm6xmm0000gr/T/pip-modern-metadata-jfim5m69/executorch.egg-info/SOURCES.txt'
error: package directory 'backends/arm/third-party/serialization_lib/python/serializer' does not exist
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
However stable branch works fine
https://pytorch.org/executorch/stable/getting-started-setup.html
The text was updated successfully, but these errors were encountered: