2023-03-24T04:13:26,835 Created temporary directory: /tmp/pip-ephem-wheel-cache-x1c1a_ke 2023-03-24T04:13:26,838 Created temporary directory: /tmp/pip-build-tracker-ubg4paiu 2023-03-24T04:13:26,838 Initialized build tracking at /tmp/pip-build-tracker-ubg4paiu 2023-03-24T04:13:26,838 Created build tracker: /tmp/pip-build-tracker-ubg4paiu 2023-03-24T04:13:26,838 Entered build tracker: /tmp/pip-build-tracker-ubg4paiu 2023-03-24T04:13:26,839 Created temporary directory: /tmp/pip-wheel-m780n_4o 2023-03-24T04:13:26,844 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-24T04:13:26,846 Created temporary directory: /tmp/pip-ephem-wheel-cache-ihlcchub 2023-03-24T04:13:26,875 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-03-24T04:13:26,879 2 location(s) to search for versions of llama-cpp-python: 2023-03-24T04:13:26,879 * https://pypi.org/simple/llama-cpp-python/ 2023-03-24T04:13:26,879 * https://www.piwheels.org/simple/llama-cpp-python/ 2023-03-24T04:13:26,879 Fetching project page and analyzing links: https://pypi.org/simple/llama-cpp-python/ 2023-03-24T04:13:26,880 Getting page https://pypi.org/simple/llama-cpp-python/ 2023-03-24T04:13:26,881 Found index url https://pypi.org/simple 2023-03-24T04:13:26,933 Fetched page https://pypi.org/simple/llama-cpp-python/ as application/vnd.pypi.simple.v1+json 2023-03-24T04:13:26,934 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-24T04:13:26,935 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-24T04:13:26,935 Fetching project page and analyzing links: https://www.piwheels.org/simple/llama-cpp-python/ 2023-03-24T04:13:26,936 Getting page https://www.piwheels.org/simple/llama-cpp-python/ 2023-03-24T04:13:26,936 Found index url https://www.piwheels.org/simple 2023-03-24T04:13:27,124 Fetched page https://www.piwheels.org/simple/llama-cpp-python/ as text/html 2023-03-24T04:13:27,126 Skipping link: not a file: https://www.piwheels.org/simple/llama-cpp-python/ 2023-03-24T04:13:27,126 Skipping link: not a file: https://pypi.org/simple/llama-cpp-python/ 2023-03-24T04:13:27,153 Given no hashes to check 1 links for project 'llama-cpp-python': discarding no candidates 2023-03-24T04:13:27,177 Collecting llama-cpp-python==0.1.2 2023-03-24T04:13:27,180 Created temporary directory: /tmp/pip-unpack-gpt2_30q 2023-03-24T04:13:27,230 Downloading llama_cpp_python-0.1.2.tar.gz (518 kB) 2023-03-24T04:13:27,475 Added llama-cpp-python==0.1.2 from https://files.pythonhosted.org/packages/42/22/07711b8fc85ed188182c923aa424254a451ee23a58d6c45a033e05e57f9a/llama_cpp_python-0.1.2.tar.gz to build tracker '/tmp/pip-build-tracker-ubg4paiu' 2023-03-24T04:13:27,482 Created temporary directory: /tmp/pip-build-env-jxqzatr5 2023-03-24T04:13:27,493 Installing build dependencies: started 2023-03-24T04:13:27,494 Running command pip subprocess to install build dependencies 2023-03-24T04:13:28,691 Using pip 23.0.1 from /usr/local/lib/python3.9/dist-packages/pip (python 3.9) 2023-03-24T04:13:29,266 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-24T04:13:29,294 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-03-24T04:13:30,984 Collecting setuptools>=42 2023-03-24T04:13:31,143 Using cached https://www.piwheels.org/simple/setuptools/setuptools-67.6.0-py3-none-any.whl (1.1 MB) 2023-03-24T04:13:31,321 Collecting scikit-build>=0.13 2023-03-24T04:13:31,354 Using cached https://www.piwheels.org/simple/scikit-build/scikit_build-0.16.7-py3-none-any.whl (79 kB) 2023-03-24T04:13:32,145 Collecting cmake>=3.18 2023-03-24T04:13:33,738 Using cached https://www.piwheels.org/simple/cmake/cmake-3.26.0-cp39-cp39-linux_armv7l.whl (17.6 MB) 2023-03-24T04:13:34,638 Collecting ninja 2023-03-24T04:13:34,714 Using cached https://www.piwheels.org/simple/ninja/ninja-1.11.1-cp39-cp39-linux_armv7l.whl (132 kB) 2023-03-24T04:13:34,893 Collecting distro 2023-03-24T04:13:34,957 Using cached https://www.piwheels.org/simple/distro/distro-1.8.0-py3-none-any.whl (20 kB) 2023-03-24T04:13:35,157 Collecting packaging 2023-03-24T04:13:35,182 Using cached https://www.piwheels.org/simple/packaging/packaging-23.0-py3-none-any.whl (42 kB) 2023-03-24T04:13:35,435 Collecting wheel>=0.32.0 2023-03-24T04:13:35,457 Using cached https://www.piwheels.org/simple/wheel/wheel-0.40.0-py3-none-any.whl (64 kB) 2023-03-24T04:13:37,537 Installing collected packages: ninja, cmake, wheel, setuptools, packaging, distro, scikit-build 2023-03-24T04:13:37,598 Creating /tmp/pip-build-env-jxqzatr5/overlay/bin 2023-03-24T04:13:37,601 changing mode of /tmp/pip-build-env-jxqzatr5/overlay/bin/ninja to 755 2023-03-24T04:13:44,323 changing mode of /tmp/pip-build-env-jxqzatr5/overlay/bin/cmake to 755 2023-03-24T04:13:44,326 changing mode of /tmp/pip-build-env-jxqzatr5/overlay/bin/cpack to 755 2023-03-24T04:13:44,329 changing mode of /tmp/pip-build-env-jxqzatr5/overlay/bin/ctest to 755 2023-03-24T04:13:44,628 changing mode of /tmp/pip-build-env-jxqzatr5/overlay/bin/wheel to 755 2023-03-24T04:13:47,050 changing mode of /tmp/pip-build-env-jxqzatr5/overlay/bin/distro to 755 2023-03-24T04:13:47,315 Successfully installed cmake-3.26.0 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-24T04:13:47,863 Installing build dependencies: finished with status 'done' 2023-03-24T04:13:47,869 Getting requirements to build wheel: started 2023-03-24T04:13:47,870 Running command Getting requirements to build wheel 2023-03-24T04:13:48,753 running egg_info 2023-03-24T04:13:48,763 writing llama_cpp_python.egg-info/PKG-INFO 2023-03-24T04:13:48,765 writing dependency_links to llama_cpp_python.egg-info/dependency_links.txt 2023-03-24T04:13:48,768 writing top-level names to llama_cpp_python.egg-info/top_level.txt 2023-03-24T04:13:48,780 reading manifest file 'llama_cpp_python.egg-info/SOURCES.txt' 2023-03-24T04:13:48,789 adding license file 'LICENSE.md' 2023-03-24T04:13:48,793 writing manifest file 'llama_cpp_python.egg-info/SOURCES.txt' 2023-03-24T04:13:48,885 Getting requirements to build wheel: finished with status 'done' 2023-03-24T04:13:48,898 Created temporary directory: /tmp/pip-modern-metadata-tfi228vy 2023-03-24T04:13:48,901 Preparing metadata (pyproject.toml): started 2023-03-24T04:13:48,902 Running command Preparing metadata (pyproject.toml) 2023-03-24T04:13:49,726 running dist_info 2023-03-24T04:13:49,732 creating /tmp/pip-modern-metadata-tfi228vy/llama_cpp_python.egg-info 2023-03-24T04:13:49,739 writing /tmp/pip-modern-metadata-tfi228vy/llama_cpp_python.egg-info/PKG-INFO 2023-03-24T04:13:49,741 writing dependency_links to /tmp/pip-modern-metadata-tfi228vy/llama_cpp_python.egg-info/dependency_links.txt 2023-03-24T04:13:49,744 writing top-level names to /tmp/pip-modern-metadata-tfi228vy/llama_cpp_python.egg-info/top_level.txt 2023-03-24T04:13:49,745 writing manifest file '/tmp/pip-modern-metadata-tfi228vy/llama_cpp_python.egg-info/SOURCES.txt' 2023-03-24T04:13:49,755 reading manifest file '/tmp/pip-modern-metadata-tfi228vy/llama_cpp_python.egg-info/SOURCES.txt' 2023-03-24T04:13:49,758 adding license file 'LICENSE.md' 2023-03-24T04:13:49,760 writing manifest file '/tmp/pip-modern-metadata-tfi228vy/llama_cpp_python.egg-info/SOURCES.txt' 2023-03-24T04:13:49,762 creating '/tmp/pip-modern-metadata-tfi228vy/llama_cpp_python-0.1.2.dist-info' 2023-03-24T04:13:49,889 Preparing metadata (pyproject.toml): finished with status 'done' 2023-03-24T04:13:49,895 Source in /tmp/pip-wheel-m780n_4o/llama-cpp-python_55f8846aa8834d99bccb8b7113b524b3 has version 0.1.2, which satisfies requirement llama-cpp-python==0.1.2 from https://files.pythonhosted.org/packages/42/22/07711b8fc85ed188182c923aa424254a451ee23a58d6c45a033e05e57f9a/llama_cpp_python-0.1.2.tar.gz 2023-03-24T04:13:49,896 Removed llama-cpp-python==0.1.2 from https://files.pythonhosted.org/packages/42/22/07711b8fc85ed188182c923aa424254a451ee23a58d6c45a033e05e57f9a/llama_cpp_python-0.1.2.tar.gz from build tracker '/tmp/pip-build-tracker-ubg4paiu' 2023-03-24T04:13:49,900 Created temporary directory: /tmp/pip-unpack-l39kt08e 2023-03-24T04:13:49,901 Building wheels for collected packages: llama-cpp-python 2023-03-24T04:13:49,906 Created temporary directory: /tmp/pip-wheel-wzq1ffdj 2023-03-24T04:13:49,906 Destination directory: /tmp/pip-wheel-wzq1ffdj 2023-03-24T04:13:49,908 Building wheel for llama-cpp-python (pyproject.toml): started 2023-03-24T04:13:49,909 Running command Building wheel for llama-cpp-python (pyproject.toml) 2023-03-24T04:13:50,698 -------------------------------------------------------------------------------- 2023-03-24T04:13:50,698 -- Trying 'Ninja' generator 2023-03-24T04:13:50,698 -------------------------------- 2023-03-24T04:13:50,698 --------------------------- 2023-03-24T04:13:50,698 ---------------------- 2023-03-24T04:13:50,698 ----------------- 2023-03-24T04:13:50,699 ------------ 2023-03-24T04:13:50,699 ------- 2023-03-24T04:13:50,699 -- 2023-03-24T04:13:51,069 Not searching for unused variables given on the command line. 2023-03-24T04:13:51,069 -- The C compiler identification is GNU 10.2.1 2023-03-24T04:13:51,125 -- Detecting C compiler ABI info 2023-03-24T04:13:51,435 -- Detecting C compiler ABI info - done 2023-03-24T04:13:51,503 -- Check for working C compiler: /usr/bin/cc - skipped 2023-03-24T04:13:51,506 -- Detecting C compile features 2023-03-24T04:13:51,511 -- Detecting C compile features - done 2023-03-24T04:13:51,867 -- The CXX compiler identification is GNU 10.2.1 2023-03-24T04:13:51,912 -- Detecting CXX compiler ABI info 2023-03-24T04:13:52,297 -- Detecting CXX compiler ABI info - done 2023-03-24T04:13:52,353 -- Check for working CXX compiler: /usr/bin/c++ - skipped 2023-03-24T04:13:52,355 -- Detecting CXX compile features 2023-03-24T04:13:52,358 -- Detecting CXX compile features - done 2023-03-24T04:13:52,366 -- Configuring done (1.6s) 2023-03-24T04:13:52,378 -- Generating done (0.0s) 2023-03-24T04:13:52,406 -- Build files have been written to: /tmp/pip-wheel-m780n_4o/llama-cpp-python_55f8846aa8834d99bccb8b7113b524b3/_cmake_test_compile/build 2023-03-24T04:13:52,415 -- 2023-03-24T04:13:52,415 ------- 2023-03-24T04:13:52,415 ------------ 2023-03-24T04:13:52,415 ----------------- 2023-03-24T04:13:52,415 ---------------------- 2023-03-24T04:13:52,416 --------------------------- 2023-03-24T04:13:52,416 -------------------------------- 2023-03-24T04:13:52,416 -- Trying 'Ninja' generator - success 2023-03-24T04:13:52,416 -------------------------------------------------------------------------------- 2023-03-24T04:13:52,516 Configuring Project 2023-03-24T04:13:52,516 Working directory: 2023-03-24T04:13:52,516 /tmp/pip-wheel-m780n_4o/llama-cpp-python_55f8846aa8834d99bccb8b7113b524b3/_skbuild/linux-armv7l-3.9/cmake-build 2023-03-24T04:13:52,516 Command: 2023-03-24T04:13:52,516 /tmp/pip-build-env-jxqzatr5/overlay/lib/python3.9/site-packages/cmake/data/bin/cmake /tmp/pip-wheel-m780n_4o/llama-cpp-python_55f8846aa8834d99bccb8b7113b524b3 -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-wheel-m780n_4o/llama-cpp-python_55f8846aa8834d99bccb8b7113b524b3/_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-jxqzatr5/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-jxqzatr5/overlay/lib/python3.9/site-packages/ninja/data/bin/ninja -DCMAKE_BUILD_TYPE:STRING=Release 2023-03-24T04:13:52,821 -- The C compiler identification is GNU 10.2.1 2023-03-24T04:13:53,216 -- The CXX compiler identification is GNU 10.2.1 2023-03-24T04:13:53,266 -- Detecting C compiler ABI info 2023-03-24T04:13:53,577 -- Detecting C compiler ABI info - done 2023-03-24T04:13:53,616 -- Check for working C compiler: /usr/bin/cc - skipped 2023-03-24T04:13:53,618 -- Detecting C compile features 2023-03-24T04:13:53,620 -- Detecting C compile features - done 2023-03-24T04:13:53,642 -- Detecting CXX compiler ABI info 2023-03-24T04:13:54,009 -- Detecting CXX compiler ABI info - done 2023-03-24T04:13:54,050 -- Check for working CXX compiler: /usr/bin/c++ - skipped 2023-03-24T04:13:54,051 -- Detecting CXX compile features 2023-03-24T04:13:54,054 -- Detecting CXX compile features - done 2023-03-24T04:13:54,075 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD 2023-03-24T04:13:54,416 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed 2023-03-24T04:13:54,416 -- Check if compiler accepts -pthread 2023-03-24T04:13:54,754 -- Check if compiler accepts -pthread - yes 2023-03-24T04:13:54,760 -- Found Threads: TRUE 2023-03-24T04:13:54,761 -- CMAKE_SYSTEM_PROCESSOR: armv7l 2023-03-24T04:13:54,761 -- ARM detected 2023-03-24T04:13:54,764 -- Configuring done (2.2s) 2023-03-24T04:13:54,810 -- Generating done (0.0s) 2023-03-24T04:13:54,836 CMake Warning: 2023-03-24T04:13:54,836 Manually-specified variables were not used by the project: 2023-03-24T04:13:54,836 PYTHON_EXECUTABLE 2023-03-24T04:13:54,836 PYTHON_INCLUDE_DIR 2023-03-24T04:13:54,836 PYTHON_LIBRARY 2023-03-24T04:13:54,837 PYTHON_VERSION_STRING 2023-03-24T04:13:54,837 Python3_EXECUTABLE 2023-03-24T04:13:54,837 Python3_FIND_REGISTRY 2023-03-24T04:13:54,837 Python3_INCLUDE_DIR 2023-03-24T04:13:54,837 Python3_ROOT_DIR 2023-03-24T04:13:54,837 Python_EXECUTABLE 2023-03-24T04:13:54,837 Python_FIND_REGISTRY 2023-03-24T04:13:54,838 Python_INCLUDE_DIR 2023-03-24T04:13:54,838 Python_ROOT_DIR 2023-03-24T04:13:54,838 SKBUILD 2023-03-24T04:13:54,840 -- Build files have been written to: /tmp/pip-wheel-m780n_4o/llama-cpp-python_55f8846aa8834d99bccb8b7113b524b3/_skbuild/linux-armv7l-3.9/cmake-build 2023-03-24T04:13:55,122 [1/9] Building C object vendor/llama.cpp/CMakeFiles/ggml.dir/ggml.c.o 2023-03-24T04:13:55,122 FAILED: vendor/llama.cpp/CMakeFiles/ggml.dir/ggml.c.o 2023-03-24T04:13:55,122 /usr/bin/cc -I/tmp/pip-wheel-m780n_4o/llama-cpp-python_55f8846aa8834d99bccb8b7113b524b3/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-m780n_4o/llama-cpp-python_55f8846aa8834d99bccb8b7113b524b3/vendor/llama.cpp/ggml.c 2023-03-24T04:13:55,123 /tmp/pip-wheel-m780n_4o/llama-cpp-python_55f8846aa8834d99bccb8b7113b524b3/vendor/llama.cpp/ggml.c:158:10: fatal error: immintrin.h: No such file or directory 2023-03-24T04:13:55,123 158 | #include 2023-03-24T04:13:55,123 | ^~~~~~~~~~~~~ 2023-03-24T04:13:55,123 compilation terminated. 2023-03-24T04:13:55,974 [2/9] Building CXX object vendor/llama.cpp/CMakeFiles/quantize.dir/quantize.cpp.o 2023-03-24T04:13:59,422 [3/9] Building CXX object vendor/llama.cpp/CMakeFiles/utils.dir/utils.cpp.o 2023-03-24T04:13:59,780 [4/9] Building CXX object vendor/llama.cpp/CMakeFiles/main.dir/main.cpp.o 2023-03-24T04:14:17,105 [5/9] Building CXX object vendor/llama.cpp/CMakeFiles/llama.dir/llama.cpp.o 2023-03-24T04:14:17,105 /tmp/pip-wheel-m780n_4o/llama-cpp-python_55f8846aa8834d99bccb8b7113b524b3/vendor/llama.cpp/llama.cpp: In function ‘bool llama_model_quantize_internal(const string&, const string&, int, int)’: 2023-03-24T04:14:17,105 /tmp/pip-wheel-m780n_4o/llama-cpp-python_55f8846aa8834d99bccb8b7113b524b3/vendor/llama.cpp/llama.cpp:1216:24: warning: cast from type ‘const char*’ to type ‘char*’ casts away qualifiers [-Wcast-qual] 2023-03-24T04:14:17,106 1216 | finp.read ((char *) word.data(), len); 2023-03-24T04:14:17,106 | ^~~~~~~~~~~~~~~~~~~~ 2023-03-24T04:14:17,106 /tmp/pip-wheel-m780n_4o/llama-cpp-python_55f8846aa8834d99bccb8b7113b524b3/vendor/llama.cpp/llama.cpp:1217:24: warning: cast from type ‘const char*’ to type ‘char*’ casts away qualifiers [-Wcast-qual] 2023-03-24T04:14:17,106 1217 | fout.write((char *) word.data(), len); 2023-03-24T04:14:17,107 | ^~~~~~~~~~~~~~~~~~~~ 2023-03-24T04:14:17,107 In file included from /usr/include/c++/10/vector:72, 2023-03-24T04:14:17,107 from /usr/include/c++/10/bits/random.h:34, 2023-03-24T04:14:17,107 from /usr/include/c++/10/random:49, 2023-03-24T04:14:17,107 from /tmp/pip-wheel-m780n_4o/llama-cpp-python_55f8846aa8834d99bccb8b7113b524b3/vendor/llama.cpp/llama.cpp:7: 2023-03-24T04:14:17,107 /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-24T04:14:17,108 /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-24T04:14:17,108 426 | vector<_Tp, _Alloc>:: 2023-03-24T04:14:17,108 | ^~~~~~~~~~~~~~~~~~~ 2023-03-24T04:14:17,108 In file included from /usr/include/c++/10/vector:67, 2023-03-24T04:14:17,108 from /usr/include/c++/10/bits/random.h:34, 2023-03-24T04:14:17,108 from /usr/include/c++/10/random:49, 2023-03-24T04:14:17,108 from /tmp/pip-wheel-m780n_4o/llama-cpp-python_55f8846aa8834d99bccb8b7113b524b3/vendor/llama.cpp/llama.cpp:7: 2023-03-24T04:14:17,109 /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-24T04:14:17,109 /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-24T04:14:17,109 1198 | _M_realloc_insert(end(), __x); 2023-03-24T04:14:17,109 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2023-03-24T04:14:17,109 /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-24T04:14:17,109 1198 | _M_realloc_insert(end(), __x); 2023-03-24T04:14:17,109 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2023-03-24T04:14:17,110 /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-24T04:14:17,110 /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-24T04:14:17,110 1198 | _M_realloc_insert(end(), __x); 2023-03-24T04:14:17,110 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2023-03-24T04:14:17,110 ninja: build stopped: subcommand failed. 2023-03-24T04:14:17,110 Traceback (most recent call last): 2023-03-24T04:14:17,113 File "/tmp/pip-build-env-jxqzatr5/overlay/lib/python3.9/site-packages/skbuild/setuptools_wrap.py", line 642, in setup 2023-03-24T04:14:17,114 cmkr.make(make_args, install_target=cmake_install_target, env=env) 2023-03-24T04:14:17,114 File "/tmp/pip-build-env-jxqzatr5/overlay/lib/python3.9/site-packages/skbuild/cmaker.py", line 679, in make 2023-03-24T04:14:17,114 self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env) 2023-03-24T04:14:17,114 File "/tmp/pip-build-env-jxqzatr5/overlay/lib/python3.9/site-packages/skbuild/cmaker.py", line 710, in make_impl 2023-03-24T04:14:17,114 raise SKBuildError( 2023-03-24T04:14:17,115 An error occurred while building with CMake. 2023-03-24T04:14:17,116 Command: 2023-03-24T04:14:17,116 /tmp/pip-build-env-jxqzatr5/overlay/lib/python3.9/site-packages/cmake/data/bin/cmake --build . --target install --config Release -- 2023-03-24T04:14:17,116 Install target: 2023-03-24T04:14:17,116 install 2023-03-24T04:14:17,116 Source directory: 2023-03-24T04:14:17,116 /tmp/pip-wheel-m780n_4o/llama-cpp-python_55f8846aa8834d99bccb8b7113b524b3 2023-03-24T04:14:17,116 Working directory: 2023-03-24T04:14:17,117 /tmp/pip-wheel-m780n_4o/llama-cpp-python_55f8846aa8834d99bccb8b7113b524b3/_skbuild/linux-armv7l-3.9/cmake-build 2023-03-24T04:14:17,117 Please check the install target is valid and see CMake's output for more information. 2023-03-24T04:14:17,196 ERROR: [present-rich] Building wheel for llama-cpp-python (pyproject.toml) exited with 1 2023-03-24T04:14:17,215 [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/tmp37kpn3w3[/] 2023-03-24T04:14:17,215 [bold magenta]cwd[/]: /tmp/pip-wheel-m780n_4o/llama-cpp-python_55f8846aa8834d99bccb8b7113b524b3 2023-03-24T04:14:17,215 Building wheel for llama-cpp-python (pyproject.toml): finished with status 'error' 2023-03-24T04:14:17,217 ERROR: Failed building wheel for llama-cpp-python 2023-03-24T04:14:17,220 Failed to build llama-cpp-python 2023-03-24T04:14:17,221 ERROR: Failed to build one or more wheels 2023-03-24T04:14:17,222 Exception information: 2023-03-24T04:14:17,222 Traceback (most recent call last): 2023-03-24T04:14:17,222 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper 2023-03-24T04:14:17,222 status = run_func(*args) 2023-03-24T04:14:17,222 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/req_command.py", line 247, in wrapper 2023-03-24T04:14:17,222 return func(self, options, args) 2023-03-24T04:14:17,222 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/commands/wheel.py", line 201, in run 2023-03-24T04:14:17,222 raise CommandError("Failed to build one or more wheels") 2023-03-24T04:14:17,222 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-03-24T04:14:17,224 Removed build tracker: '/tmp/pip-build-tracker-ubg4paiu'