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] gnu: Add ggml
Date: Mon, 14 Aug 2023 01:26:39 -0700
* gnu/packages/machine-learning.scm (ggml): New variable
---
 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 c32180615b..8d89ef2208 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -4801,3 +4801,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 "95b559dbae6a25b2a7e26ab5989c1538387225e9")
+        (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
+                  "06x3aa6071f7r69lyipn8agzqryh0c4b6zs5mma7c0r8ixbjb3ly"))))
+      (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: b15381460ed74e72792ff182dd2ca7a06ba59b0c
-- 
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.