Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #0 7.160 × Building wheel for llama-cpp-python (pyproject.toml) did not run successfully.
- #0 7.160 │ exit code: 1
- #0 7.160 ╰─> [108 lines of output]
- #0 7.160
- #0 7.160
- #0 7.160 --------------------------------------------------------------------------------
- #0 7.160 -- Trying 'Ninja' generator
- #0 7.160 --------------------------------
- #0 7.160 ---------------------------
- #0 7.160 ----------------------
- #0 7.160 -----------------
- #0 7.160 ------------
- #0 7.160 -------
- #0 7.160 --
- #0 7.160 Not searching for unused variables given on the command line.
- #0 7.160 -- The C compiler identification is GNU 11.3.0
- #0 7.160 -- Detecting C compiler ABI info
- #0 7.160 -- Detecting C compiler ABI info - done
- #0 7.160 -- Check for working C compiler: /usr/bin/cc - skipped
- #0 7.160 -- Detecting C compile features
- #0 7.160 -- Detecting C compile features - done
- #0 7.160 -- The CXX compiler identification is GNU 11.3.0
- #0 7.160 -- Detecting CXX compiler ABI info
- #0 7.160 -- Detecting CXX compiler ABI info - done
- #0 7.160 -- Check for working CXX compiler: /usr/bin/c++ - skipped
- #0 7.160 -- Detecting CXX compile features
- #0 7.160 -- Detecting CXX compile features - done
- #0 7.160 -- Configuring done (0.2s)
- #0 7.160 -- Generating done (0.0s)
- #0 7.160 -- Build files have been written to: /tmp/pip-install-miiw0h6r/llama-cpp-python_ff4becb16e044f0db17bec826aea220f/_cmake_test_compile/build
- #0 7.160 --
- #0 7.160 -------
- #0 7.160 ------------
- #0 7.160 -----------------
- #0 7.160 ----------------------
- #0 7.160 ---------------------------
- #0 7.160 --------------------------------
- #0 7.160 -- Trying 'Ninja' generator - success
- #0 7.160 --------------------------------------------------------------------------------
- #0 7.160
- #0 7.160 Configuring Project
- #0 7.160 Working directory:
- #0 7.160 /tmp/pip-install-miiw0h6r/llama-cpp-python_ff4becb16e044f0db17bec826aea220f/_skbuild/linux-x86_64-3.10/cmake-build
- #0 7.160 Command:
- #0 7.160 /tmp/pip-build-env-n1zspwcj/overlay/lib/python3.10/site-packages/cmake/data/bin/cmake /tmp/pip-install-miiw0h6r/llama-cpp-python_ff4becb16e044f0db17bec826aea220f -G Ninja -DCMAKE_MAKE_PROGRAM:FILEPATH=/tmp/pip-build-env-n1zspwcj/overlay/lib/python3.10/site-packages/ninja/data/bin/ninja --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-install-miiw0h6r/llama-cpp-python_ff4becb16e044f0db17bec826aea220f/_skbuild/linux-x86_64-3.10/cmake-install -DPYTHON_VERSION_STRING:STRING=3.10.9 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-n1zspwcj/overlay/lib/python3.10/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/opt/conda/envs/textgen/bin/python -DPYTHON_INCLUDE_DIR:PATH=/opt/conda/envs/textgen/include/python3.10 -DPYTHON_LIBRARY:PATH=/opt/conda/envs/textgen/lib/libpython3.10.so -DPython_EXECUTABLE:PATH=/opt/conda/envs/textgen/bin/python -DPython_ROOT_DIR:PATH=/opt/conda/envs/textgen -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/opt/conda/envs/textgen/include/python3.10 -DPython3_EXECUTABLE:PATH=/opt/conda/envs/textgen/bin/python -DPython3_ROOT_DIR:PATH=/opt/conda/envs/textgen -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/opt/conda/envs/textgen/include/python3.10 -DCMAKE_MAKE_PROGRAM:FILEPATH=/tmp/pip-build-env-n1zspwcj/overlay/lib/python3.10/site-packages/ninja/data/bin/ninja -DLLAMA_CUBLAS=on -DCMAKE_BUILD_TYPE:STRING=Release -DLLAMA_CUBLAS=on
- #0 7.160
- #0 7.160 Not searching for unused variables given on the command line.
- #0 7.160 -- The C compiler identification is GNU 11.3.0
- #0 7.160 -- The CXX compiler identification is GNU 11.3.0
- #0 7.160 -- Detecting C compiler ABI info
- #0 7.160 -- Detecting C compiler ABI info - done
- #0 7.160 -- Check for working C compiler: /usr/bin/cc - skipped
- #0 7.160 -- Detecting C compile features
- #0 7.160 -- Detecting C compile features - done
- #0 7.160 -- Detecting CXX compiler ABI info
- #0 7.160 -- Detecting CXX compiler ABI info - done
- #0 7.160 -- Check for working CXX compiler: /usr/bin/c++ - skipped
- #0 7.160 -- Detecting CXX compile features
- #0 7.160 -- Detecting CXX compile features - done
- #0 7.160 -- Found Git: /usr/bin/git (found version "2.34.1")
- #0 7.160 fatal: not a git repository (or any of the parent directories): .git
- #0 7.160 fatal: not a git repository (or any of the parent directories): .git
- #0 7.160 CMake Warning at vendor/llama.cpp/CMakeLists.txt:113 (message):
- #0 7.160 Git repository not found; to enable automatic generation of build info,
- #0 7.160 make sure Git is installed and the project is a Git repository.
- #0 7.160
- #0 7.160
- #0 7.160 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
- #0 7.160 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
- #0 7.160 -- Found Threads: TRUE
- #0 7.160 -- Found CUDAToolkit: /usr/local/cuda/include (found version "11.8.89")
- #0 7.160 -- cuBLAS found
- #0 7.160 -- The CUDA compiler identification is NVIDIA 11.8.89
- #0 7.160 -- Detecting CUDA compiler ABI info
- #0 7.160 -- Detecting CUDA compiler ABI info - done
- #0 7.160 -- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc - skipped
- #0 7.160 -- Detecting CUDA compile features
- #0 7.160 -- Detecting CUDA compile features - done
- #0 7.160 -- CMAKE_SYSTEM_PROCESSOR: x86_64
- #0 7.160 -- x86 detected
- #0 7.160 -- GGML CUDA sources found, configuring CUDA architecture
- #0 7.160 -- Configuring done (1.8s)
- #0 7.160 CMake Error in vendor/llama.cpp/CMakeLists.txt:
- #0 7.160 CUDA_ARCHITECTURES is set to "native", but no GPU was detected.
- #0 7.160
- #0 7.160
- #0 7.160 CMake Error in vendor/llama.cpp/CMakeLists.txt:
- #0 7.160 CUDA_ARCHITECTURES is set to "native", but no GPU was detected.
- #0 7.160
- #0 7.160
- #0 7.160 CMake Error in vendor/llama.cpp/CMakeLists.txt:
- #0 7.160 CUDA_ARCHITECTURES is set to "native", but no GPU was detected.
- #0 7.160
- #0 7.160
- #0 7.160 -- Generating done (0.0s)
- #0 7.160 CMake Generate step failed. Build files cannot be regenerated correctly.
- #0 7.160 Traceback (most recent call last):
- #0 7.160 File "/tmp/pip-build-env-n1zspwcj/overlay/lib/python3.10/site-packages/skbuild/setuptools_wrap.py", line 666, in setup
- #0 7.160 env = cmkr.configure(
- #0 7.160 File "/tmp/pip-build-env-n1zspwcj/overlay/lib/python3.10/site-packages/skbuild/cmaker.py", line 357, in configure
- #0 7.160 raise SKBuildError(msg)
- #0 7.160
- #0 7.160 An error occurred while configuring with CMake.
- #0 7.160 Command:
- #0 7.160 /tmp/pip-build-env-n1zspwcj/overlay/lib/python3.10/site-packages/cmake/data/bin/cmake /tmp/pip-install-miiw0h6r/llama-cpp-python_ff4becb16e044f0db17bec826aea220f -G Ninja -DCMAKE_MAKE_PROGRAM:FILEPATH=/tmp/pip-build-env-n1zspwcj/overlay/lib/python3.10/site-packages/ninja/data/bin/ninja --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-install-miiw0h6r/llama-cpp-python_ff4becb16e044f0db17bec826aea220f/_skbuild/linux-x86_64-3.10/cmake-install -DPYTHON_VERSION_STRING:STRING=3.10.9 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-n1zspwcj/overlay/lib/python3.10/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/opt/conda/envs/textgen/bin/python -DPYTHON_INCLUDE_DIR:PATH=/opt/conda/envs/textgen/include/python3.10 -DPYTHON_LIBRARY:PATH=/opt/conda/envs/textgen/lib/libpython3.10.so -DPython_EXECUTABLE:PATH=/opt/conda/envs/textgen/bin/python -DPython_ROOT_DIR:PATH=/opt/conda/envs/textgen -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/opt/conda/envs/textgen/include/python3.10 -DPython3_EXECUTABLE:PATH=/opt/conda/envs/textgen/bin/python -DPython3_ROOT_DIR:PATH=/opt/conda/envs/textgen -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/opt/conda/envs/textgen/include/python3.10 -DCMAKE_MAKE_PROGRAM:FILEPATH=/tmp/pip-build-env-n1zspwcj/overlay/lib/python3.10/site-packages/ninja/data/bin/ninja -DLLAMA_CUBLAS=on -DCMAKE_BUILD_TYPE:STRING=Release -DLLAMA_CUBLAS=on
- #0 7.160 Source directory:
- #0 7.160 /tmp/pip-install-miiw0h6r/llama-cpp-python_ff4becb16e044f0db17bec826aea220f
- #0 7.160 Working directory:
- #0 7.160 /tmp/pip-install-miiw0h6r/llama-cpp-python_ff4becb16e044f0db17bec826aea220f/_skbuild/linux-x86_64-3.10/cmake-build
- #0 7.160 Please see CMake's output for more information.
- #0 7.160
- #0 7.160 [end of output]
- #0 7.160
- #0 7.160 note: This error originates from a subprocess, and is likely not a problem with pip.
- #0 7.160 ERROR: Failed building wheel for llama-cpp-python
- #0 7.160 ERROR: Could not build wheels for llama-cpp-python, which is required to install pyproject.toml-based projects
- #0 7.160
- #0 7.160 Found existing installation: llama-cpp-python 0.1.64
- #0 7.160 Uninstalling llama-cpp-python-0.1.64:
- #0 7.160 Successfully uninstalled llama-cpp-python-0.1.64
- #0 7.160 Collecting llama-cpp-python
- #0 7.160 Downloading llama_cpp_python-0.1.65.tar.gz (1.5 MB)
- #0 7.160 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 18.5 MB/s eta 0:00:00
- #0 7.160 Installing build dependencies: started
- #0 7.160 Installing build dependencies: finished with status 'done'
- #0 7.160 Getting requirements to build wheel: started
- #0 7.160 Getting requirements to build wheel: finished with status 'done'
- #0 7.160 Preparing metadata (pyproject.toml): started
- #0 7.160 Preparing metadata (pyproject.toml): finished with status 'done'
- #0 7.160 Requirement already satisfied: typing-extensions>=4.5.0 in /opt/conda/envs/textgen/lib/python3.10/site-packages (from llama-cpp-python) (4.6.3)
- #0 7.160 Requirement already satisfied: numpy>=1.20.0 in /opt/conda/envs/textgen/lib/python3.10/site-packages (from llama-cpp-python) (1.24.1)
- #0 7.160 Requirement already satisfied: diskcache>=5.6.1 in /opt/conda/envs/textgen/lib/python3.10/site-packages (from llama-cpp-python) (5.6.1)
- #0 7.160 Building wheels for collected packages: llama-cpp-python
- #0 7.160 Building wheel for llama-cpp-python (pyproject.toml): started
- #0 7.160 Building wheel for llama-cpp-python (pyproject.toml): finished with status 'error'
- #0 7.160 Failed to build llama-cpp-python
Advertisement
Add Comment
Please, Sign In to add comment