Merge pull request #299798 from ck3d/localai-2110
local-ai: 2.10.1 -> 2.11.0
This commit is contained in:
commit
af105fd375
1 changed files with 7 additions and 7 deletions
|
@ -92,8 +92,8 @@ let
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ggerganov";
|
owner = "ggerganov";
|
||||||
repo = "llama.cpp";
|
repo = "llama.cpp";
|
||||||
rev = "d01b3c4c32357567f3531d4e6ceffc5d23e87583";
|
rev = "b06c16ef9f81d84da520232c125d4d8a1d273736";
|
||||||
hash = "sha256-7eaQV+XTCXdrJlo7y21q5j/8ecVwuTMJScRTATcF6oM=";
|
hash = "sha256-t1AIx/Ir5RhasjblH4BSpGOXVvO84SJPSqa7rXWj6b4=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
postPatch = prev.postPatch + ''
|
postPatch = prev.postPatch + ''
|
||||||
|
@ -203,8 +203,8 @@ let
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ggerganov";
|
owner = "ggerganov";
|
||||||
repo = "whisper.cpp";
|
repo = "whisper.cpp";
|
||||||
rev = "a56f435fd475afd7edf02bfbf9f8c77f527198c2";
|
rev = "1558ec5a16cb2b2a0bf54815df1d41f83dc3815b";
|
||||||
hash = "sha256-g8ZhVB5sxpfrFzg/0seSrv0vFG0YOP56253n6/KWHfE=";
|
hash = "sha256-UAqWU3kvkHM+fV+T6gFVsAKuOG6N4FoFgTKGUptwjmE=";
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
buildInputs = typedBuiltInputs;
|
buildInputs = typedBuiltInputs;
|
||||||
|
@ -315,18 +315,18 @@ let
|
||||||
stdenv;
|
stdenv;
|
||||||
|
|
||||||
pname = "local-ai";
|
pname = "local-ai";
|
||||||
version = "2.10.1";
|
version = "2.11.0";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "go-skynet";
|
owner = "go-skynet";
|
||||||
repo = "LocalAI";
|
repo = "LocalAI";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-135s1Gw8mfOIx4kXlw2pYrD3ewwajUtnz3sPY/CtoLw=";
|
hash = "sha256-Sqo4NOggUNb1ZemT9TRknBmz8dThe/X43R+4JFfQJ4M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
self = buildGoModule.override { stdenv = effectiveStdenv; } {
|
self = buildGoModule.override { stdenv = effectiveStdenv; } {
|
||||||
inherit pname version src;
|
inherit pname version src;
|
||||||
|
|
||||||
vendorHash = "sha256-UCeG0TKS+VBW8D87VmxTHS2tCAf0ADEYTJayaSiua6s=";
|
vendorHash = "sha256-3bOr8DnAjTzOpVDB5wmlPxECNteWw3tI0yc1f2Wt4y0=";
|
||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = lib.optionalString with_stablediffusion " -isystem ${opencv}/include/opencv4";
|
env.NIX_CFLAGS_COMPILE = lib.optionalString with_stablediffusion " -isystem ${opencv}/include/opencv4";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue