diff options
Diffstat (limited to 'misc/py-diffusers')
-rw-r--r-- | misc/py-diffusers/Makefile | 30 | ||||
-rw-r--r-- | misc/py-diffusers/distinfo | 3 | ||||
-rw-r--r-- | misc/py-diffusers/pkg-descr | 10 |
3 files changed, 43 insertions, 0 deletions
diff --git a/misc/py-diffusers/Makefile b/misc/py-diffusers/Makefile new file mode 100644 index 000000000000..497d6961a3a4 --- /dev/null +++ b/misc/py-diffusers/Makefile @@ -0,0 +1,30 @@ +PORTNAME= diffusers +DISTVERSION= 0.35.1 +CATEGORIES= misc python # machine-learning +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= State-of-the-art diffusion in PyTorch and JAX +WWW= https://huggingface.co/docs/diffusers/index + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}filelock>0:sysutils/py-filelock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}huggingface-hub>=0.34.0:misc/py-huggingface-hub@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}regex>0:textproc/py-regex@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}safetensors>0:misc/py-safetensors@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 concurrent autoplist + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/misc/py-diffusers/distinfo b/misc/py-diffusers/distinfo new file mode 100644 index 000000000000..dde035935d3b --- /dev/null +++ b/misc/py-diffusers/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1755797256 +SHA256 (diffusers-0.35.1.tar.gz) = 6f4dc0c9d309a4c4914a2179646f2bc801b5e395a43295fff3b5f9dbd3e28fd3 +SIZE (diffusers-0.35.1.tar.gz) = 3369127 diff --git a/misc/py-diffusers/pkg-descr b/misc/py-diffusers/pkg-descr new file mode 100644 index 000000000000..91acf2b0e18f --- /dev/null +++ b/misc/py-diffusers/pkg-descr @@ -0,0 +1,10 @@ +Diffusers is the go-to library for state-of-the-art pretrained diffusion models +for generating images, audio, and even 3D structures of molecules. + +Diffusers offers three core components: +* State-of-the-art diffusion pipelines that can be run in inference with just a + few lines of code. +* Interchangeable noise schedulers for different diffusion speeds and output + quality. +* Pretrained models that can be used as building blocks, and combined with + schedulers, for creating your own end-to-end diffusion systems. |