abetlen / abetlen/llama-cpp-python

Installing Llama cpp python on Debian with no git installed throws an error

Đang mở
#1,924 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
10.6k
Fork
1.4k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

Prior to version 0.3.7 I had no issues installing llama cpp python on my embedded single board computer which is running debian. Git is not installed on the image I'm using. When I run `pip install llama-cpp-python==0.3.6 --break-system-packages` everything works fine, but when I try to install the latest version I get the following error.

-- Adding CPU backend variant ggml-cpu: -mcpu=cortex-a76.cortex-a55+crypto+dotprod+noi8mm+nosve
CMake Error at vendor/llama.cpp/ggml/CMakeLists.txt:277 (find_program):
Could not find GIT_EXE using the following names: git, git.exe


-- Configuring incomplete, errors occurred!

*** CMake configuration failed

After installing git the issue is fixed. It's an easy fix so it's not a big deal, but I would rather not install unnecessary dependencies on my lightweight image, and am also wondering why this changed.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.