Merge branch 'master' into chore/ubuntu-24.04
Some checks failed
Security Scan / tests (push) Has been cancelled

This commit is contained in:
Ettore Di Giacinto 2025-06-04 08:41:58 +02:00 committed by GitHub
commit e95df6bc52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 17 additions and 34 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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}

View file

@ -1,4 +1,4 @@
bark==0.1.5
grpcio==1.72.0
grpcio==1.72.1
protobuf
certifi

View file

@ -1,4 +1,4 @@
grpcio==1.72.0
grpcio==1.72.1
protobuf
certifi
packaging

View file

@ -1,3 +1,3 @@
grpcio==1.72.0
grpcio==1.72.1
protobuf
grpcio-tools

View file

@ -1,4 +1,4 @@
grpcio==1.72.0
grpcio==1.72.1
protobuf
certifi
packaging==24.1

View file

@ -1,5 +1,5 @@
setuptools
grpcio==1.72.0
grpcio==1.72.1
pillow
protobuf
certifi

View file

@ -1,4 +1,4 @@
grpcio==1.72.0
grpcio==1.72.1
protobuf
certifi
wheel

View file

@ -1,3 +1,3 @@
grpcio==1.72.0
grpcio==1.72.1
protobuf
grpcio-tools

View file

@ -1,4 +1,4 @@
grpcio==1.72.0
grpcio==1.72.1
protobuf
phonemizer
scipy

View file

@ -1,3 +1,3 @@
grpcio==1.72.0
grpcio==1.72.1
protobuf
certifi

View file

@ -1,4 +1,4 @@
grpcio==1.72.0
grpcio==1.72.1
protobuf==6.31.0
certifi
setuptools

View file

@ -1,4 +1,4 @@
grpcio==1.72.0
grpcio==1.72.1
protobuf
certifi
setuptools