From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 80E4B15813A for ; Fri, 10 Jan 2025 18:37:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49A69E07D7; Fri, 10 Jan 2025 18:37:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0C0F5E075F for ; Fri, 10 Jan 2025 18:37:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 42F4A342F8E for ; Fri, 10 Jan 2025 18:37:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A243A1F9A for ; Fri, 10 Jan 2025 18:37:06 +0000 (UTC) From: "Nowa Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nowa Ammerlaan" Message-ID: <1736534168.a6a9087f76632a3ffb552c7fc1d42d0f49da66c1.nowa@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/torchaudio/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/torchaudio/metadata.xml sci-libs/torchaudio/torchaudio-2.4.1.ebuild X-VCS-Directories: sci-libs/torchaudio/ X-VCS-Committer: nowa X-VCS-Committer-Name: Nowa Ammerlaan X-VCS-Revision: a6a9087f76632a3ffb552c7fc1d42d0f49da66c1 X-VCS-Branch: master Date: Fri, 10 Jan 2025 18:37:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9bd9b590-f7b4-4606-9a21-35a0bf13a09d X-Archives-Hash: e5ff367b8510ed08cea91fc6677fe6bd commit: a6a9087f76632a3ffb552c7fc1d42d0f49da66c1 Author: uis gmail com> AuthorDate: Thu Jan 2 04:26:59 2025 +0000 Commit: Nowa Ammerlaan gentoo org> CommitDate: Fri Jan 10 18:36:08 2025 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a6a9087f sci-libs/torchaudio: add 2.4.1 Signed-off-by: uis gmail.com> Signed-off-by: Nowa Ammerlaan gentoo.org> sci-libs/torchaudio/metadata.xml | 11 ++++ sci-libs/torchaudio/torchaudio-2.4.1.ebuild | 80 +++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) diff --git a/sci-libs/torchaudio/metadata.xml b/sci-libs/torchaudio/metadata.xml new file mode 100644 index 000000000..445ee5c8c --- /dev/null +++ b/sci-libs/torchaudio/metadata.xml @@ -0,0 +1,11 @@ + + + + + Enable ROCm gpu computing support + Enable custom RNN-T loss function + + + pytorch/vision + + diff --git a/sci-libs/torchaudio/torchaudio-2.4.1.ebuild b/sci-libs/torchaudio/torchaudio-2.4.1.ebuild new file mode 100644 index 000000000..6e1067764 --- /dev/null +++ b/sci-libs/torchaudio/torchaudio-2.4.1.ebuild @@ -0,0 +1,80 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..12} ) +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +ROCM_SKIP_GLOBALS=1 +inherit cuda distutils-r1 multiprocessing rocm optfeature + +DESCRIPTION="Data manipulation and transformation for audio signal processing" +HOMEPAGE="https://github.com/pytorch/audio" +SRC_URI="https://github.com/pytorch/audio/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/audio-${PV}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="cuda rocm ffmpeg openmp +rnnt" +REQUIRED_USE="?? ( cuda rocm )" + +DEPEND=" + ffmpeg? (