Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hrehfeld/archlinux-whisper.cpp-model

PKGBUILD generation for whisper.cpp models
https://github.com/hrehfeld/archlinux-whisper.cpp-model

archlinux aur pkgbuild whisper whisper-cpp

Last synced: 10 days ago
JSON representation

PKGBUILD generation for whisper.cpp models

Awesome Lists containing this project

README

        

* whisper.cpp-model PKGBUILD
:PROPERTIES:
:ID: d8fd45d0-68d1-4c5a-8b34-35a33624cde1
:END:
autogenerated PKGBUILD for all the models for whisper.cpp. List of packages:
https://aur.archlinux.org/packages?O=0&SeB=nd&K=whisper.cpp-model-&outdated=&SB=p&SO=d&PP=50&submit=Go
* Why is this not a split package?
:PROPERTIES:
:ID: 8649930a-162b-4930-8013-fc6f894ad620
:END:
I couldn't figure out how *not* to download all ~sources~ before building, and you really don't wanna do that with multiple gigabytes of data.
* Howto
:PROPERTIES:
:ID: e0ebf357-230f-4188-810a-24fa07812934
:END:

#+BEGIN_SRC sh
$ ./generate.py -h
usage: generate.py [-h] [--commit] [--push] [--push-args [PUSH_ARGS ...]]

options:
-h, --help show this help message and exit
--commit Commit each model AUR repo.
--push Also push to each model AUR repo.
--push-args [PUSH_ARGS ...]
Extra arguments when pushing to each model AUR repo.
#+END_SRC

Just ~python generate.py~. This will overwrite the individual ~PKGBUILD~ files and commit them. You can use --push to push to the aur repos.

Then just go through the ~models/~ subdirectory and build models that you want -- or just install from AUR.