Date: Thu, 9 Jul 2020 18:08:00 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r541766 - in head/math: . py-opt-einsum Message-ID: <202007091808.069I80NC036665@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Thu Jul 9 18:08:00 2020 New Revision: 541766 URL: https://svnweb.freebsd.org/changeset/ports/541766 Log: Add py-opt-einsum 3.2.1 Optimized einsum can significantly reduce the overall execution time of einsum-like expressions (e.g., np.einsum, dask.array.einsum, pytorch.einsum, tensorflow.einsum, ) by optimizing the expression's contraction order and dispatching many operations to canonical BLAS, cuBLAS, or other specialized routines. Optimized einsum is agnostic to the backend and can handle NumPy, Dask, PyTorch, Tensorflow, CuPy, Sparse, Theano, JAX, and Autograd arrays as well as potentially any library which conforms to a standard API. WWW: https://github.com/dgasmith/opt_einsum Added: head/math/py-opt-einsum/ head/math/py-opt-einsum/Makefile (contents, props changed) head/math/py-opt-einsum/distinfo (contents, props changed) head/math/py-opt-einsum/pkg-descr (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Thu Jul 9 17:49:45 2020 (r541765) +++ head/math/Makefile Thu Jul 9 18:08:00 2020 (r541766) @@ -781,6 +781,7 @@ SUBDIR += py-numexpr SUBDIR += py-numpy SUBDIR += py-nzmath + SUBDIR += py-opt-einsum SUBDIR += py-osqp SUBDIR += py-pandas SUBDIR += py-pandas-datareader Added: head/math/py-opt-einsum/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-opt-einsum/Makefile Thu Jul 9 18:08:00 2020 (r541766) @@ -0,0 +1,24 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= opt-einsum +PORTVERSION= 3.2.1 +CATEGORIES= math python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= opt_einsum-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Optimizing numpys einsum function + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYNUMPY} + +USES= python:3.5+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> Added: head/math/py-opt-einsum/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-opt-einsum/distinfo Thu Jul 9 18:08:00 2020 (r541766) @@ -0,0 +1,3 @@ +TIMESTAMP = 1594308020 +SHA256 (opt_einsum-3.2.1.tar.gz) = 83b76a98d18ae6a5cc7a0d88955a7f74881f0e567a0f4c949d24c942753eb998 +SIZE (opt_einsum-3.2.1.tar.gz) = 72186 Added: head/math/py-opt-einsum/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-opt-einsum/pkg-descr Thu Jul 9 18:08:00 2020 (r541766) @@ -0,0 +1,9 @@ +Optimized einsum can significantly reduce the overall execution time of +einsum-like expressions (e.g., np.einsum, dask.array.einsum, pytorch.einsum, +tensorflow.einsum, ) by optimizing the expression's contraction order and +dispatching many operations to canonical BLAS, cuBLAS, or other specialized +routines. Optimized einsum is agnostic to the backend and can handle NumPy, +Dask, PyTorch, Tensorflow, CuPy, Sparse, Theano, JAX, and Autograd arrays as +well as potentially any library which conforms to a standard API. + +WWW: https://github.com/dgasmith/opt_einsum
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007091808.069I80NC036665>