Change:
Package name: local-ai Latest released version: 2.16.0 <!-- Search your package here: --- Current version on the unstable channel: Current version on the stable/release channel: <!-- Type the name of your package and try to find an open pull request for the package If you find an open pull request, you can review it! There's a high chance that you'll have the new version right away while helping the community! --- On nixos-unstable, I currently have with so I thought I would try an update even though it's probably going to change nothing. Notify maintainers I was wondering if you had a script to update pkgs/by-name/lo/local- ? I've started doing it manually but it's annoying. Might be worth adding one, would you accept one ? Note for maintainers: Please tag this issue in your PR. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:

Discussion:
''; }; <ins> llama-cpp-rpc = (llama-cpp-grpc.overrideAttrs (prev: { name = "llama-cpp-rpc"; cmakeFlags = prev.cmakeFlags ++ [ (lib.cmakeBool "LLAMA_AVX" false) (lib.cmakeBool "LLAMA_AVX2" false) (lib.cmakeBool "LLAMA_AVX512" false) (lib.cmakeBool "LLAMA_FMA" false) (lib.cmakeBool "LLAMA_F16C" false) (lib.cmakeBool "LLAMA_RPC" true) ]; postPatch = prev.postPatch + '' sed -i examples/rpc/CMakeLists.txt  -e '$ainstall(TARGETS rpc-server RUNTIME)' ''; })).override { cudaSupport = false; openclSupport = false; blasSupport = true; # TODO: set to false, when dropping 23.11 support }; </ins> llama-cpp-grpc = (llama-cpp.overrideAttrs (final: prev: { name = "llama-cpp-grpc"; src = fetchFromGitHub { owner = "ggerganov"; repo = "llama.cpp"; <del> rev = "c12452c7aec8a02264afc00196a13caa591a13ac"; hash = "sha256-Kji8dlz7OfhPeNXnYgBHzpGGMhCsRLJ9d+EFf77Q6Co="; </del> <ins> rev = "74f33adf5f8b20b08fc5a6aa17ce081abe86ef2f"; hash = "sha256-hSdHhsC5Q8pLEC2bj8Gke4/ffCts5l7LtYa9RDrpGBI="; </ins> fetchSubmodules = true; }; postPatch = prev.postPatch + ''

src = fetchFromGitHub { owner = "ggerganov"; repo = "whisper.cpp"; <del> rev = "73d13ad19a8c9c4da4f405088a85169b1a171e66"; hash = "sha256-7g/J3a3behGgcJXy9ryAYXxgOYnsRMlGmux13re28AY="; </del> <ins> rev = "22d46b7ba4620e2db1281e210d0186863cffcec0"; hash = "sha256-JC3GHRBjFvfQSUWRdAcMc0pol54RsqUF1+zIZYAsbC4="; </ins> }; nativeBuildInputs = [ cmake pkg-config ]

src = fetchFromGitHub { owner = "go-skynet"; repo = "go-bert.cpp"; <del> rev = "6abe312cded14042f6b7c3cd8edf082713334a4d"; hash = "sha256-lh9cvXc032Eq31kysxFOkRd0zPjsCznRl0tzg9P2ygo="; </del> <ins> rev = "710044b124545415f555e4260d16b146c725a6e4"; hash = "sha256-UNrs3unYjvSzCVaVISFFBDD+s37lmN6/7ajmGNcYgrU="; </ins> fetchSubmodules = true; }; buildFlags = [ "libgobert.a" ];

stdenv; pname = "local-ai"; <del> version = "2.15.0"; </del> <ins> version = "2.16.0"; </ins> src = fetchFromGitHub { owner = "go-skynet"; repo = "LocalAI"; rev = "v${version}"; <del> hash = "sha256-AjNgfZjVxlw0LtPbUTbJuLcUfqJdPzn6vOmUDz/v7Jc="; </del> <ins> hash = "sha256-3SfU68wGyYIX0haKfuHGKHhthuDSeSdr18ReDkFzhH0="; </ins> }; self = buildGoModule.override { stdenv = effectiveStdenv; } { inherit pname version src; <del> vendorHash = "sha256-+ZPZkOpaTsKrL2HDOEtAr8sT6uqTiQXo/XS+MBNZq5E="; </del> <ins> vendorHash = "sha256-UjqEsgRZ+xv4Thwh4u3juvg3JI3+RdGyCZlsk7ddgTU="; </ins> env.NIX_CFLAGS_COMPILE = lib.optionalString with_stablediffusion " -isystem ${opencv}/include/opencv4";

-e 's;git clone.*go-tiny-dream$;${cp} ${if with_tinydream then go-tiny-dream else go-tiny-dream.src} sources/go-tiny-dream;'  -e 's, && git checkout.*,,g'  -e '/mod download/ d'  <del> -e '/^ALL_GRPC_BACKENDS+=backend-assets/grpc/llama-cpp-/ d'  </del> <ins> -e '/^ALL_GRPC_BACKENDS+=backend-assets/grpc/llama-cpp-fallback/ d'  -e '/^ALL_GRPC_BACKENDS+=backend-assets/grpc/llama-cpp-avx/ d'  -e '/^ALL_GRPC_BACKENDS+=backend-assets/grpc/llama-cpp-cuda/ d'  </ins> ''; postConfigure = '' <ins> shopt -s extglob </ins> mkdir -p backend-assets/grpc <del> cp ${llama-cpp-grpc}/bin/*grpc-server backend-assets/grpc/llama-cpp </del> <ins> cp ${llama-cpp-grpc}/bin/?(llama-cpp-)grpc-server backend-assets/grpc/llama-cpp-avx2 cp ${llama-cpp-rpc}/bin/?(llama-cpp-)grpc-server backend-assets/grpc/llama-cpp-grpc mkdir -p backend-assets/util cp ${llama-cpp-rpc}/bin/?(llama-cpp-)rpc-server backend-assets/util/llama-cpp-rpc-server </ins> ''; buildInputs = [ ]

inherit go-tiny-dream go-rwkv go-bert go-llama gpt4all go-piper llama-cpp-grpc whisper-cpp go-tiny-dream-ncnn espeak-ng' piper-phonemize <del> piper-tts'; </del> <ins> piper-tts' llama-cpp-rpc; </ins> }; passthru.features = {