From owner-svn-ports-head@freebsd.org Thu Jul 9 18:08:01 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A1F72351777; Thu, 9 Jul 2020 18:08:01 +0000 (UTC) (envelope-from sunpoet@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B2kg53qb2z4NNn; Thu, 9 Jul 2020 18:08:01 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 67A8D150D1; Thu, 9 Jul 2020 18:08:01 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 069I81Kw036669; Thu, 9 Jul 2020 18:08:01 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 069I80NC036665; Thu, 9 Jul 2020 18:08:00 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202007091808.069I80NC036665@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 9 Jul 2020 18:08:00 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/math: . py-opt-einsum X-SVN-Commit-Revision: 541766 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2020 18:08:01 -0000 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 +# $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 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