local-ai: 2.24.2 -> 2.25.0 (#372926)
This commit is contained in:
@@ -44,6 +44,8 @@
|
||||
ocl-icd,
|
||||
opencl-headers,
|
||||
|
||||
with_vulkan ? false,
|
||||
|
||||
with_tinydream ? false, # do not compile with cublas
|
||||
ncnn,
|
||||
|
||||
@@ -65,6 +67,7 @@ let
|
||||
with_openblas
|
||||
with_cublas
|
||||
with_clblas
|
||||
with_vulkan
|
||||
]) <= 1;
|
||||
if with_openblas then
|
||||
"openblas"
|
||||
@@ -138,6 +141,7 @@ let
|
||||
openclSupport = false;
|
||||
blasSupport = false;
|
||||
rpcSupport = true;
|
||||
vulkanSupport = false;
|
||||
};
|
||||
|
||||
llama-cpp-grpc =
|
||||
@@ -147,8 +151,8 @@ let
|
||||
src = fetchFromGitHub {
|
||||
owner = "ggerganov";
|
||||
repo = "llama.cpp";
|
||||
rev = "26a8406ba9198eb6fdd8329fa717555b4f77f05f";
|
||||
hash = "sha256-WFkg4ZhL5x55JdeFmAGBFKjWd31XyfGPtQkn+9b7GF4=";
|
||||
rev = "ba8a1f9c5b675459c55a83e3f97f10df3a66c788";
|
||||
hash = "sha256-YunQh1760AcknBFwHc6uMZJ7V4OzEAKiwB9HBH1n4bc=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
postPatch =
|
||||
@@ -185,6 +189,7 @@ let
|
||||
rocmSupport = false;
|
||||
openclSupport = with_clblas;
|
||||
blasSupport = with_openblas;
|
||||
vulkanSupport = with_vulkan;
|
||||
};
|
||||
|
||||
espeak-ng' = espeak-ng.overrideAttrs (self: {
|
||||
@@ -404,8 +409,8 @@ let
|
||||
src = fetchFromGitHub {
|
||||
owner = "leejet";
|
||||
repo = "stable-diffusion.cpp";
|
||||
rev = "4570715727f35e5a07a76796d823824c8f42206c";
|
||||
hash = "sha256-1w7OokrQflasvauDEADLDJf2530m5a7WP+X1KgwxCks=";
|
||||
rev = "dcf91f9e0f2cbf9da472ee2a556751ed4bab2d2a";
|
||||
hash = "sha256-NHIjLZNfx9G6olp0VWBthuf7jIQC/qVRw6q9A6H866E=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
installPhase = ''
|
||||
@@ -433,12 +438,12 @@ let
|
||||
stdenv;
|
||||
|
||||
pname = "local-ai";
|
||||
version = "2.24.2";
|
||||
version = "2.25.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "go-skynet";
|
||||
repo = "LocalAI";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-nJYeNwx6G3WhrTZYi1yoPzYtofx1H7bTkK0T9ld5wcE=";
|
||||
hash = "sha256-y0Pj74A2t5DpfI/tCEnV/w2zHLDZzXLJtgFLgng4MFw=";
|
||||
};
|
||||
|
||||
prepare-sources =
|
||||
@@ -462,7 +467,7 @@ let
|
||||
self = buildGo123Module.override { stdenv = effectiveStdenv; } {
|
||||
inherit pname version src;
|
||||
|
||||
vendorHash = "sha256-QmOoICJ11SY8xXE0g1+1mWRUZ3kQPtCcpM6aZiBkHQ0=";
|
||||
vendorHash = "sha256-5xWrPsQwmGIA2k8OFR9OH3BeCUvLETygViWEOIRgjB0=";
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString with_stablediffusion " -isystem ${opencv}/include/opencv4";
|
||||
|
||||
@@ -626,6 +631,7 @@ let
|
||||
inherit
|
||||
with_cublas
|
||||
with_openblas
|
||||
with_vulkan
|
||||
with_tts
|
||||
with_stablediffusion
|
||||
with_tinydream
|
||||
|
||||
Reference in New Issue
Block a user