all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andy Tai <atai@atai.org>
To: 63991@debbugs.gnu.org
Cc: Andy Tai <atai@atai.org>
Subject: [bug#63991] [PATCH 2/3] gnu: Add dmlc-dlpack
Date: Sat, 10 Jun 2023 00:12:38 -0700	[thread overview]
Message-ID: <33d6ff99a3580f99d25333da94140dadd291e8cb.1686380735.git.atai@atai.org> (raw)
In-Reply-To: <cover.1686380735.git.atai@atai.org>

* gnu/packages/machine-learning.scm (dmlc-dlpack): New variable
---
 gnu/packages/machine-learning.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index c9bc5e8b68..4ed32a8792 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -4388,3 +4388,27 @@ (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 dmlc-dlpack
+  (package
+    (name "dmlc-dlpack")
+    (version "0.8")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/dmlc/dlpack")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1jmfvdrx8dn9b0ksm04ixha0jnrk35ip796qg98kfz6g7niw5ir1"))))
+    (build-system cmake-build-system)
+    (arguments (list #:tests? #f))  ; no tests
+    (home-page "https://dmlc.github.io/dlpack/latest")
+    (synopsis "Open In Memory Tensor Structure")
+    (description
+     "DLPack is an open in-memory tensor structure for sharing tensors among frameworks")
+    (license license:asl2.0)))
+
+
-- 
2.40.1





  parent reply	other threads:[~2023-06-10  7:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-10  7:10 [bug#63991] [PATCH 0/3] Add Apache Twm and dependencies Andy Tai
2023-06-10  7:12 ` [bug#63991] [PATCH 1/3] gnu: Add rang Andy Tai
2023-06-10  7:12 ` Andy Tai [this message]
2023-06-10  7:12 ` [bug#63991] [PATCH 3/3] gnu: Add twm Andy Tai
2023-06-17  5:45 ` [bug#63991] [PATCH v2 1/3] gnu: Add rang Andy Tai
2023-06-17  5:45   ` [bug#63991] [PATCH v2 2/3] gnu: Add dmlc-dlpack Andy Tai
2023-06-17  5:45   ` [bug#63991] [PATCH v2 3/3] gnu: Add tvm Andy Tai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=33d6ff99a3580f99d25333da94140dadd291e8cb.1686380735.git.atai@atai.org \
    --to=atai@atai.org \
    --cc=63991@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.