mirror of
https://github.com/serge-chat/serge.git
synced 2024-01-15 09:32:12 +03:00
Fix llama-cpp-python build for Apple Silicon (#763)
* Fix llama-cpp-python build for Apple Silicon * Make ShellCheck happy * Make gaby happy --------- Co-authored-by: Juan Calderon-Perez <835733+gaby@users.noreply.github.com>
This commit is contained in:
@@ -10,7 +10,7 @@ _term() {
|
||||
}
|
||||
|
||||
# Install python bindings
|
||||
pip install llama-cpp-python==0.1.78 || {
|
||||
UNAME_M=$(dpkg --print-architecture) pip install llama-cpp-python==0.1.78 || {
|
||||
echo 'Failed to install llama-cpp-python'
|
||||
exit 1
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ pip install -e ./api || {
|
||||
}
|
||||
|
||||
# Install python bindings
|
||||
pip install llama-cpp-python==0.1.78 || {
|
||||
UNAME_M=$(dpkg --print-architecture) pip install llama-cpp-python==0.1.78 || {
|
||||
echo 'Failed to install llama-cpp-python'
|
||||
exit 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user