git: 3e79fa112e35 - main - misc/py-mmengine: New port: Engine of OpenMMLab projects: training PyTorch deep learning models
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Dec 2023 19:26:04 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=3e79fa112e352925d8f689f21aa98885418c59fa commit 3e79fa112e352925d8f689f21aa98885418c59fa Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-12-27 18:22:54 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-12-27 19:26:00 +0000 misc/py-mmengine: New port: Engine of OpenMMLab projects: training PyTorch deep learning models --- misc/Makefile | 1 + misc/py-mmengine/Makefile | 31 +++++++++++++++++++++++++++++++ misc/py-mmengine/distinfo | 3 +++ misc/py-mmengine/pkg-descr | 6 ++++++ 4 files changed, 41 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index e821650d7b5b..1cef8d6330b7 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -434,6 +434,7 @@ SUBDIR += py-lightning-utilities SUBDIR += py-log_symbols SUBDIR += py-mffpy + SUBDIR += py-mmengine SUBDIR += py-molequeue SUBDIR += py-mxnet SUBDIR += py-npTDMS diff --git a/misc/py-mmengine/Makefile b/misc/py-mmengine/Makefile new file mode 100644 index 000000000000..5edef1de736b --- /dev/null +++ b/misc/py-mmengine/Makefile @@ -0,0 +1,31 @@ +PORTNAME= mmengine +DISTVERSIONPREFIX= v +DISTVERSION= 0.10.2 +CATEGORIES= misc # machine-learning +#MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Engine of OpenMMLab projects: training PyTorch deep learning models +WWW= https://mmengine.readthedocs.io/en/latest/ + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}addict>=0:devel/py-addict@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}rich>=0:textproc/py-rich@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}termcolor>=0:devel/py-termcolor@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yapf>=0:textproc/py-yapf@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist # pytest: many test dependencies are missing + +USE_GITHUB= yes +GH_ACCOUNT= open-mmlab + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/misc/py-mmengine/distinfo b/misc/py-mmengine/distinfo new file mode 100644 index 000000000000..eb2e9bd0966f --- /dev/null +++ b/misc/py-mmengine/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1703698050 +SHA256 (open-mmlab-mmengine-v0.10.2_GH0.tar.gz) = 232a3cb8ba9d63ae0e08005b1a1316ed72dd4ac2f5bab7190ecd28fd34d51477 +SIZE (open-mmlab-mmengine-v0.10.2_GH0.tar.gz) = 1435639 diff --git a/misc/py-mmengine/pkg-descr b/misc/py-mmengine/pkg-descr new file mode 100644 index 000000000000..0f80e8954046 --- /dev/null +++ b/misc/py-mmengine/pkg-descr @@ -0,0 +1,6 @@ +MMEngine is a foundational library for training deep learning models based on +PyTorch. It provides a solid engineering foundation and frees developers from +writing redundant codes on workflows. It serves as the training engine of all +OpenMMLab codebases, which support hundreds of algorithms in various research +areas. Moreover, MMEngine is also generic to be applied to non-OpenMMLab +projects.