Date: Fri, 22 Mar 2024 09:55:18 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: b3180c409b30 - main - misc/py-timm: New port: PyTorch Image Models Message-ID: <202403220955.42M9tI7Q028526@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b3180c409b30119ee92be6b5807a6778a7a739ff commit b3180c409b30119ee92be6b5807a6778a7a739ff Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-03-22 09:20:09 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-03-22 09:55:15 +0000 misc/py-timm: New port: PyTorch Image Models --- misc/Makefile | 1 + misc/py-timm/Makefile | 30 ++++++++++++++++++++++++++++++ misc/py-timm/distinfo | 3 +++ misc/py-timm/pkg-descr | 3 +++ 4 files changed, 37 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index 57a5640e3f40..ddd33e170078 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -499,6 +499,7 @@ SUBDIR += py-tflite SUBDIR += py-tflite-support SUBDIR += py-thermocouples_reference + SUBDIR += py-timm SUBDIR += py-toil SUBDIR += py-torch-geometric SUBDIR += py-torchmetrics diff --git a/misc/py-timm/Makefile b/misc/py-timm/Makefile new file mode 100644 index 000000000000..5cf9a3bec037 --- /dev/null +++ b/misc/py-timm/Makefile @@ -0,0 +1,30 @@ +PORTNAME= timm +DISTVERSION= 0.9.16 +CATEGORIES= misc python # machine-learning +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= PyTorch Image Models +WWW= https://huggingface.co/docs/timm/index + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-backend>0:devel/py-pdm-backend@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}huggingface-hub>=0:misc/py-huggingface-hub@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytorch>0:misc/py-pytorch@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}torchvision>0:misc/py-torchvision@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}safetensors>0:misc/py-safetensors@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}expecttest>0:devel/py-expecttest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-forked>0:devel/py-pytest-forked@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-timeout>0:devel/py-pytest-timeout@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist pytest # some tests fail, tests consume gigabytes of disk space + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/misc/py-timm/distinfo b/misc/py-timm/distinfo new file mode 100644 index 000000000000..be0251c2a2cb --- /dev/null +++ b/misc/py-timm/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1711072315 +SHA256 (timm-0.9.16.tar.gz) = 891e54f375d55adf31a71ab0c117761f0e472f9f3971858ecdd1e7376b7071e6 +SIZE (timm-0.9.16.tar.gz) = 2121824 diff --git a/misc/py-timm/pkg-descr b/misc/py-timm/pkg-descr new file mode 100644 index 000000000000..7b96760c5134 --- /dev/null +++ b/misc/py-timm/pkg-descr @@ -0,0 +1,3 @@ +timm is a library containing SOTA computer vision models, layers, utilities, +optimizers, schedulers, data-loaders, augmentations, and training/evaluation +scripts.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403220955.42M9tI7Q028526>