GNU bug report logs - #72027
[PATCH] gnu: Add whisper-cpp.

Previous Next

Package: guix-patches;

Reported by: Andy Tai <atai <at> atai.org>

Date: Wed, 10 Jul 2024 04:54:02 UTC

Severity: normal

Tags: patch

Done: dannym <at> friendly-machines.com

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Andy Tai <atai <at> atai.org>
Subject: bug#72027: closed (merged a variant of whisper-cpp to guix master)
Date: Thu, 02 Jan 2025 23:05:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#72027: [PATCH] gnu: Add whisper-cpp.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 72027 <at> debbugs.gnu.org.

-- 
72027: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72027
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: dannym <at> friendly-machines.com
To: 72027-done <at> debbugs.gnu.org
Subject: merged a variant of whisper-cpp to guix master
Date: Fri, 03 Jan 2025 00:04:12 +0100
Hi,

Oops, I had overlooked this oatch before.

I've merged a variant of your patch to guix master as commit 
a707ebe5d3875a49523bc17de2d36af6f1c18f7e.

Though I'm not sure what enabling SDL does when none of the programs are 
installed in the first place.  How is this supposed to be?

Cheers,
   Danny

[Message part 3 (message/rfc822, inline)]
From: Andy Tai <atai <at> atai.org>
To: guix-patches <at> gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH] gnu: Add whisper-cpp.
Date: Tue,  9 Jul 2024 21:53:16 -0700
* 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




This bug report was last modified 140 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.