From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OCViCYIihGRQHgAASxT56A (envelope-from ) for ; Sat, 10 Jun 2023 09:13:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id INtuCYIihGTwegAAauVa8A (envelope-from ) for ; Sat, 10 Jun 2023 09:13:06 +0200 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 BE332C677 for ; Sat, 10 Jun 2023 09:13:05 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7smW-0007KN-5g; Sat, 10 Jun 2023 03:13:04 -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 1q7smU-0007Jq-DT for guix-patches@gnu.org; Sat, 10 Jun 2023 03:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q7smU-0008Ds-52 for guix-patches@gnu.org; Sat, 10 Jun 2023 03:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q7smU-0007wK-18 for guix-patches@gnu.org; Sat, 10 Jun 2023 03:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63991] [PATCH 2/3] gnu: Add dmlc-dlpack Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 10 Jun 2023 07:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63991 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63991@debbugs.gnu.org Cc: Andy Tai Received: via spool by 63991-submit@debbugs.gnu.org id=B63991.168638117630487 (code B ref 63991); Sat, 10 Jun 2023 07:13:01 +0000 Received: (at 63991) by debbugs.gnu.org; 10 Jun 2023 07:12:56 +0000 Received: from localhost ([127.0.0.1]:33157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7smN-0007ve-Ro for submit@debbugs.gnu.org; Sat, 10 Jun 2023 03:12:56 -0400 Received: from mail-pf1-f169.google.com ([209.85.210.169]:61464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7smM-0007vB-8v for 63991@debbugs.gnu.org; Sat, 10 Jun 2023 03:12:54 -0400 Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-652a6bf4e6aso2170997b3a.2 for <63991@debbugs.gnu.org>; Sat, 10 Jun 2023 00:12:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686381168; x=1688973168; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=Nwt64zsq0f+3yS39CnV1oVclNCwiwUtq21kkN/3EC1k=; b=slxuyEVac11Y89a27w3Hz934E6lfq0AcZaJGOkl8hYeKFVKyz3vKzWI24xpEnhR0Hs nX8QrYbH5tTiv7H5BMHVlOyZTDOwnk4BfZfUfh48qvzk1JVH9hB1/l4uc3YWQ0ZMdG4G sI3zZGbn3Mm3SDSjfWVK+Llm4A2jWL9PwL4oK4o8Va06ot5E05mWUppU2ek8VruoFqtV /mTJI59pUbARXF+johSDRyyL27wzOMrO7WAllkBat3sJWRyqhJ7+o6I1T5plTxkZgFdC ZlkW+xPERaUtX+2C/CMKlPLg5T9ktTvWdNX2oeUyCqWwWv+0Qpj5xqwUIN6GZROY5ZEj uBpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686381168; x=1688973168; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Nwt64zsq0f+3yS39CnV1oVclNCwiwUtq21kkN/3EC1k=; b=Fn1pcRB/cmLjS3sfMK9pmYtf6Msnw0LfkdvpH2mjewvLY97LhxLw5bSa2urqkIU+zj yuMCYPVEqx41ItO2mbuSeQplvOd6QAaxqnOShkBcjfgteDxWh5vRftNS/SZntEEarI/d Are7iH3g0FslTI04clsD9vfwOV8i3hfZW79wQuJmdKe0eAUbIHdr4J+mLxBUuUgdy98f dwodH7/vbhRlplLyK2aKO8Debvb+ukaQVTqOVXuQs6ND54T5duxvDhneLsWbkfUd/y98 1jlJvN856OIw5GHxJko67wHAnO5MI5rlCOMdxznl6S7La8uMN7WgBTHUkg2dbUIjFWKh dhaQ== X-Gm-Message-State: AC+VfDz5WF67yu0M8IwyxNaOxvdA6z8mbEWhYCtQ1EYUq4pX9NLMUJFM qSUWy72c37+YoZsONasnqKGLukBpgZM= X-Google-Smtp-Source: ACHHUZ7yAqJzM4QRZM0MtLATSgpL83HcdC/zEsrZogxEWRAX7vNKIHd5a0g4R3bGfAssueGJor8tZQ== X-Received: by 2002:a05:6a00:24d0:b0:653:de9a:d933 with SMTP id d16-20020a056a0024d000b00653de9ad933mr4412707pfv.17.1686381168386; Sat, 10 Jun 2023 00:12:48 -0700 (PDT) Received: from localhost.localdomain ([98.37.226.98]) by smtp.googlemail.com with ESMTPSA id m23-20020aa79017000000b0065007825f51sm3627679pfo.79.2023.06.10.00.12.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jun 2023 00:12:48 -0700 (PDT) From: Andy Tai Date: Sat, 10 Jun 2023 00:12:38 -0700 Message-Id: <33d6ff99a3580f99d25333da94140dadd291e8cb.1686380735.git.atai@atai.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686381186; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Nwt64zsq0f+3yS39CnV1oVclNCwiwUtq21kkN/3EC1k=; b=G8hsy0rJJnoAaWRdiN0ORDqcnfiHpx3Hp0jixNMCZbXJAm3qaLS7SUKrzanl9HzbmrmbJ+ yAYFnOyhmru052ov6HrFdhOK6qdNjgic+x6+4IrHn5Hu5AouDaOIAJ2QsNwShKGmqV1Z6M NH0uXkd9XCUcF0Kl9gHUm9i3yIEoUqiJILD3L9YBJJNYJAVwdHoJkGqF03q7JiCUxu+04N hYWJDKJUShgI7fF9L1xAj61O6ZGmpQV1lUHJ3WuIYtGSh5ZkghFy2ksadXDuqf6lCFnMMO LU5qvivjP8omAByB6pGWJyXv+ZGlGdWs1JGOWfq2UibYtl7jut2uX/njUNXz+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=slxuyEVa; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686381186; a=rsa-sha256; cv=none; b=ijYo6dHN7OAn2AENpqL4/3gHY7ZO3K+eVdpq52Dx/t0R1+6gD1wI0g75yPxEHZr4diYk4e cTZaTl1S3jRDdPWTsfs2XSovVuhH0qwEzkakPy2PUAyBSz5A+qBYzax/QeDEbrpCYzjv2M RD9zMLr/+BtDK0lFXxKkmqQm9YTuqKDq0S+clYWhv62QZaSQtzt4okTS1JAj2GLV7Ts5FY N7wXZNThi13vxbdvlBkvCc6//9MaoizmzRKeAYZBDBsKQ8q/V7s1peqQgNep+36qNKY+08 JWQ4RR4rnzE6senoy5gXv9sAThD1oAPwVCPs423tQ5Mqh7MZt1XAyCZqT4ooig== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.71 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=slxuyEVa; dmarc=none; 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" X-Migadu-Queue-Id: BE332C677 X-Spam-Score: -0.71 X-TUID: pGmevFbhcOaw * 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