Package Details: alpaca.cpp-git 81bd894.r4.a0c74a7-1

Git Clone URL: https://aur.archlinux.org/alpaca.cpp-git.git (read-only, click to copy)
Package Base: alpaca.cpp-git
Description: Locally run an Instruction-Tuned Chat-Style LLM
Upstream URL: https://github.com/antimatter15/alpaca.cpp
Licenses: MIT
Conflicts: alpaca.cpp
Provides: alpaca.cpp
Submitter: robertfoster
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 1
Popularity: 0.000523
First Submitted: 2023-03-27 22:34 (UTC)
Last Updated: 2023-04-17 17:37 (UTC)

Required by (0)

Sources (1)

Latest Comments

niva commented on 2023-04-20 05:22 (UTC) (edited on 2023-04-20 05:39 (UTC) by niva)

Alpaca gives decent answers to a first prompt but always crashes when I write a 2nd:

/usr/include/c++/12.2.1/bits/stl_vector.h:1230: constexpr std::vector<_Tp,_Alloc>::reference std::vector<_Tp, _Alloc>::back() [with_Tp = int;_Alloc = std::allocator<int>; reference = int&]: Assertion '!this->empty()' failed.
zsh: IOT instruction (core dumped)  alpaca.cpp-chat 

I use ggml-alpaca-7b-q4.bin. Does anybody know whats that about?

AsukaMinato commented on 2023-04-17 05:52 (UTC)

You can use namcap to capture the problems.

> namcap alpaca.cpp-git-81bd894.r4.a0c74a7-1-x86_64.pkg.tar.zst 
alpaca.cpp-git E: Missing custom license directory (usr/share/licenses/alpaca.cpp-git)
alpaca.cpp-git E: Dependency glibc detected and not included (libraries ['usr/lib/libc.so.6', 'usr/lib/libm.so.6'] needed in files ['usr/bin/alpaca.cpp-chat', 'usr/bin/alpaca.cpp-quantize'])
alpaca.cpp-git E: Dependency gcc-libs detected and not included (libraries ['usr/lib/libstdc++.so.6', 'usr/lib/libgcc_s.so.1'] needed in files ['usr/bin/alpaca.cpp-chat', 'usr/bin/alpaca.cpp-quantize'])
depends=(glibc gcc-libs)
install -Dm644 LICENSE -t ......

AsukaMinato commented on 2023-04-17 05:47 (UTC)

according to https://wiki.archlinux.org/title/PKGBUILD#Dependencies#makedepends ,

If using VCS sources, do not forget to include the appropriate VCS tool (git, subversion, cvs, ...).

makedepends=('cmake' 'git')