From nobody Wed Jul 17 00:42:50 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WNxx626MLz5QZrk; Wed, 17 Jul 2024 00:42:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WNxx61Vxtz4bXP; Wed, 17 Jul 2024 00:42:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721176970; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CU+QZcNbGh7mc9Gn41NwTWwhK2VteihSMCWkVUagQDE=; b=bkU330FsE4Fq0qq4sePmJQSSfiPtI5vSMXZPuPp+Y8Xff7qYLLrdus0TxUNN15u6TNW7Yh 3bEb900y/acEZixHllrhuO78p6nAURJYypsaeip2egSIc5kBk/Sl/nfHe/DbApWgAtPHiw A3H28azitrZYBPdbWTUaOVemaQDYlUZ//p3LW4AKn5/oGmVo8Wb8h37lj6XNXUJfSeD4BI 6ofvhyeNZ46vYHSRbw3/d9MeseM3f4OEcE7v5hX1F2V8HVqJYB5HfzK0aM2afIICjDiy45 Rx7fUVOZpiOmDqMBOsR6ALIVMPR3OhkYp+ZqjBrGnPZ0HN7snFpYsWBpLWiSHA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721176970; a=rsa-sha256; cv=none; b=EDE8Y2UXtVMAMRMibbEpUCv8FJxaBuM0OvgLNok3hz5Tu0hu6tSmeEr3ZHW2TJs7PAW20a YTuO7T4qWHlR27VkcDmdzWa1fItg7KxpSpVgoNcexS/Xyl8eSH1AlqlTv/0lebXFWj8W6n 4/soJMoVdi4PkZsXcVyGlG3YSgM6sVaHvdJMS6XPjVSlteIaRl9l7jAqG1wVzLRDRgc9fy dm/fhd+H8G1xqRm5ngCKx+iw6EvBYXDCRe0yKDLxrK0irkAvLkPHWdmTnfddggYiliGAUV nz4A3V/hZjTCl2DDhNS76TFrD0sPsPGN4TDvcR9hKWb5vTehfHfxw2nxcD/GIQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721176970; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CU+QZcNbGh7mc9Gn41NwTWwhK2VteihSMCWkVUagQDE=; b=G/hGDgSBhSC4EwMItRaH9nbpajIetf1po60t08+c7y/nmZdj0SNOdWmqqBHayNOufTGr2R TvnLnbtWCdthKIjqi891NUoMpYQm5F2YnOZ1cetCvDkXww4JvbvZdOY0zG4ZGKHqpiy8we VlKZHdv+v/8Qj88GIXzqTaOs7bh0AILp2Drf/V3JHJheH0bsgNh+zCqeZjv4fTquxE3G3b KSprlftt8Je8m2iGMM6PKhNtcqSmU8MqDDXJ9ocJFGSu2s2oMgirFuzY8ZwSPo2wc4JjzV gv0xshlu8KVtnu1Hhr0vab881vh6HsL/JEY7vXmOhR0y0eOE9ORQR/cyS0YkMw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WNxx616xwzy25; Wed, 17 Jul 2024 00:42:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46H0gohJ039558; Wed, 17 Jul 2024 00:42:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46H0goCj039555; Wed, 17 Jul 2024 00:42:50 GMT (envelope-from git) Date: Wed, 17 Jul 2024 00:42:50 GMT Message-Id: <202407170042.46H0goCj039555@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: a98d1afeea5d - main - misc/dlpack: New port: Common in-memory tensor structure List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a98d1afeea5dff82def4f87caf0339634a55198b Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=a98d1afeea5dff82def4f87caf0339634a55198b commit a98d1afeea5dff82def4f87caf0339634a55198b Author: Yuri Victorovich AuthorDate: 2024-07-17 00:03:48 +0000 Commit: Yuri Victorovich CommitDate: 2024-07-17 00:42:45 +0000 misc/dlpack: New port: Common in-memory tensor structure --- misc/Makefile | 1 + misc/dlpack/Makefile | 26 ++++++++++++++++++++++++++ misc/dlpack/distinfo | 3 +++ misc/dlpack/pkg-descr | 10 ++++++++++ 4 files changed, 40 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index d8b468add11e..47266807e40c 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -88,6 +88,7 @@ SUBDIR += dijo SUBDIR += dive SUBDIR += dlib-models + SUBDIR += dlpack SUBDIR += dnetc SUBDIR += dotenv-linter SUBDIR += dtach diff --git a/misc/dlpack/Makefile b/misc/dlpack/Makefile new file mode 100644 index 000000000000..e10a9c8654c0 --- /dev/null +++ b/misc/dlpack/Makefile @@ -0,0 +1,26 @@ +PORTNAME= dlpack +DISTVERSIONPREFIX= v +DISTVERSION= 1.0rc +CATEGORIES= misc # machine-learning + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Common in-memory tensor structure +WWW= https://dmlc.github.io/dlpack/latest/ + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake:testing compiler:c++11-lang python:run shebangfix +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= dmlc + +PLIST_FILES= include/dlpack/dlpack.h \ + lib/cmake/dlpack/dlpackConfig.cmake \ + lib/cmake/dlpack/dlpackConfigVersion.cmake \ + lib/cmake/dlpack/dlpackTargets.cmake + +NO_ARCH= yes + +.include diff --git a/misc/dlpack/distinfo b/misc/dlpack/distinfo new file mode 100644 index 000000000000..64d1d5d2173b --- /dev/null +++ b/misc/dlpack/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1721163327 +SHA256 (dmlc-dlpack-v1.0rc_GH0.tar.gz) = c90ef4ce98c5559a938961aafa17ba5895ef47255ad972c03f6b7cd8fa433aff +SIZE (dmlc-dlpack-v1.0rc_GH0.tar.gz) = 77716 diff --git a/misc/dlpack/pkg-descr b/misc/dlpack/pkg-descr new file mode 100644 index 000000000000..285ded3b888c --- /dev/null +++ b/misc/dlpack/pkg-descr @@ -0,0 +1,10 @@ +DLPack is an open in-memory tensor structure for sharing tensors among +frameworks. + +DLPack enables: +* Easier sharing of operators between deep learning frameworks. +* Easier wrapping of vendor level operator implementations, allowing + collaboration when introducing new devices/ops. +* Quick swapping of backend implementations, like different version of BLAS +* For final users, this could bring more operators, and possibility of mixing + usage between frameworks.