-
Notifications
You must be signed in to change notification settings - Fork 724
Description
🐛 Describe the bug
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/nightly/cpu
Requirement already satisfied: torch==2.5.0.dev20240912 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (2.5.0.dev20240912+cpu)
Requirement already satisfied: torchvision==0.20.0.dev20240912 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (0.20.0.dev20240912+cpu)
Requirement already satisfied: typing-extensions in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (4.12.2)
Requirement already satisfied: cmake in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (3.30.4)
Requirement already satisfied: pip>=23 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (24.2)
Requirement already satisfied: pyyaml in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (6.0.2)
Requirement already satisfied: setuptools>=63 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (75.1.0)
Requirement already satisfied: tomli in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (2.0.1)
Requirement already satisfied: wheel in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (0.44.0)
Requirement already satisfied: zstd in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (1.5.5.1)
Requirement already satisfied: timm==1.0.7 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (1.0.7)
Requirement already satisfied: torchaudio==2.5.0.dev20240912 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (2.5.0.dev20240912+cpu)
Requirement already satisfied: torchsr==1.0.4 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (1.0.4)
Requirement already satisfied: transformers==4.42.4 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (4.42.4)
Requirement already satisfied: filelock in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from torch==2.5.0.dev20240912) (3.16.1)
Requirement already satisfied: networkx in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from torch==2.5.0.dev20240912) (3.3)
Requirement already satisfied: jinja2 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from torch==2.5.0.dev20240912) (3.1.4)
Requirement already satisfied: fsspec in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from torch==2.5.0.dev20240912) (2024.9.0)
Requirement already satisfied: sympy==1.13.1 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from torch==2.5.0.dev20240912) (1.13.1)
Requirement already satisfied: numpy in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from torchvision==0.20.0.dev20240912) (1.26.4)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from torchvision==0.20.0.dev20240912) (10.4.0)
Requirement already satisfied: huggingface_hub in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from timm==1.0.7) (0.25.1)
Requirement already satisfied: safetensors in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from timm==1.0.7) (0.4.5)
Requirement already satisfied: packaging>=20.0 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from transformers==4.42.4) (24.1)
Requirement already satisfied: regex!=2019.12.17 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from transformers==4.42.4) (2024.9.11)
Requirement already satisfied: requests in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from transformers==4.42.4) (2.32.3)
Requirement already satisfied: tokenizers<0.20,>=0.19 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from transformers==4.42.4) (0.19.1)
Requirement already satisfied: tqdm>=4.27 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from transformers==4.42.4) (4.66.5)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from sympy==1.13.1->torch==2.5.0.dev20240912) (1.3.0)
Requirement already satisfied: MarkupSafe>=2.0 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from jinja2->torch==2.5.0.dev20240912) (2.1.5)
Requirement already satisfied: charset-normalizer<4,>=2 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from requests->transformers==4.42.4) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from requests->transformers==4.42.4) (3.10)
Requirement already satisfied: urllib3<3,>=1.21.1 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from requests->transformers==4.42.4) (2.2.3)
Requirement already satisfied: certifi>=2017.4.17 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from requests->transformers==4.42.4) (2024.8.30)
Using pip 24.2 from /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages/pip (python 3.10)
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/nightly/cpu
Processing /mnt/c/users/offic/Documents/executorch
Running command Preparing metadata (pyproject.toml)
running dist_info
creating /tmp/pip-modern-metadata-j9akz7xw/executorch.egg-info
writing /tmp/pip-modern-metadata-j9akz7xw/executorch.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-modern-metadata-j9akz7xw/executorch.egg-info/dependency_links.txt
writing entry points to /tmp/pip-modern-metadata-j9akz7xw/executorch.egg-info/entry_points.txt
writing requirements to /tmp/pip-modern-metadata-j9akz7xw/executorch.egg-info/requires.txt
writing top-level names to /tmp/pip-modern-metadata-j9akz7xw/executorch.egg-info/top_level.txt
writing manifest file '/tmp/pip-modern-metadata-j9akz7xw/executorch.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-modern-metadata-j9akz7xw/executorch.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file '/tmp/pip-modern-metadata-j9akz7xw/executorch.egg-info/SOURCES.txt'
creating '/tmp/pip-modern-metadata-j9akz7xw/executorch-0.5.0a0+2dd88fb.dist-info'
Preparing metadata (pyproject.toml) ... done
Collecting expecttest (from executorch==0.5.0a0+2dd88fb)
Obtaining dependency information for expecttest from https://files.pythonhosted.org/packages/73/a8/9427813686fe043eaf817b99444d4d321ce14f9434e3ffb6bbd1a182a8df/expecttest-0.2.1-py3-none-any.whl.metadata
Using cached expecttest-0.2.1-py3-none-any.whl.metadata (2.5 kB)
Collecting flatbuffers (from executorch==0.5.0a0+2dd88fb)
Obtaining dependency information for flatbuffers from https://files.pythonhosted.org/packages/41/f0/7e988a019bc54b2dbd0ad4182ef2d53488bb02e58694cd79d61369e85900/flatbuffers-24.3.25-py2.py3-none-any.whl.metadata
Using cached flatbuffers-24.3.25-py2.py3-none-any.whl.metadata (850 bytes)
Collecting hypothesis (from executorch==0.5.0a0+2dd88fb)
Obtaining dependency information for hypothesis from https://files.pythonhosted.org/packages/c5/91/c0a154a9fed82c01ac1490f7be112dbf1fb03f3a062158b0e4be7edfa66d/hypothesis-6.112.2-py3-none-any.whl.metadata
Using cached hypothesis-6.112.2-py3-none-any.whl.metadata (6.2 kB)
Requirement already satisfied: mpmath==1.3.0 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from executorch==0.5.0a0+2dd88fb) (1.3.0)
Requirement already satisfied: packaging in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from executorch==0.5.0a0+2dd88fb) (24.1)
Collecting parameterized (from executorch==0.5.0a0+2dd88fb)
Obtaining dependency information for parameterized from https://files.pythonhosted.org/packages/00/2f/804f58f0b856ab3bf21617cccf5b39206e6c4c94c2cd227bde125ea6105f/parameterized-0.9.0-py2.py3-none-any.whl.metadata
Using cached parameterized-0.9.0-py2.py3-none-any.whl.metadata (18 kB)
Collecting pytest (from executorch==0.5.0a0+2dd88fb)
Obtaining dependency information for pytest from https://files.pythonhosted.org/packages/6b/77/7440a06a8ead44c7757a64362dd22df5760f9b12dc5f11b6188cd2fc27a0/pytest-8.3.3-py3-none-any.whl.metadata
Using cached pytest-8.3.3-py3-none-any.whl.metadata (7.5 kB)
Collecting pytest-xdist (from executorch==0.5.0a0+2dd88fb)
Obtaining dependency information for pytest-xdist from https://files.pythonhosted.org/packages/6d/82/1d96bf03ee4c0fdc3c0cbe61470070e659ca78dc0086fb88b66c185e2449/pytest_xdist-3.6.1-py3-none-any.whl.metadata
Using cached pytest_xdist-3.6.1-py3-none-any.whl.metadata (4.3 kB)
Requirement already satisfied: pyyaml in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from executorch==0.5.0a0+2dd88fb) (6.0.2)
Collecting ruamel.yaml (from executorch==0.5.0a0+2dd88fb)
Obtaining dependency information for ruamel.yaml from https://files.pythonhosted.org/packages/73/67/8ece580cc363331d9a53055130f86b096bf16e38156e33b1d3014fffda6b/ruamel.yaml-0.18.6-py3-none-any.whl.metadata
Using cached ruamel.yaml-0.18.6-py3-none-any.whl.metadata (23 kB)
Requirement already satisfied: sympy in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from executorch==0.5.0a0+2dd88fb) (1.13.1)
Collecting tabulate (from executorch==0.5.0a0+2dd88fb)
Obtaining dependency information for tabulate from https://files.pythonhosted.org/packages/40/44/4a5f08c96eb108af5cb50b41f76142f0afa346dfa99d5296fe7202a11854/tabulate-0.9.0-py3-none-any.whl.metadata
Using cached tabulate-0.9.0-py3-none-any.whl.metadata (34 kB)
Requirement already satisfied: typing-extensions in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from executorch==0.5.0a0+2dd88fb) (4.12.2)
Collecting numpy==1.21.3 (from executorch==0.5.0a0+2dd88fb)
Obtaining dependency information for numpy==1.21.3 from https://files.pythonhosted.org/packages/ef/c7/db3cc47b2ef177c75bafe27ce16c83031db9e160c920a7b2f46d56882e54/numpy-1.21.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Using cached numpy-1.21.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting pandas==2.0.3 (from executorch==0.5.0a0+2dd88fb)
Obtaining dependency information for pandas==2.0.3 from https://files.pythonhosted.org/packages/e3/59/35a2892bf09ded9c1bf3804461efe772836a5261ef5dfb4e264ce813ff99/pandas-2.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Using cached pandas-2.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (18 kB)
Collecting python-dateutil>=2.8.2 (from pandas==2.0.3->executorch==0.5.0a0+2dd88fb)
Obtaining dependency information for python-dateutil>=2.8.2 from https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting pytz>=2020.1 (from pandas==2.0.3->executorch==0.5.0a0+2dd88fb)
Obtaining dependency information for pytz>=2020.1 from https://files.pythonhosted.org/packages/11/c3/005fcca25ce078d2cc29fd559379817424e94885510568bc1bc53d7d5846/pytz-2024.2-py2.py3-none-any.whl.metadata
Using cached pytz-2024.2-py2.py3-none-any.whl.metadata (22 kB)
Collecting tzdata>=2022.1 (from pandas==2.0.3->executorch==0.5.0a0+2dd88fb)
Obtaining dependency information for tzdata>=2022.1 from https://files.pythonhosted.org/packages/a6/ab/7e5f53c3b9d14972843a647d8d7a853969a58aecc7559cb3267302c94774/tzdata-2024.2-py2.py3-none-any.whl.metadata
Using cached tzdata-2024.2-py2.py3-none-any.whl.metadata (1.4 kB)
Collecting attrs>=22.2.0 (from hypothesis->executorch==0.5.0a0+2dd88fb)
Obtaining dependency information for attrs>=22.2.0 from https://files.pythonhosted.org/packages/6a/21/5b6702a7f963e95456c0de2d495f67bf5fd62840ac655dc451586d23d39a/attrs-24.2.0-py3-none-any.whl.metadata
Using cached attrs-24.2.0-py3-none-any.whl.metadata (11 kB)
Collecting sortedcontainers<3.0.0,>=2.1.0 (from hypothesis->executorch==0.5.0a0+2dd88fb)
Obtaining dependency information for sortedcontainers<3.0.0,>=2.1.0 from https://files.pythonhosted.org/packages/32/46/9cb0e58b2deb7f82b84065f37f3bffeb12413f947f9388e4cac22c4621ce/sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata
Using cached sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata (10 kB)
Collecting exceptiongroup>=1.0.0 (from hypothesis->executorch==0.5.0a0+2dd88fb)
Obtaining dependency information for exceptiongroup>=1.0.0 from https://files.pythonhosted.org/packages/02/cc/b7e31358aac6ed1ef2bb790a9746ac2c69bcb3c8588b41616914eb106eaf/exceptiongroup-1.2.2-py3-none-any.whl.metadata
Using cached exceptiongroup-1.2.2-py3-none-any.whl.metadata (6.6 kB)
Collecting iniconfig (from pytest->executorch==0.5.0a0+2dd88fb)
Obtaining dependency information for iniconfig from https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl.metadata
Using cached iniconfig-2.0.0-py3-none-any.whl.metadata (2.6 kB)
Collecting pluggy<2,>=1.5 (from pytest->executorch==0.5.0a0+2dd88fb)
Obtaining dependency information for pluggy<2,>=1.5 from https://files.pythonhosted.org/packages/88/5f/e351af9a41f866ac3f1fac4ca0613908d9a41741cfcf2228f4ad853b697d/pluggy-1.5.0-py3-none-any.whl.metadata
Using cached pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB)
Requirement already satisfied: tomli>=1 in /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages (from pytest->executorch==0.5.0a0+2dd88fb) (2.0.1)
Collecting execnet>=2.1 (from pytest-xdist->executorch==0.5.0a0+2dd88fb)
Obtaining dependency information for execnet>=2.1 from https://files.pythonhosted.org/packages/43/09/2aea36ff60d16dd8879bdb2f5b3ee0ba8d08cbbdcdfe870e695ce3784385/execnet-2.1.1-py3-none-any.whl.metadata
Using cached execnet-2.1.1-py3-none-any.whl.metadata (2.9 kB)
Collecting ruamel.yaml.clib>=0.2.7 (from ruamel.yaml->executorch==0.5.0a0+2dd88fb)
Obtaining dependency information for ruamel.yaml.clib>=0.2.7 from https://files.pythonhosted.org/packages/d3/62/c60b034d9a008bbd566eeecf53a5a4c73d191c8de261290db6761802b72d/ruamel.yaml.clib-0.2.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl.metadata
Using cached ruamel.yaml.clib-0.2.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl.metadata (2.2 kB)
Collecting six>=1.5 (from python-dateutil>=2.8.2->pandas==2.0.3->executorch==0.5.0a0+2dd88fb)
Using cached https://download.pytorch.org/whl/nightly/six-1.16.0-py2.py3-none-any.whl (11 kB)
Using cached numpy-1.21.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (15.9 MB)
Using cached pandas-2.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.3 MB)
Using cached expecttest-0.2.1-py3-none-any.whl (7.4 kB)
Using cached flatbuffers-24.3.25-py2.py3-none-any.whl (26 kB)
Using cached hypothesis-6.112.2-py3-none-any.whl (467 kB)
Using cached parameterized-0.9.0-py2.py3-none-any.whl (20 kB)
Using cached pytest-8.3.3-py3-none-any.whl (342 kB)
Using cached pytest_xdist-3.6.1-py3-none-any.whl (46 kB)
Using cached ruamel.yaml-0.18.6-py3-none-any.whl (117 kB)
Using cached tabulate-0.9.0-py3-none-any.whl (35 kB)
Using cached attrs-24.2.0-py3-none-any.whl (63 kB)
Using cached exceptiongroup-1.2.2-py3-none-any.whl (16 kB)
Using cached execnet-2.1.1-py3-none-any.whl (40 kB)
Using cached pluggy-1.5.0-py3-none-any.whl (20 kB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Using cached pytz-2024.2-py2.py3-none-any.whl (508 kB)
Using cached ruamel.yaml.clib-0.2.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (526 kB)
Using cached sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Using cached tzdata-2024.2-py2.py3-none-any.whl (346 kB)
Using cached iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Building wheels for collected packages: executorch
Running command Building wheel for executorch (pyproject.toml)
running bdist_wheel
running build
command options for 'CustomBuild':
build_base = pip-out
build_purelib = pip-out/lib
build_platlib = pip-out/lib.linux-x86_64-cpython-310
build_lib = pip-out/lib.linux-x86_64-cpython-310
build_scripts = pip-out/scripts-3.10
build_temp = pip-out/temp.linux-x86_64-cpython-310
plat_name = linux-x86_64
compiler = None
parallel = 15
debug = None
force = None
executable = /home/workbench/miniconda3/envs/executorch/bin/python
deleting /mnt/c/users/offic/Documents/executorch/pip-out/temp.linux-x86_64-cpython-310/cmake-out/CMakeCache.txt
cmake -S /mnt/c/users/offic/Documents/executorch -B /mnt/c/users/offic/Documents/executorch/pip-out/temp.linux-x86_64-cpython-310/cmake-out -DBUCK2= -DPYTHON_EXECUTABLE=/home/workbench/miniconda3/envs/executorch/bin/python -DCMAKE_PREFIX_PATH=/home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages -DCMAKE_BUILD_TYPE=Release -DEXECUTORCH_ENABLE_LOGGING=ON -DEXECUTORCH_LOG_LEVEL=Info -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15 -DEXECUTORCH_SEPARATE_FLATCC_HOST_PROJECT=OFF -DEXECUTORCH_BUILD_KERNELS_CUSTOM=ON -DEXECUTORCH_BUILD_KERNELS_CUSTOM_AOT=ON -DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON -DEXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT=ON
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Downloading FXdiv to /mnt/c/users/offic/Documents/executorch/pip-out/temp.linux-x86_64-cpython-310/cmake-out/FXdiv-source (define FXDIV_SOURCE_DIR to avoid it)
-- Configuring done (0.2s)
-- Generating done (0.1s)
-- Build files have been written to: /mnt/c/users/offic/Documents/executorch/pip-out/temp.linux-x86_64-cpython-310/cmake-out/FXdiv-download
[ 11%] Performing update step for 'fxdiv'
-- Fetching latest from the remote origin
[ 22%] No patch step for 'fxdiv'
[ 33%] No configure step for 'fxdiv'
[ 44%] No build step for 'fxdiv'
[ 55%] No install step for 'fxdiv'
[ 66%] No test step for 'fxdiv'
[ 77%] Completed 'fxdiv'
[100%] Built target fxdiv
-- Using python executable '/home/workbench/miniconda3/envs/executorch/bin/python'
-- Resolved buck2 as /mnt/c/users/offic/Documents/executorch/pip-out/temp.linux-x86_64-cpython-310/cmake-out/buck2-bin/buck2-3bbde7daa94987db468d021ad625bc93dc62ba7fcb16945cb09b64aab077f284.
-- Killing buck2 daemon
-- executorch: Generating source lists
-- executorch: Generating source file list /mnt/c/users/offic/Documents/executorch/pip-out/temp.linux-x86_64-cpython-310/cmake-out/executorch_srcs.cmake
Error while generating /mnt/c/users/offic/Documents/executorch/pip-out/temp.linux-x86_64-cpython-310/cmake-out/executorch_srcs.cmake. Exit code: 1
Output:
Error:
Traceback (most recent call last):
File "/mnt/c/users/offic/Documents/executorch/build/buck_util.py", line 26, in run
cp: subprocess.CompletedProcess = subprocess.run(
File "/home/workbench/miniconda3/envs/executorch/lib/python3.10/subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/mnt/c/users/offic/Documents/executorch/pip-out/temp.linux-x86_64-cpython-310/cmake-out/buck2-bin/buck2-3bbde7daa94987db468d021ad625bc93dc62ba7fcb16945cb09b64aab077f284', 'cquery', "inputs(deps('//runtime/executor:program'))"]' returned non-zero exit status 2.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/mnt/c/users/offic/Documents/executorch/build/extract_sources.py", line 232, in <module>
main()
File "/mnt/c/users/offic/Documents/executorch/build/extract_sources.py", line 217, in main
target_to_srcs[name] = sorted(target.get_sources(graph, runner, buck_args))
File "/mnt/c/users/offic/Documents/executorch/build/extract_sources.py", line 121, in get_sources
sources: set[str] = set(runner.run(["cquery", query] + buck_args))
File "/mnt/c/users/offic/Documents/executorch/build/buck_util.py", line 31, in run
raise RuntimeError(ex.stderr.decode("utf-8")) from ex
RuntimeError: Command failed:
Error validating working directory
Caused by:
Buck appears to be running in a stale working directory This will likely lead to failed or slow builds. To remediate, restart Buck2.
CMake Error at build/Utils.cmake:216 (message):
executorch: source list generation failed
Call Stack (most recent call first):
CMakeLists.txt:340 (extract_sources)
-- Configuring incomplete, errors occurred!
error: command '/home/workbench/miniconda3/envs/executorch/bin/cmake' failed with exit code 1
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: /home/workbench/miniconda3/envs/executorch/bin/python /home/workbench/miniconda3/envs/executorch/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpqwyegf96
cwd: /mnt/c/users/offic/Documents/executorch
Building wheel for executorch (pyproject.toml) ... error
ERROR: Failed building wheel for executorch
Failed to build executorch
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (executorch)
Traceback (most recent call last):
File "/mnt/c/users/offic/Documents/executorch/./install_requirements.py", line 160, in <module>
subprocess.run(
File "/home/workbench/miniconda3/envs/executorch/lib/python3.10/subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/workbench/miniconda3/envs/executorch/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.
This occurs when trying to replicate the steps here:
https://github.com/pytorch/executorch/blob/main/examples/demo-apps/android/LlamaDemo/docs/delegates/xnnpack_README.md
Versions
Collecting environment information...
PyTorch version: 2.5.0.dev20240912+cpu
Is debug build: False
CUDA used to build PyTorch: Could not collect
ROCM used to build PyTorch: N/A
OS: Ubuntu 22.04.5 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: version 3.30.4
Libc version: glibc-2.35
Python version: 3.10.0 (default, Mar 3 2022, 09:58:08) [GCC 7.5.0] (64-bit runtime)
Python platform: Linux-5.15.153.1-microsoft-standard-WSL2-x86_64-with-glibc2.35
Is CUDA available: False
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 2080 Ti
Nvidia driver version: 561.09
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 48 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 16
On-line CPU(s) list: 0-15
Vendor ID: AuthenticAMD
Model name: AMD Ryzen 7 3700X 8-Core Processor
CPU family: 23
Model: 113
Thread(s) per core: 2
Core(s) per socket: 8
Socket(s): 1
Stepping: 0
BogoMIPS: 7186.54
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl tsc_reliable nonstop_tsc cpuid extd_apicid pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload umip rdpid
Virtualization: AMD-V
Hypervisor vendor: Microsoft
Virtualization type: full
L1d cache: 256 KiB (8 instances)
L1i cache: 256 KiB (8 instances)
L2 cache: 4 MiB (8 instances)
L3 cache: 16 MiB (1 instance)
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Retbleed: Mitigation; untrained return thunk; SMT enabled with STIBP protection
Vulnerability Spec rstack overflow: Mitigation; safe RET
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, STIBP always-on, RSB filling, PBRSB-eIBRS Not affected
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] torch==2.5.0.dev20240912+cpu
[pip3] torchaudio==2.5.0.dev20240912+cpu
[pip3] torchsr==1.0.4
[pip3] torchvision==0.20.0.dev20240912+cpu
[conda] numpy 1.26.4 pypi_0 pypi
[conda] torch 2.5.0.dev20240912+cpu pypi_0 pypi
[conda] torchaudio 2.5.0.dev20240912+cpu pypi_0 pypi
[conda] torchsr 1.0.4 pypi_0 pypi
[conda] torchvision 0.20.0.dev20240912+cpu pypi_0 pypi