GNU bug report logs - #65284
[PATCH] gnu: Add ggml

Previous Next

Package: guix-patches;

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

Date: Mon, 14 Aug 2023 08:28:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Andy Tai <atai <at> atai.org>
To: 65284 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [bug#65284] [PATCH v3] gnu: Add ggml
Date: Sun, 17 Dec 2023 16:37:21 -0800
* gnu/packages/machine-learning.scm (ggml): New variable

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

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index c100e0be6e..5d144961c7 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -5038,3 +5038,30 @@ (define-public oneapi-dnnl
      "OneAPI Deep Neural Network Library (oneDNN) is a cross-platform
 performance library of basic building blocks for deep learning applications.")
     (license license:asl2.0)))
+
+
+(define-public ggml
+  (let ((commit "6b846cbde81ae02cd3e363311180ae706091933e")
+        (version "0.1.0")
+        (revision "1"))
+    (package
+      (name "ggml")
+      (version (git-version version revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/ggerganov/ggml")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "02s3rrns0nw2d3321wizpy9qgc4w7vl604kql5s77srz6lr9km0b"))))
+      (build-system cmake-build-system)
+      (home-page "https://ggml.ai/")
+      (synopsis "Tensor library for machine learning")
+      (description
+       "ggml is a tensor library for machine learning to enable large models and
+high performance on commodity hardware.  It is used by llama.cpp and whisper.cpp.")
+      (license license:expat))))
+
+

base-commit: 6ab242609daec00e8bd54f7bff54557c92695724
-- 
2.41.0





This bug report was last modified 1 year and 180 days ago.

Previous Next


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