-
Notifications
You must be signed in to change notification settings - Fork 743
Description
I have followed https://github.com/pytorch/executorch/blob/main/examples/demo-apps/apple_ios/LLaMA/docs/delegates/mps_README.md link to config executorch but getting error after passing below command in my MacBook Pro.
OS version 15.3.1
Apple M1 chip
Command :
./install_executorch.sh
Error while generating /Users/manojshanmugam/executorch/pip-out/temp.macosx-11.1-arm64-cpython-310/cmake-out/executorch_srcs.cmake. Exit code: 1
Output:
Error:
Traceback (most recent call last):
File "/Users/manojshanmugam/executorch/build/extract_sources.py", line 255, in
main()
File "/Users/manojshanmugam/executorch/build/extract_sources.py", line 240, in main
target_to_srcs[name] = sorted(target.get_sources(graph, runner, buck_args))
File "/Users/manojshanmugam/executorch/build/extract_sources.py", line 132, in get_sources
sources: set[str] = set(runner.run(["cquery", query] + buck_args))
File "/Users/manojshanmugam/executorch/build/buck_util.py", line 26, in run
cp: subprocess.CompletedProcess = subprocess.run(
File "/opt/anaconda3/envs/et_xnnpack/lib/python3.10/subprocess.py", line 501, in run
with Popen(*popenargs, **kwargs) as process:
File "/opt/anaconda3/envs/et_xnnpack/lib/python3.10/subprocess.py", line 966, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/opt/anaconda3/envs/et_xnnpack/lib/python3.10/subprocess.py", line 1842, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'buck2'
CMake Error at build/Utils.cmake:236 (message):
executorch: source list generation failed
Call Stack (most recent call first):
CMakeLists.txt:403 (extract_sources)
error: subprocess-exited-with-error
× Building wheel for executorch (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /opt/anaconda3/envs/et_xnnpack/bin/python /opt/anaconda3/envs/et_xnnpack/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /var/folders/ys/j_jmfr7n1nlbsc4zl1tqhxmw0000gn/T/tmp6g9kb72l
cwd: /Users/manojshanmugam/executorch
Building wheel for executorch (pyproject.toml) ... error
ERROR: Failed building wheel for executorch
Failed to build executorch
ERROR: Failed to build installable wheels for some pyproject.toml based projects (executorch)
Traceback (most recent call last):
File "/Users/manojshanmugam/executorch/./install_executorch.py", line 245, in
main(sys.argv[1:])
File "/Users/manojshanmugam/executorch/./install_executorch.py", line 223, in main
subprocess.run(
File "/opt/anaconda3/envs/et_xnnpack/lib/python3.10/subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/opt/anaconda3/envs/et_xnnpack/bin/python', '-m', 'pip', 'install', '.', '--no-build-isolation', '-v', '--extra-index-url', 'https://download.pytorch.org/whl/nightly/cpu']' returned non-zero exit status 1.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status