2023-03-28T08:47:57,511 Created temporary directory: /tmp/pip-ephem-wheel-cache-wmx0qbxt 2023-03-28T08:47:57,514 Created temporary directory: /tmp/pip-build-tracker-a7pog23o 2023-03-28T08:47:57,514 Initialized build tracking at /tmp/pip-build-tracker-a7pog23o 2023-03-28T08:47:57,514 Created build tracker: /tmp/pip-build-tracker-a7pog23o 2023-03-28T08:47:57,514 Entered build tracker: /tmp/pip-build-tracker-a7pog23o 2023-03-28T08:47:57,515 Created temporary directory: /tmp/pip-wheel-d6mmhean 2023-03-28T08:47:57,520 DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453 2023-03-28T08:47:57,525 Created temporary directory: /tmp/pip-ephem-wheel-cache-gojzj7_0 2023-03-28T08:47:57,554 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-03-28T08:47:57,558 2 location(s) to search for versions of llama-cpp-python: 2023-03-28T08:47:57,558 * https://pypi.org/simple/llama-cpp-python/ 2023-03-28T08:47:57,558 * https://www.piwheels.org/simple/llama-cpp-python/ 2023-03-28T08:47:57,559 Fetching project page and analyzing links: https://pypi.org/simple/llama-cpp-python/ 2023-03-28T08:47:57,560 Getting page https://pypi.org/simple/llama-cpp-python/ 2023-03-28T08:47:57,561 Found index url https://pypi.org/simple 2023-03-28T08:47:57,618 Fetched page https://pypi.org/simple/llama-cpp-python/ as application/vnd.pypi.simple.v1+json 2023-03-28T08:47:57,621 Found link https://files.pythonhosted.org/packages/17/9c/813d8c83d81cb9ab42e5ee66657f8d3670bacdcd67df4aa7728e8dccbcfd/llama_cpp_python-0.1.1.tar.gz (from https://pypi.org/simple/llama-cpp-python/), version: 0.1.1 2023-03-28T08:47:57,621 Found link https://files.pythonhosted.org/packages/42/22/07711b8fc85ed188182c923aa424254a451ee23a58d6c45a033e05e57f9a/llama_cpp_python-0.1.2.tar.gz (from https://pypi.org/simple/llama-cpp-python/), version: 0.1.2 2023-03-28T08:47:57,621 Found link https://files.pythonhosted.org/packages/13/a2/a3a6e665905992e2ed2c79b7af2dce4a36f23c5147959f0f56d9bd72543c/llama_cpp_python-0.1.3.tar.gz (from https://pypi.org/simple/llama-cpp-python/), version: 0.1.3 2023-03-28T08:47:57,622 Found link https://files.pythonhosted.org/packages/00/b6/3069b31e8cd0073685aa059e161e4b8dc3a4e3c77c4f8f433fa5ebc01655/llama_cpp_python-0.1.4.tar.gz (from https://pypi.org/simple/llama-cpp-python/), version: 0.1.4 2023-03-28T08:47:57,622 Found link https://files.pythonhosted.org/packages/cd/32/e2380800128e64542f719c3d7287b2818e7234e268298b95273164cb0a3d/llama_cpp_python-0.1.5.tar.gz (from https://pypi.org/simple/llama-cpp-python/), version: 0.1.5 2023-03-28T08:47:57,623 Found link https://files.pythonhosted.org/packages/9f/d3/9904d8616a5af9515b8852c441472c930b780db1879f13cae240bd4eb05f/llama_cpp_python-0.1.6.tar.gz (from https://pypi.org/simple/llama-cpp-python/), version: 0.1.6 2023-03-28T08:47:57,624 Found link https://files.pythonhosted.org/packages/20/ff/c192e4469e14be86d3b11fdee4b56aca486033e4256174e2cf8425840e54/llama_cpp_python-0.1.7.tar.gz (from https://pypi.org/simple/llama-cpp-python/), version: 0.1.7 2023-03-28T08:47:57,624 Found link https://files.pythonhosted.org/packages/7e/3b/b5f7e1ec5f43a4e980733c63bd4f05e1b7e14fd3b7aa72d9ca91f2415323/llama_cpp_python-0.1.8.tar.gz (from https://pypi.org/simple/llama-cpp-python/), version: 0.1.8 2023-03-28T08:47:57,625 Fetching project page and analyzing links: https://www.piwheels.org/simple/llama-cpp-python/ 2023-03-28T08:47:57,625 Getting page https://www.piwheels.org/simple/llama-cpp-python/ 2023-03-28T08:47:57,627 Found index url https://www.piwheels.org/simple 2023-03-28T08:47:57,815 Fetched page https://www.piwheels.org/simple/llama-cpp-python/ as text/html 2023-03-28T08:47:57,816 Skipping link: not a file: https://www.piwheels.org/simple/llama-cpp-python/ 2023-03-28T08:47:57,816 Skipping link: not a file: https://pypi.org/simple/llama-cpp-python/ 2023-03-28T08:47:57,838 Given no hashes to check 1 links for project 'llama-cpp-python': discarding no candidates 2023-03-28T08:47:57,856 Collecting llama-cpp-python==0.1.8 2023-03-28T08:47:57,859 Created temporary directory: /tmp/pip-unpack-zy91uqr2 2023-03-28T08:47:57,907 Downloading llama_cpp_python-0.1.8.tar.gz (516 kB) 2023-03-28T08:47:58,181 Added llama-cpp-python==0.1.8 from https://files.pythonhosted.org/packages/7e/3b/b5f7e1ec5f43a4e980733c63bd4f05e1b7e14fd3b7aa72d9ca91f2415323/llama_cpp_python-0.1.8.tar.gz to build tracker '/tmp/pip-build-tracker-a7pog23o' 2023-03-28T08:47:58,192 Created temporary directory: /tmp/pip-build-env-lokqw6wj 2023-03-28T08:47:58,206 Installing build dependencies: started 2023-03-28T08:47:58,207 Running command pip subprocess to install build dependencies 2023-03-28T08:47:59,713 Using pip 23.0.1 from /usr/local/lib/python3.9/dist-packages/pip (python 3.9) 2023-03-28T08:48:00,496 DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453 2023-03-28T08:48:00,537 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-03-28T08:48:02,790 Collecting setuptools>=42 2023-03-28T08:48:02,921 Using cached https://www.piwheels.org/simple/setuptools/setuptools-67.6.0-py3-none-any.whl (1.1 MB) 2023-03-28T08:48:03,202 Collecting scikit-build>=0.13 2023-03-28T08:48:03,224 Using cached https://www.piwheels.org/simple/scikit-build/scikit_build-0.16.7-py3-none-any.whl (79 kB) 2023-03-28T08:48:04,080 Collecting cmake>=3.18 2023-03-28T08:48:06,084 Using cached https://www.piwheels.org/simple/cmake/cmake-3.26.1-cp39-cp39-linux_armv7l.whl (17.6 MB) 2023-03-28T08:48:07,091 Collecting ninja 2023-03-28T08:48:07,133 Using cached https://www.piwheels.org/simple/ninja/ninja-1.11.1-cp39-cp39-linux_armv7l.whl (132 kB) 2023-03-28T08:48:07,493 Collecting wheel>=0.32.0 2023-03-28T08:48:07,518 Using cached https://www.piwheels.org/simple/wheel/wheel-0.40.0-py3-none-any.whl (64 kB) 2023-03-28T08:48:07,721 Collecting packaging 2023-03-28T08:48:07,741 Using cached https://www.piwheels.org/simple/packaging/packaging-23.0-py3-none-any.whl (42 kB) 2023-03-28T08:48:07,839 Collecting distro 2023-03-28T08:48:07,860 Using cached https://www.piwheels.org/simple/distro/distro-1.8.0-py3-none-any.whl (20 kB) 2023-03-28T08:48:10,903 Installing collected packages: ninja, cmake, wheel, setuptools, packaging, distro, scikit-build 2023-03-28T08:48:10,976 Creating /tmp/pip-build-env-lokqw6wj/overlay/bin 2023-03-28T08:48:10,979 changing mode of /tmp/pip-build-env-lokqw6wj/overlay/bin/ninja to 755 2023-03-28T08:48:19,471 changing mode of /tmp/pip-build-env-lokqw6wj/overlay/bin/cmake to 755 2023-03-28T08:48:19,473 changing mode of /tmp/pip-build-env-lokqw6wj/overlay/bin/cpack to 755 2023-03-28T08:48:19,476 changing mode of /tmp/pip-build-env-lokqw6wj/overlay/bin/ctest to 755 2023-03-28T08:48:19,842 changing mode of /tmp/pip-build-env-lokqw6wj/overlay/bin/wheel to 755 2023-03-28T08:48:22,660 changing mode of /tmp/pip-build-env-lokqw6wj/overlay/bin/distro to 755 2023-03-28T08:48:22,984 Successfully installed cmake-3.26.1 distro-1.8.0 ninja-1.11.1 packaging-23.0 scikit-build-0.16.7 setuptools-67.6.0 wheel-0.40.0 2023-03-28T08:48:23,638 Installing build dependencies: finished with status 'done' 2023-03-28T08:48:23,644 Getting requirements to build wheel: started 2023-03-28T08:48:23,646 Running command Getting requirements to build wheel 2023-03-28T08:48:24,703 running egg_info 2023-03-28T08:48:24,714 writing llama_cpp_python.egg-info/PKG-INFO 2023-03-28T08:48:24,716 writing dependency_links to llama_cpp_python.egg-info/dependency_links.txt 2023-03-28T08:48:24,720 writing top-level names to llama_cpp_python.egg-info/top_level.txt 2023-03-28T08:48:24,735 reading manifest file 'llama_cpp_python.egg-info/SOURCES.txt' 2023-03-28T08:48:24,746 adding license file 'LICENSE.md' 2023-03-28T08:48:24,750 writing manifest file 'llama_cpp_python.egg-info/SOURCES.txt' 2023-03-28T08:48:24,862 Getting requirements to build wheel: finished with status 'done' 2023-03-28T08:48:24,878 Created temporary directory: /tmp/pip-modern-metadata-zvnigx6o 2023-03-28T08:48:24,882 Preparing metadata (pyproject.toml): started 2023-03-28T08:48:24,883 Running command Preparing metadata (pyproject.toml) 2023-03-28T08:48:25,867 running dist_info 2023-03-28T08:48:25,872 creating /tmp/pip-modern-metadata-zvnigx6o/llama_cpp_python.egg-info 2023-03-28T08:48:25,881 writing /tmp/pip-modern-metadata-zvnigx6o/llama_cpp_python.egg-info/PKG-INFO 2023-03-28T08:48:25,884 writing dependency_links to /tmp/pip-modern-metadata-zvnigx6o/llama_cpp_python.egg-info/dependency_links.txt 2023-03-28T08:48:25,888 writing top-level names to /tmp/pip-modern-metadata-zvnigx6o/llama_cpp_python.egg-info/top_level.txt 2023-03-28T08:48:25,889 writing manifest file '/tmp/pip-modern-metadata-zvnigx6o/llama_cpp_python.egg-info/SOURCES.txt' 2023-03-28T08:48:25,902 reading manifest file '/tmp/pip-modern-metadata-zvnigx6o/llama_cpp_python.egg-info/SOURCES.txt' 2023-03-28T08:48:25,906 adding license file 'LICENSE.md' 2023-03-28T08:48:25,910 writing manifest file '/tmp/pip-modern-metadata-zvnigx6o/llama_cpp_python.egg-info/SOURCES.txt' 2023-03-28T08:48:25,911 creating '/tmp/pip-modern-metadata-zvnigx6o/llama_cpp_python-0.1.8.dist-info' 2023-03-28T08:48:26,048 Preparing metadata (pyproject.toml): finished with status 'done' 2023-03-28T08:48:26,057 Source in /tmp/pip-wheel-d6mmhean/llama-cpp-python_b79e0e11087643e7b52ed3d861ebcc6f has version 0.1.8, which satisfies requirement llama-cpp-python==0.1.8 from https://files.pythonhosted.org/packages/7e/3b/b5f7e1ec5f43a4e980733c63bd4f05e1b7e14fd3b7aa72d9ca91f2415323/llama_cpp_python-0.1.8.tar.gz 2023-03-28T08:48:26,058 Removed llama-cpp-python==0.1.8 from https://files.pythonhosted.org/packages/7e/3b/b5f7e1ec5f43a4e980733c63bd4f05e1b7e14fd3b7aa72d9ca91f2415323/llama_cpp_python-0.1.8.tar.gz from build tracker '/tmp/pip-build-tracker-a7pog23o' 2023-03-28T08:48:26,063 Created temporary directory: /tmp/pip-unpack-rve1810v 2023-03-28T08:48:26,064 Building wheels for collected packages: llama-cpp-python 2023-03-28T08:48:26,071 Created temporary directory: /tmp/pip-wheel-4kp8av4_ 2023-03-28T08:48:26,072 Destination directory: /tmp/pip-wheel-4kp8av4_ 2023-03-28T08:48:26,075 Building wheel for llama-cpp-python (pyproject.toml): started 2023-03-28T08:48:26,077 Running command Building wheel for llama-cpp-python (pyproject.toml) 2023-03-28T08:48:27,027 -------------------------------------------------------------------------------- 2023-03-28T08:48:27,028 -- Trying 'Ninja' generator 2023-03-28T08:48:27,028 -------------------------------- 2023-03-28T08:48:27,028 --------------------------- 2023-03-28T08:48:27,028 ---------------------- 2023-03-28T08:48:27,028 ----------------- 2023-03-28T08:48:27,028 ------------ 2023-03-28T08:48:27,029 ------- 2023-03-28T08:48:27,029 -- 2023-03-28T08:48:27,429 Not searching for unused variables given on the command line. 2023-03-28T08:48:27,429 -- The C compiler identification is GNU 10.2.1 2023-03-28T08:48:27,486 -- Detecting C compiler ABI info 2023-03-28T08:48:27,819 -- Detecting C compiler ABI info - done 2023-03-28T08:48:27,863 -- Check for working C compiler: /usr/bin/cc - skipped 2023-03-28T08:48:27,865 -- Detecting C compile features 2023-03-28T08:48:27,867 -- Detecting C compile features - done 2023-03-28T08:48:28,277 -- The CXX compiler identification is GNU 10.2.1 2023-03-28T08:48:28,331 -- Detecting CXX compiler ABI info 2023-03-28T08:48:28,773 -- Detecting CXX compiler ABI info - done 2023-03-28T08:48:28,822 -- Check for working CXX compiler: /usr/bin/c++ - skipped 2023-03-28T08:48:28,824 -- Detecting CXX compile features 2023-03-28T08:48:28,829 -- Detecting CXX compile features - done 2023-03-28T08:48:28,842 -- Configuring done (1.8s) 2023-03-28T08:48:28,858 -- Generating done (0.0s) 2023-03-28T08:48:28,898 -- Build files have been written to: /tmp/pip-wheel-d6mmhean/llama-cpp-python_b79e0e11087643e7b52ed3d861ebcc6f/_cmake_test_compile/build 2023-03-28T08:48:28,910 -- 2023-03-28T08:48:28,911 ------- 2023-03-28T08:48:28,911 ------------ 2023-03-28T08:48:28,912 ----------------- 2023-03-28T08:48:28,912 ---------------------- 2023-03-28T08:48:28,913 --------------------------- 2023-03-28T08:48:28,913 -------------------------------- 2023-03-28T08:48:28,914 -- Trying 'Ninja' generator - success 2023-03-28T08:48:28,914 -------------------------------------------------------------------------------- 2023-03-28T08:48:28,940 Configuring Project 2023-03-28T08:48:28,940 Working directory: 2023-03-28T08:48:28,940 /tmp/pip-wheel-d6mmhean/llama-cpp-python_b79e0e11087643e7b52ed3d861ebcc6f/_skbuild/linux-armv7l-3.9/cmake-build 2023-03-28T08:48:28,941 Command: 2023-03-28T08:48:28,941 /tmp/pip-build-env-lokqw6wj/overlay/lib/python3.9/site-packages/cmake/data/bin/cmake /tmp/pip-wheel-d6mmhean/llama-cpp-python_b79e0e11087643e7b52ed3d861ebcc6f -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-wheel-d6mmhean/llama-cpp-python_b79e0e11087643e7b52ed3d861ebcc6f/_skbuild/linux-armv7l-3.9/cmake-install -DPYTHON_VERSION_STRING:STRING=3.9.2 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-lokqw6wj/overlay/lib/python3.9/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/usr/bin/python3 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.9 -DPYTHON_LIBRARY:PATH=/usr/lib/arm-linux-gnueabihf/libpython3.9.so -DPython_EXECUTABLE:PATH=/usr/bin/python3 -DPython_ROOT_DIR:PATH=/usr -DPython_INCLUDE_DIR:PATH=/usr/include/python3.9 -DPython_FIND_REGISTRY:STRING=NEVER -DPython3_EXECUTABLE:PATH=/usr/bin/python3 -DPython3_ROOT_DIR:PATH=/usr -DPython3_INCLUDE_DIR:PATH=/usr/include/python3.9 -DPython3_FIND_REGISTRY:STRING=NEVER -DCMAKE_MAKE_PROGRAM:FILEPATH=/tmp/pip-build-env-lokqw6wj/overlay/lib/python3.9/site-packages/ninja/data/bin/ninja -DCMAKE_BUILD_TYPE:STRING=Release 2023-03-28T08:48:29,327 -- The C compiler identification is GNU 10.2.1 2023-03-28T08:48:29,729 -- The CXX compiler identification is GNU 10.2.1 2023-03-28T08:48:29,797 -- Detecting C compiler ABI info 2023-03-28T08:48:30,166 -- Detecting C compiler ABI info - done 2023-03-28T08:48:30,211 -- Check for working C compiler: /usr/bin/cc - skipped 2023-03-28T08:48:30,213 -- Detecting C compile features 2023-03-28T08:48:30,216 -- Detecting C compile features - done 2023-03-28T08:48:30,245 -- Detecting CXX compiler ABI info 2023-03-28T08:48:30,680 -- Detecting CXX compiler ABI info - done 2023-03-28T08:48:30,723 -- Check for working CXX compiler: /usr/bin/c++ - skipped 2023-03-28T08:48:30,726 -- Detecting CXX compile features 2023-03-28T08:48:30,729 -- Detecting CXX compile features - done 2023-03-28T08:48:30,755 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD 2023-03-28T08:48:31,131 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed 2023-03-28T08:48:31,132 -- Check if compiler accepts -pthread 2023-03-28T08:48:32,121 -- Check if compiler accepts -pthread - yes 2023-03-28T08:48:32,126 -- Found Threads: TRUE 2023-03-28T08:48:32,128 -- CMAKE_SYSTEM_PROCESSOR: armv7l 2023-03-28T08:48:32,128 -- ARM detected 2023-03-28T08:48:32,131 -- Configuring done (3.2s) 2023-03-28T08:48:32,164 -- Generating done (0.0s) 2023-03-28T08:48:32,194 CMake Warning: 2023-03-28T08:48:32,195 Manually-specified variables were not used by the project: 2023-03-28T08:48:32,196 PYTHON_EXECUTABLE 2023-03-28T08:48:32,197 PYTHON_INCLUDE_DIR 2023-03-28T08:48:32,198 PYTHON_LIBRARY 2023-03-28T08:48:32,198 PYTHON_VERSION_STRING 2023-03-28T08:48:32,198 Python3_EXECUTABLE 2023-03-28T08:48:32,198 Python3_FIND_REGISTRY 2023-03-28T08:48:32,198 Python3_INCLUDE_DIR 2023-03-28T08:48:32,199 Python3_ROOT_DIR 2023-03-28T08:48:32,199 Python_EXECUTABLE 2023-03-28T08:48:32,199 Python_FIND_REGISTRY 2023-03-28T08:48:32,199 Python_INCLUDE_DIR 2023-03-28T08:48:32,199 Python_ROOT_DIR 2023-03-28T08:48:32,199 SKBUILD 2023-03-28T08:48:32,205 -- Build files have been written to: /tmp/pip-wheel-d6mmhean/llama-cpp-python_b79e0e11087643e7b52ed3d861ebcc6f/_skbuild/linux-armv7l-3.9/cmake-build 2023-03-28T08:48:32,581 [1/4] Building C object vendor/llama.cpp/CMakeFiles/ggml.dir/ggml.c.o 2023-03-28T08:48:32,582 FAILED: vendor/llama.cpp/CMakeFiles/ggml.dir/ggml.c.o 2023-03-28T08:48:32,582 /usr/bin/cc -I/tmp/pip-wheel-d6mmhean/llama-cpp-python_b79e0e11087643e7b52ed3d861ebcc6f/vendor/llama.cpp/. -O3 -DNDEBUG -fPIC -Wall -Wextra -Wpedantic -Wshadow -Wcast-qual -Wstrict-prototypes -Wpointer-arith -Wno-unused-function -pthread -MD -MT vendor/llama.cpp/CMakeFiles/ggml.dir/ggml.c.o -MF vendor/llama.cpp/CMakeFiles/ggml.dir/ggml.c.o.d -o vendor/llama.cpp/CMakeFiles/ggml.dir/ggml.c.o -c /tmp/pip-wheel-d6mmhean/llama-cpp-python_b79e0e11087643e7b52ed3d861ebcc6f/vendor/llama.cpp/ggml.c 2023-03-28T08:48:32,582 /tmp/pip-wheel-d6mmhean/llama-cpp-python_b79e0e11087643e7b52ed3d861ebcc6f/vendor/llama.cpp/ggml.c:169:10: fatal error: immintrin.h: No such file or directory 2023-03-28T08:48:32,583 169 | #include 2023-03-28T08:48:32,583 | ^~~~~~~~~~~~~ 2023-03-28T08:48:32,583 compilation terminated. 2023-03-28T08:49:01,240 [2/4] Building CXX object vendor/llama.cpp/CMakeFiles/llama.dir/llama.cpp.o 2023-03-28T08:49:01,240 /tmp/pip-wheel-d6mmhean/llama-cpp-python_b79e0e11087643e7b52ed3d861ebcc6f/vendor/llama.cpp/llama.cpp: In function ‘bool llama_model_quantize_internal(const string&, const string&, int, int)’: 2023-03-28T08:49:01,240 /tmp/pip-wheel-d6mmhean/llama-cpp-python_b79e0e11087643e7b52ed3d861ebcc6f/vendor/llama.cpp/llama.cpp:1455:24: warning: cast from type ‘const char*’ to type ‘char*’ casts away qualifiers [-Wcast-qual] 2023-03-28T08:49:01,240 1455 | finp.read ((char *) word.data(), len); 2023-03-28T08:49:01,240 | ^~~~~~~~~~~~~~~~~~~~ 2023-03-28T08:49:01,241 /tmp/pip-wheel-d6mmhean/llama-cpp-python_b79e0e11087643e7b52ed3d861ebcc6f/vendor/llama.cpp/llama.cpp:1456:24: warning: cast from type ‘const char*’ to type ‘char*’ casts away qualifiers [-Wcast-qual] 2023-03-28T08:49:01,241 1456 | fout.write((char *) word.data(), len); 2023-03-28T08:49:01,241 | ^~~~~~~~~~~~~~~~~~~~ 2023-03-28T08:49:01,241 In file included from /usr/include/c++/10/vector:72, 2023-03-28T08:49:01,241 from /usr/include/c++/10/bits/random.h:34, 2023-03-28T08:49:01,241 from /usr/include/c++/10/random:49, 2023-03-28T08:49:01,242 from /tmp/pip-wheel-d6mmhean/llama-cpp-python_b79e0e11087643e7b52ed3d861ebcc6f/vendor/llama.cpp/llama.cpp:7: 2023-03-28T08:49:01,242 /usr/include/c++/10/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const double&}; _Tp = double; _Alloc = std::allocator]’: 2023-03-28T08:49:01,242 /usr/include/c++/10/bits/vector.tcc:426:7: note: parameter passing for argument of type ‘std::vector::iterator’ changed in GCC 7.1 2023-03-28T08:49:01,242 426 | vector<_Tp, _Alloc>:: 2023-03-28T08:49:01,242 | ^~~~~~~~~~~~~~~~~~~ 2023-03-28T08:49:01,242 In file included from /usr/include/c++/10/vector:67, 2023-03-28T08:49:01,243 from /usr/include/c++/10/bits/random.h:34, 2023-03-28T08:49:01,243 from /usr/include/c++/10/random:49, 2023-03-28T08:49:01,243 from /tmp/pip-wheel-d6mmhean/llama-cpp-python_b79e0e11087643e7b52ed3d861ebcc6f/vendor/llama.cpp/llama.cpp:7: 2023-03-28T08:49:01,243 /usr/include/c++/10/bits/stl_vector.h: In member function ‘void std::discrete_distribution<_IntType>::param_type::_M_initialize() [with _IntType = int]’: 2023-03-28T08:49:01,243 /usr/include/c++/10/bits/stl_vector.h:1198:21: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2023-03-28T08:49:01,243 1198 | _M_realloc_insert(end(), __x); 2023-03-28T08:49:01,244 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2023-03-28T08:49:01,244 /usr/include/c++/10/bits/stl_vector.h:1198:21: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2023-03-28T08:49:01,244 1198 | _M_realloc_insert(end(), __x); 2023-03-28T08:49:01,244 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2023-03-28T08:49:01,244 /usr/include/c++/10/bits/stl_vector.h: In function ‘llama_token llama_sample_top_p_top_k(llama_context*, const llama_token*, int, int, double, double, double)’: 2023-03-28T08:49:01,244 /usr/include/c++/10/bits/stl_vector.h:1198:21: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2023-03-28T08:49:01,245 1198 | _M_realloc_insert(end(), __x); 2023-03-28T08:49:01,245 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2023-03-28T08:49:01,248 ninja: build stopped: subcommand failed. 2023-03-28T08:49:01,252 Traceback (most recent call last): 2023-03-28T08:49:01,257 File "/tmp/pip-build-env-lokqw6wj/overlay/lib/python3.9/site-packages/skbuild/setuptools_wrap.py", line 642, in setup 2023-03-28T08:49:01,257 cmkr.make(make_args, install_target=cmake_install_target, env=env) 2023-03-28T08:49:01,257 File "/tmp/pip-build-env-lokqw6wj/overlay/lib/python3.9/site-packages/skbuild/cmaker.py", line 679, in make 2023-03-28T08:49:01,258 self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env) 2023-03-28T08:49:01,258 File "/tmp/pip-build-env-lokqw6wj/overlay/lib/python3.9/site-packages/skbuild/cmaker.py", line 710, in make_impl 2023-03-28T08:49:01,259 raise SKBuildError( 2023-03-28T08:49:01,260 An error occurred while building with CMake. 2023-03-28T08:49:01,260 Command: 2023-03-28T08:49:01,260 /tmp/pip-build-env-lokqw6wj/overlay/lib/python3.9/site-packages/cmake/data/bin/cmake --build . --target install --config Release -- 2023-03-28T08:49:01,260 Install target: 2023-03-28T08:49:01,260 install 2023-03-28T08:49:01,261 Source directory: 2023-03-28T08:49:01,261 /tmp/pip-wheel-d6mmhean/llama-cpp-python_b79e0e11087643e7b52ed3d861ebcc6f 2023-03-28T08:49:01,261 Working directory: 2023-03-28T08:49:01,261 /tmp/pip-wheel-d6mmhean/llama-cpp-python_b79e0e11087643e7b52ed3d861ebcc6f/_skbuild/linux-armv7l-3.9/cmake-build 2023-03-28T08:49:01,262 Please check the install target is valid and see CMake's output for more information. 2023-03-28T08:49:01,349 ERROR: [present-rich] Building wheel for llama-cpp-python (pyproject.toml) exited with 1 2023-03-28T08:49:01,370 [bold magenta]full command[/]: [blue]/usr/bin/python3 /usr/local/lib/python3.9/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpewz9bdcf[/] 2023-03-28T08:49:01,370 [bold magenta]cwd[/]: /tmp/pip-wheel-d6mmhean/llama-cpp-python_b79e0e11087643e7b52ed3d861ebcc6f 2023-03-28T08:49:01,371 Building wheel for llama-cpp-python (pyproject.toml): finished with status 'error' 2023-03-28T08:49:01,373 ERROR: Failed building wheel for llama-cpp-python 2023-03-28T08:49:01,376 Failed to build llama-cpp-python 2023-03-28T08:49:01,377 ERROR: Failed to build one or more wheels 2023-03-28T08:49:01,379 Exception information: 2023-03-28T08:49:01,379 Traceback (most recent call last): 2023-03-28T08:49:01,379 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper 2023-03-28T08:49:01,379 status = run_func(*args) 2023-03-28T08:49:01,379 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/req_command.py", line 247, in wrapper 2023-03-28T08:49:01,379 return func(self, options, args) 2023-03-28T08:49:01,379 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/commands/wheel.py", line 201, in run 2023-03-28T08:49:01,379 raise CommandError("Failed to build one or more wheels") 2023-03-28T08:49:01,379 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-03-28T08:49:01,383 Removed build tracker: '/tmp/pip-build-tracker-a7pog23o'