unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#72027] [PATCH] gnu: Add whisper-cpp.
@ 2024-07-10  4:53 Andy Tai
  2024-07-10  5:55 ` [bug#72027] [PATCH v2] " Andy Tai
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: Andy Tai @ 2024-07-10  4:53 UTC (permalink / raw)
  To: 72027; +Cc: Andy Tai

* gnu/packages/machine-learning.scm (whisper-cpp): New variable.

Change-Id: If191f434a3f66b16afdc702069eaed1ca22e2427
---
 gnu/packages/machine-learning.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 8ca9a6376e..61c25b49da 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -5982,6 +5982,29 @@ (define-public oneapi-dnnl-for-r-torch
        (sha256
         (base32 "1zyw5rd8x346bb7gac9a7x3saviw3zvp6aqz2z1l9sv163vmjfz6"))))))
 
+(define-public whisper-cpp
+    (package
+      (name "whisper-cpp")
+      (version "1.6.2")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/ggerganov/whisper.cpp")
+               (commit (string-append "v" version))))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "01q4j602wkvsf9vw0nsazzgvjppf4fhpy90vqnm9affynyxhi0c4"))))
+      (build-system cmake-build-system)
+      (properties '((tunable? . #true))) ;use AVX512, FMA, etc. when available
+      (home-page "https://github.com/ggerganov/whisper.cpp")
+      (synopsis "Port of OpenAI's Whisper model in C/C++ ")
+      (description "This package is a high-performance inference of OpenAI's
+Whisper automatic speech recognition (ASR) model, implemented in plain C/C++
+without dependencies")
+      (license license:expat)))
+
+
 (define-public python-gguf
   (package
     (name "python-gguf")

base-commit: e13f7d48e5b989f5dbd27c19ac81989ec6b3ec6e
-- 
2.34.1





^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-10-20 22:31 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-10  4:53 [bug#72027] [PATCH] gnu: Add whisper-cpp Andy Tai
2024-07-10  5:55 ` [bug#72027] [PATCH v2] " Andy Tai
2024-07-10  6:16 ` [bug#72027] [PATCH v3] " Andy Tai
2024-07-11  6:46 ` [bug#72027] [PATCH v4] " Andy Tai
2024-07-12  5:44 ` [bug#72027] [PATCH v5] " Andy Tai
2024-08-19  5:01 ` [bug#72027] [PATCH v6] " Andy Tai
2024-08-23 14:15 ` Juliana Sims via Guix-patches via
2024-08-23 16:05   ` Juliana Sims via Guix-patches via
2024-08-28  2:53   ` Andy Tai
2024-08-29  4:11     ` Andy Tai
2024-08-29  4:06 ` [bug#72027] [PATCH v7] " Andy Tai
2024-09-25  2:39 ` [bug#72027] [PATCH v8] " Andy Tai
2024-10-20 22:29 ` [bug#72027] [PATCH v9] " Andy Tai

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).