diff options
author | Felix Erkinger | 2023-12-06 02:18:11 +0100 |
---|---|---|
committer | Felix Erkinger | 2023-12-06 02:18:11 +0100 |
commit | 4c6c5a0cf2881759b46119c36fbf2572357d3525 (patch) | |
tree | 5700860f07a9eac79f39f65877ba96e3704ea373 | |
parent | 82b4564c986541f68fe8b68fa7e1f6bfcbd5690d (diff) | |
download | aur-4c6c5a0cf2881759b46119c36fbf2572357d3525.tar.gz |
upgpkg: localai-git v2.0.0.6.g997119c-1
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 9 insertions, 12 deletions
@@ -1,7 +1,7 @@ pkgbase = localai-git pkgdesc = The free, Open Source OpenAI alternative. Self-hosted, community-driven and local-first. - pkgver = v2.0.0_beta.1.g42a80d1 - pkgrel = 2 + pkgver = v2.0.0.6.g997119c + pkgrel = 1 url = https://github.com/mudler/LocalAI arch = x86_64 license = MIT @@ -20,8 +20,6 @@ pkgbase = localai-git provides = localai conflicts = localai source = localai::git+https://github.com/mudler/LocalAI - source = whisper-1.5.1.patch - sha256sums = SKIP sha256sums = SKIP pkgname = localai-git @@ -19,8 +19,8 @@ _pkgname="localai" pkgbase="${_pkgname}-git" pkgname=("${pkgbase}") -pkgver=v2.0.0_beta.1.g42a80d1 -pkgrel=2 +pkgver=v2.0.0.6.g997119c +pkgrel=1 pkgdesc="The free, Open Source OpenAI alternative. Self-hosted, community-driven and local-first." url="https://github.com/mudler/LocalAI" license=('MIT') @@ -71,25 +71,20 @@ fi source=( "${_pkgname}"::"git+https://github.com/mudler/LocalAI" - "whisper-1.5.1.patch" ) sha256sums=( 'SKIP' - 'SKIP' ) pkgver() { cd "${srcdir}/${_pkgname}" - echo "$(git describe --always --tags | tr "-" ".")" + (git describe --always --tags | tr "-" ".") } prepare() { cd "${srcdir}/${_pkgname}" - # update whisper and add gpu support - patch -Np1 -i "${srcdir}/whisper-1.5.1.patch" - # list of backend sources to be recursive git checked out before build() _EXTERNAL_SOURCES="backend/cpp/llama/llama.cpp sources/go-piper sources/whisper.cpp sources/go-bert" # fetch sources for active backends @@ -153,6 +148,10 @@ build() { _package_install() { install -Dm755 "local-ai" "${pkgdir}/usr/bin/local-ai" # sources/go-piper/piper/build/pi/lib/* /usr/lib/ + + # add 1-2 7b high performing models yaml configs based on mistral as gpt-3.5 + # prefer chatml, add example working preload-models.yaml, + install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${_pkgname}" } |