From nobody Fri Mar 22 04:11:36 2024 X-Original-To: dev-commits-ports-main@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 4V18603QLwz5FclY; Fri, 22 Mar 2024 04:11:36 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V18602KCmz43Z9; Fri, 22 Mar 2024 04:11:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711080696; 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=028rn25YKgT+D/HBJ8hvwfga1aNYzY/QSTNeNysgwj4=; b=o7u1RT+AcT6IL+HUXYchzTwFEmSIUQeiX0jmdzyyiye2aZH6KpTLgfjK0/jw/8sB/zU2eY sbP7N8bzsRKxFzft8NJ2omQ3Il/X0M5/cKsJhei6wPx8c++Py2LtnqRANrJL7ZoShVApWS UZty2rYf4yNkbRVhp623UjtX/pvmk357gaJSroZ7/ZDIbZYU3uHTKXix1/N5bGwjeH9cNz ICtwzFttu92w7KTvCVEsSAjj9X4Eop+XZ/eZliuK5JUAroNlBdA9h4JXJ3ZRnS4MwitR5g D/TpRQYwCH0LoasN6xSn0NBH372koqsVUWBtSZhldvIpaxoivzDNYeKo3/gCOw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711080696; a=rsa-sha256; cv=none; b=ExbcEi4WX/MpSVSLvGInCKTU/gqVhBH6hmZhmN2W35fRzxwdfMWkzW3pqQOvgPScx/Tyyr ZcyFbWOQ8VeV6x5qJItwpJ/YeTrDCpi8nYtpVgzBu+KQXSbrXM3P9/uT+FOOvG5gIW7ywJ r9rIW4Y+dkVud7JEIQcpw6mBn2O8M7wtFBIrSa3GBZfIk15Z6YCK6iTWJBabzstTDO3jTD WeiCQBSTae+vpOAHo4/aBG5AdkEYzxQHGg2h23OEnDxoyMw0BThHlNc/1S/HvoHShZEUe/ TPTwP2oP2zGiw0Aj4D7ZdZd6dMeIYSrqkk+9dXEBlAlzzQRnpkSeA3Hz97sYnA== 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=1711080696; 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=028rn25YKgT+D/HBJ8hvwfga1aNYzY/QSTNeNysgwj4=; b=yHLVqZdvG6NbCc/1U1qKPnZTmBj0asHtw4f/O6383U7TkUXa3R20xbi6iPfdDDjNzF9sh2 nQ1YuPbL1Ah40JLWmTr46OfavU18PwFcwVffrgHF1f1vKDI4aQXrMceEg1UQDGESI1QwhX Q1XiXIrnv7MkatrtuPmr8FnP7tmLjZsJpcjNSEu+J96apwKQOnEmBmeJ8bTaxDOpfW28D4 BCoyqtnpKwfHzv1lu/nNZ5EhureCcc6qNLgi4XElp4bBxkeRGeJPRcumQtlJViBOBgAh8N lvMIxHWsUW1yrgOTK/01WcGdOG8nYCUlm0UnXOeRGrtm/WeLsxgaK4aHdfwv2Q== 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 4V18601wR2z14CX; Fri, 22 Mar 2024 04:11:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42M4BaWQ052933; Fri, 22 Mar 2024 04:11:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42M4BaP6052930; Fri, 22 Mar 2024 04:11:36 GMT (envelope-from git) Date: Fri, 22 Mar 2024 04:11:36 GMT Message-Id: <202403220411.42M4BaP6052930@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: 471d29fc25d0 - main - misc/py-openai-whisper: New port: Robust Speech Recognition via Large-Scale Weak Supervision List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 471d29fc25d0c664931c0dfe005f07769bb48ca5 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=471d29fc25d0c664931c0dfe005f07769bb48ca5 commit 471d29fc25d0c664931c0dfe005f07769bb48ca5 Author: Yuri Victorovich AuthorDate: 2024-03-22 04:02:27 +0000 Commit: Yuri Victorovich CommitDate: 2024-03-22 04:02:27 +0000 misc/py-openai-whisper: New port: Robust Speech Recognition via Large-Scale Weak Supervision --- misc/Makefile | 1 + misc/py-openai-whisper/Makefile | 33 +++++++++++++++++++++++++++++++++ misc/py-openai-whisper/distinfo | 3 +++ misc/py-openai-whisper/pkg-descr | 4 ++++ 4 files changed, 41 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index 6ef2c99c1ff5..75b1f28a5c61 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -450,6 +450,7 @@ SUBDIR += py-onnx SUBDIR += py-onnx-tf SUBDIR += py-openai + SUBDIR += py-openai-whisper SUBDIR += py-openpaperwork-core SUBDIR += py-openpaperwork-gtk SUBDIR += py-openvdb diff --git a/misc/py-openai-whisper/Makefile b/misc/py-openai-whisper/Makefile new file mode 100644 index 000000000000..a8e1f4dbc882 --- /dev/null +++ b/misc/py-openai-whisper/Makefile @@ -0,0 +1,33 @@ +PORTNAME= openai-whisper +DISTVERSIONPREFIX= v +DISTVERSION= 20231117 +CATEGORIES= misc python # machine-learning +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Robust Speech Recognition via Large-Scale Weak Supervision +WWW= https://openai.com/research/whisper + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}more-itertools>0:devel/py-more-itertools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numba>0:devel/py-numba@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tiktoken>=0:textproc/py-tiktoken@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytorch>=0:misc/py-pytorch@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist pytest # tests use 4+ GB each, several tests fail + +USE_GITHUB= yes +GH_ACCOUNT= openai +GH_PROJECT= whisper + +NO_ARCH= yes + +.include diff --git a/misc/py-openai-whisper/distinfo b/misc/py-openai-whisper/distinfo new file mode 100644 index 000000000000..9cf8b2cb969b --- /dev/null +++ b/misc/py-openai-whisper/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1711013814 +SHA256 (openai-whisper-v20231117_GH0.tar.gz) = b0f8b8d3b485fad2c423ba7f8b95eded067aad11ed3165828aad819d168cac06 +SIZE (openai-whisper-v20231117_GH0.tar.gz) = 7261054 diff --git a/misc/py-openai-whisper/pkg-descr b/misc/py-openai-whisper/pkg-descr new file mode 100644 index 000000000000..c448226b1e34 --- /dev/null +++ b/misc/py-openai-whisper/pkg-descr @@ -0,0 +1,4 @@ +Whisper is a general-purpose speech recognition model. It is trained on a large +dataset of diverse audio and is also a multitasking model that can perform +multilingual speech recognition, speech translation, and language +identification.