unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#65284] [PATCH] gnu: Add ggml
@ 2023-08-14  8:26 Andy Tai
  2023-09-20  5:28 ` [bug#65284] [PATCH v2] " Andy Tai
  2023-12-18  0:37 ` [bug#65284] [PATCH v3] " Andy Tai
  0 siblings, 2 replies; 3+ messages in thread
From: Andy Tai @ 2023-08-14  8:26 UTC (permalink / raw)
  To: 65284; +Cc: Andy Tai

* 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





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

end of thread, other threads:[~2023-12-18  0:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-14  8:26 [bug#65284] [PATCH] gnu: Add ggml Andy Tai
2023-09-20  5:28 ` [bug#65284] [PATCH v2] " Andy Tai
2023-12-18  0:37 ` [bug#65284] [PATCH v3] " 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).