mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-06 02:45:00 +00:00
Merge branch 'master' into chore/ubuntu-24.04
Some checks failed
Security Scan / tests (push) Has been cancelled
Some checks failed
Security Scan / tests (push) Has been cancelled
This commit is contained in:
commit
e95df6bc52
15 changed files with 17 additions and 34 deletions
4
.github/workflows/notify-models.yaml
vendored
4
.github/workflows/notify-models.yaml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
|||
with:
|
||||
model: 'gemma-3-12b-it' # Any from models.localai.io, or from huggingface.com with: "huggingface://<repository>/file"
|
||||
# Check the PR diff using the current branch and the base branch of the PR
|
||||
- uses: GrantBirki/git-diff-action@v2.8.0
|
||||
- uses: GrantBirki/git-diff-action@v2.8.1
|
||||
id: git-diff-action
|
||||
with:
|
||||
json_diff_file_output: diff.json
|
||||
|
@ -99,7 +99,7 @@ jobs:
|
|||
docker run -e -ti -d --name local-ai -p 8080:8080 localai/localai:master-ffmpeg-core run --debug $MODEL_NAME
|
||||
until [ "`docker inspect -f {{.State.Health.Status}} local-ai`" == "healthy" ]; do echo "Waiting for container to be ready"; docker logs --tail 10 local-ai; sleep 2; done
|
||||
# Check the PR diff using the current branch and the base branch of the PR
|
||||
- uses: GrantBirki/git-diff-action@v2.8.0
|
||||
- uses: GrantBirki/git-diff-action@v2.8.1
|
||||
id: git-diff-action
|
||||
with:
|
||||
json_diff_file_output: diff.json
|
||||
|
|
|
@ -436,7 +436,7 @@ RUN if [[ ( "${EXTRA_BACKENDS}" =~ "coqui" || -z "${EXTRA_BACKENDS}" ) && "$IMAG
|
|||
if [[ ( "${EXTRA_BACKENDS}" =~ "diffusers" || -z "${EXTRA_BACKENDS}" ) && "$IMAGE_TYPE" == "extras" ]]; then \
|
||||
make -C backend/python/diffusers \
|
||||
; fi && \
|
||||
if [[ ( "${EXTRA_BACKENDS}" =~ "chatterbox" || -z "${EXTRA_BACKENDS}" ) && "$IMAGE_TYPE" == "extras" && "${BUILD_TYPE}" = "cublas" ]]; then \
|
||||
if [[ ( "${EXTRA_BACKENDS}" =~ "chatterbox" || -z "${EXTRA_BACKENDS}" ) && "$IMAGE_TYPE" == "extras" && "${BUILD_TYPE}" = "cublas" && "${CUDA_MAJOR_VERSION}" = "12" ]]; then \
|
||||
make -C backend/python/chatterbox \
|
||||
; fi
|
||||
|
||||
|
|
4
Makefile
4
Makefile
|
@ -6,11 +6,11 @@ BINARY_NAME=local-ai
|
|||
DETECT_LIBS?=true
|
||||
|
||||
# llama.cpp versions
|
||||
CPPLLAMA_VERSION?=e562eece7cb476276bfc4cbb18deb7c0369b2233
|
||||
CPPLLAMA_VERSION?=7e00e60ef86645a01fda738fef85b74afa016a34
|
||||
|
||||
# whisper.cpp version
|
||||
WHISPER_REPO?=https://github.com/ggml-org/whisper.cpp
|
||||
WHISPER_CPP_VERSION?=7fd6fa809749078aa00edf945e959c898f2bd1af
|
||||
WHISPER_CPP_VERSION?=82f461eaa4e6a1ba29fc0dbdaa415a9934ee8a1d
|
||||
|
||||
# go-piper version
|
||||
PIPER_REPO?=https://github.com/mudler/go-piper
|
||||
|
|
|
@ -1,20 +1,3 @@
|
|||
|
||||
## XXX: In some versions of CMake clip wasn't being built before llama.
|
||||
## This is an hack for now, but it should be fixed in the future.
|
||||
# set(TARGET myclip)
|
||||
# add_library(${TARGET} clip.cpp clip.h clip-impl.h llava.cpp llava.h)
|
||||
# install(TARGETS ${TARGET} LIBRARY)
|
||||
# target_include_directories(myclip PUBLIC .)
|
||||
# target_include_directories(myclip PUBLIC ../..)
|
||||
# target_include_directories(myclip PUBLIC ../../common)
|
||||
# target_link_libraries(${TARGET} PRIVATE common ggml llama ${CMAKE_THREAD_LIBS_INIT})
|
||||
# target_compile_features(${TARGET} PRIVATE cxx_std_11)
|
||||
# if (NOT MSVC)
|
||||
# target_compile_options(${TARGET} PRIVATE -Wno-cast-qual) # stb_image.h
|
||||
# endif()
|
||||
# END CLIP hack
|
||||
|
||||
|
||||
set(TARGET grpc-server)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
cmake_minimum_required(VERSION 3.15)
|
||||
|
@ -79,7 +62,7 @@ add_executable(${TARGET} grpc-server.cpp utils.hpp json.hpp httplib.h)
|
|||
target_include_directories(${TARGET} PRIVATE ../llava)
|
||||
target_include_directories(${TARGET} PRIVATE ${CMAKE_SOURCE_DIR})
|
||||
|
||||
target_link_libraries(${TARGET} PRIVATE common llama mtmd mtmd_helper ${CMAKE_THREAD_LIBS_INIT} absl::flags hw_grpc_proto
|
||||
target_link_libraries(${TARGET} PRIVATE common llama mtmd ${CMAKE_THREAD_LIBS_INIT} absl::flags hw_grpc_proto
|
||||
absl::flags_parse
|
||||
gRPC::${_REFLECTION}
|
||||
gRPC::${_GRPC_GRPCPP}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
bark==0.1.5
|
||||
grpcio==1.72.0
|
||||
grpcio==1.72.1
|
||||
protobuf
|
||||
certifi
|
|
@ -1,4 +1,4 @@
|
|||
grpcio==1.72.0
|
||||
grpcio==1.72.1
|
||||
protobuf
|
||||
certifi
|
||||
packaging
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
grpcio==1.72.0
|
||||
grpcio==1.72.1
|
||||
protobuf
|
||||
grpcio-tools
|
|
@ -1,4 +1,4 @@
|
|||
grpcio==1.72.0
|
||||
grpcio==1.72.1
|
||||
protobuf
|
||||
certifi
|
||||
packaging==24.1
|
|
@ -1,5 +1,5 @@
|
|||
setuptools
|
||||
grpcio==1.72.0
|
||||
grpcio==1.72.1
|
||||
pillow
|
||||
protobuf
|
||||
certifi
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
grpcio==1.72.0
|
||||
grpcio==1.72.1
|
||||
protobuf
|
||||
certifi
|
||||
wheel
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
grpcio==1.72.0
|
||||
grpcio==1.72.1
|
||||
protobuf
|
||||
grpcio-tools
|
|
@ -1,4 +1,4 @@
|
|||
grpcio==1.72.0
|
||||
grpcio==1.72.1
|
||||
protobuf
|
||||
phonemizer
|
||||
scipy
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
grpcio==1.72.0
|
||||
grpcio==1.72.1
|
||||
protobuf
|
||||
certifi
|
|
@ -1,4 +1,4 @@
|
|||
grpcio==1.72.0
|
||||
grpcio==1.72.1
|
||||
protobuf==6.31.0
|
||||
certifi
|
||||
setuptools
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
grpcio==1.72.0
|
||||
grpcio==1.72.1
|
||||
protobuf
|
||||
certifi
|
||||
setuptools
|
Loading…
Add table
Add a link
Reference in a new issue