From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qIj7HvETjmam8gAAe85BDQ:P1 (envelope-from ) for ; Wed, 10 Jul 2024 04:54:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id qIj7HvETjmam8gAAe85BDQ (envelope-from ) for ; Wed, 10 Jul 2024 06:54:09 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ZSLTvSLL; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720587249; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=dhOaXpY1cmuGArDqJBo8imcnIQK18l68+Fud7zoZB5k=; b=h0qTD2LFQNNJR8S33oqIaaorBKKS09xJJrYHpBe41AUUKTNR0EDAKUcdO3cx90y0XP0ZIu G120sDrQ+grdL51FDvYNgVTUsoQdHWtSciM1DdP9kcfl/dtWVm6TOmemxCHTR2GqmI/SXc zmMknnbkBx6L1ylneZz7x+H17L/zGVlgHctFpD0FqLMBBhq6M+8sbB7EisikoRRcR4BzjX qzsPv2cxfo4ZY8ASE2t17nJgaZHsPm3mxkV2dMLOl2k7zeoPHc4ae8NEC6ZSch8uZU6pYU Tk38OD4aj/rKNUcZJsByzQZDbkBUL1i3kNwu87ARS+cvYCuewWl2mncizbYUaw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ZSLTvSLL; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720587249; a=rsa-sha256; cv=none; b=uqaxcdewOVrFgN3F/MTI3nVzG7zFwiErJFjSafkXe/m4KahGGCaXZCHnaD9QlwHVL27LLq mkzM0RzrDl6MiVKOe7aEIrq3IoNuISgQ5E0CndfxryxlN/CaKti+CTAHaIvWBrBvQ3UzWo WifWJjCPVXEAl5y8+Y/0L9Xk5ykCdDFzEDZD/D73OuoLADDWoggHY6UaP83AsWEzgpjME9 NT3XEbBAJ12PcFNiNMnv7mJZVTyqsF5bCE3rGB2lrJmDjoz+DYHG9qNEg5KGi0MkPikg5E ZGz1Q3rTUsywnvXn0pEesC8VjIp/IW8sL2kuLe+cIWBMCWNwW4Hx1uzqcDlqKA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A6E123A166 for ; Wed, 10 Jul 2024 06:54:06 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRPL6-0007xN-2q; Wed, 10 Jul 2024 00:54:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRPL2-0007wy-Qp for guix-patches@gnu.org; Wed, 10 Jul 2024 00:53:56 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sRPL2-0001br-Id for guix-patches@gnu.org; Wed, 10 Jul 2024 00:53:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sRPL8-0004QY-9T for guix-patches@gnu.org; Wed, 10 Jul 2024 00:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72027] [PATCH] gnu: Add whisper-cpp. Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 10 Jul 2024 04:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72027 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72027@debbugs.gnu.org Cc: Andy Tai X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172058721416961 (code B ref -1); Wed, 10 Jul 2024 04:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Jul 2024 04:53:34 +0000 Received: from localhost ([127.0.0.1]:54669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRPKf-0004PV-Jk for submit@debbugs.gnu.org; Wed, 10 Jul 2024 00:53:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:41346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRPKe-0004PM-MW for submit@debbugs.gnu.org; Wed, 10 Jul 2024 00:53:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRPKY-0007us-HU for guix-patches@gnu.org; Wed, 10 Jul 2024 00:53:26 -0400 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sRPKU-0001UX-B0 for guix-patches@gnu.org; Wed, 10 Jul 2024 00:53:26 -0400 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1fbc3a9d23bso7880295ad.1 for ; Tue, 09 Jul 2024 21:53:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720587200; x=1721192000; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=dhOaXpY1cmuGArDqJBo8imcnIQK18l68+Fud7zoZB5k=; b=ZSLTvSLLgjT6AsmkzhV7H5c9j7sWD65/tV2EYls+pgLE+DZfVcoUKQMC8AptSXENFR xf9x4cLOoqFXuAowa7BxLUGcp8G3lS7kMSUjRbrm+KvdhUHf8Os1smnivEMyMcNgOvgx nyB2p29B3qK1xVicXeM6QLEm0epjHxVea6n/RV/9cjkl8gLhZvkdF/zqht7HU9WrqRub qVyy+O12vIsQx61juE1SEJb8H2j9eftmIkx/GpGMXIf9++o+W/IrH2hdcbbptgvMvo4F 4HwViSqhmeaVCFjHSsR3l+hTWCkHC3HVjP3IJQiU2e9Oec7Bp6wrpdvRSV3m0XdixFCD Xevg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720587200; x=1721192000; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=dhOaXpY1cmuGArDqJBo8imcnIQK18l68+Fud7zoZB5k=; b=wuHOIrxmdop9eEIoHlUc3WkEUm/cgyexNk2h3j6DQQFmJUnzExeGNFVCJ/153GVX+z B4nYRrPUgOKwSSOMXFFHlSILucT67r6lHlzp7BP2VxRF9NdPlbuG+AgwmeFsdP8B44LN z4sIHyDNYtX5F7/TIw0wHR7SUR91FdArRNrXIugbuN/GMUtKsQDBeFR9DhwdG0piHERu ZPibx9unSRiKMXtz/kUf7PU5ZXg+QXtxmPGYYxNERIpgxP1iofIWrOO757/Ooj/TZTey AJTNL8zW98fyOpHAljyz6FJX0QWQSdm1lTOnXmIzz9wuXoHOod8+kKpdIz3UAhZRyY7b R/Ag== X-Gm-Message-State: AOJu0YyqwDMPwq+GNVCDy3yDqHFXm2P32WLdusgD4RQEaE3HQDYZQ5bc NgP1z//u68w8EtFoK5wcOWJBkJr2ri80O0vgQNRNCt/HCmRmSHrKOfNFIQ== X-Google-Smtp-Source: AGHT+IGlir7cytd/rNCfKhGf5tIgMPqyuydRYqBf1UBF65LlqMTZdNyxPCqLGMqdIOVANJLePmhXHw== X-Received: by 2002:a17:902:e84a:b0:1fb:6ddf:655a with SMTP id d9443c01a7336-1fbb6f0fa71mr38308745ad.69.1720587200175; Tue, 09 Jul 2024 21:53:20 -0700 (PDT) Received: from DEskMiniX300.. (c-98-37-226-154.hsd1.ca.comcast.net. [98.37.226.154]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fbb6a2a2e9sm24480885ad.97.2024.07.09.21.53.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jul 2024 21:53:19 -0700 (PDT) From: Andy Tai Date: Tue, 9 Jul 2024 21:53:16 -0700 Message-Id: <0c08fdb11c2641ece7d267340877c58f144df110.1720587166.git.atai@atai.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::62b; envelope-from=lichengtai@gmail.com; helo=mail-pl1-x62b.google.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: A6E123A166 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -4.10 X-Spam-Score: -4.10 X-TUID: gFmsULv6oypF * 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