1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

misc/dlpack: New port: Common in-memory tensor structure

This commit is contained in:
Yuri Victorovich 2024-07-16 17:03:48 -07:00
parent 3ef72314a9
commit a98d1afeea
4 changed files with 40 additions and 0 deletions

View File

@ -88,6 +88,7 @@
SUBDIR += dijo
SUBDIR += dive
SUBDIR += dlib-models
SUBDIR += dlpack
SUBDIR += dnetc
SUBDIR += dotenv-linter
SUBDIR += dtach

26
misc/dlpack/Makefile Normal file
View File

@ -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 <bsd.port.mk>

3
misc/dlpack/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1721163327
SHA256 (dmlc-dlpack-v1.0rc_GH0.tar.gz) = c90ef4ce98c5559a938961aafa17ba5895ef47255ad972c03f6b7cd8fa433aff
SIZE (dmlc-dlpack-v1.0rc_GH0.tar.gz) = 77716

10
misc/dlpack/pkg-descr Normal file
View File

@ -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.