misc/py-comfy-kitchen 0.2.37 FreeBSD
ComfyUI: Fast kernel library for Diffusion inference
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
ab093e4024- License
- APACHE20
- Categories
- misc, python
- Package size
- 362.2 KiB, 2517.4 KiB installed
Description
Comfy Kitchen is a high-performance kernel library designed for Diffusion model inference. It provides optimized implementations for critical operations, including various quantization formats and Rotary Positional Embeddings (RoPE). The library features a flexible dispatch system that automatically selects the most efficient compute backend—CUDA, Triton, or eager PyTorch—based on available hardware and input constraints.
Key features include: * Optimized kernels specifically tuned for Diffusion inference workloads. * Support for multiple compute backends (CUDA C, Triton JIT, and pure PyTorch). * Transparent quantization via a QuantizedTensor subclass that intercepts PyTorch operations. * Support for advanced quantization formats including FP8, NVFP4, and MXFP8. * Automatic backend selection and constraint validation for hardware-specific optimizations. * Implementation of performance-critical functions like RoPE and scaled matrix multiplication.
Install
Binary package:
pkg install py312-comfy-kitchen
From the ports tree:
cd /usr/ports/misc/py-comfy-kitchen/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-comfy-kitchen>0:misc/py-comfy-kitchen
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.2.33 | 0.2.37 | - | - | - |
| FreeBSD:14:quarterly | 0.2.33 | 0.2.33 | n/a | - | - |
| FreeBSD:15:latest | 0.2.37 | 0.2.37 | n/a | - | - |
| FreeBSD:15:quarterly | 0.2.33 | 0.2.33 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.2.33 | 0.2.37 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}nanobind>=2.0.0: devel/py-nanobind${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheelcmake: devel/cmake
Runtime 1
${PYTHON_PKGNAMEPREFIX}pytorch>=2.5.0: misc/py-pytorch
The full lists below include those, and their dependencies in turn.
Build dependencies 27
- archivers/liblz4
- archivers/zstd
- devel/cmake
- devel/cmake-core
- devel/cmake-doc
- devel/cmake-man
- devel/gettext-runtime
- devel/jsoncpp
- devel/libffi
- devel/libunistring
- devel/libuv
- devel/py-build
- devel/py-installer
- devel/py-nanobind
- devel/py-packaging
- devel/py-pyproject-hooks
- devel/py-setuptools
- devel/py-wheel
- devel/readline
- dns/libidn2
- lang/python312
- lang/python315
- math/mpdecimal
- ports-mgmt/pkg
- print/indexinfo
- security/rhash
- textproc/expat2
Run dependencies 203
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/lzo2
- archivers/minizip
- archivers/py-brotli
- archivers/py-zopfli
- archivers/zopfli
- archivers/zstd
- converters/fribidi
- converters/libiconv
- databases/postgresql18-client
- databases/py-sqlite3
- databases/sfcgal
- databases/spatialite
- databases/sqlite3
- devel/abseil
- devel/binutils
- devel/boost-libs
- devel/gettext-runtime
- devel/glib20
- devel/hwloc2
- devel/icu
- devel/json-c
- devel/jsoncpp
- devel/level-zero
- devel/libdatrie
- devel/libedit
- devel/libepoll-shim
- devel/libevent
- devel/libffi
- devel/libinotify
- devel/libltdl
- devel/libpciaccess
- devel/librttopo
- devel/libthai
- devel/libunistring
- devel/npth
- devel/nspr
- devel/pcre2
- devel/pkgconf
- devel/protobuf
- devel/py-Jinja2
- devel/py-aiosignal
- devel/py-astunparse
- devel/py-attrs
- devel/py-babel
- devel/py-cycler
- devel/py-dill
- devel/py-frozenlist
- devel/py-lxml
- devel/py-olefile
- devel/py-packaging
- devel/py-propcache
- devel/py-protobuf
- devel/py-pyparsing
- devel/py-python-dateutil
- devel/py-pytz
- devel/py-pyyaml
- devel/py-six
- devel/py-typing-extensions
- devel/py-tzdata
- devel/py-unicodedata2
- devel/py-wheel
- devel/readline
- dns/libidn2
- dns/libpsl
- dns/py-idna
- filesystems/py-fsspec
- ftp/curl
- graphics/cairo
- graphics/gd
- graphics/gdal
- graphics/gdk-pixbuf2
- graphics/geos
- graphics/giflib
- graphics/graphite2
- graphics/graphviz
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/libavif
- graphics/libgeotiff
- graphics/libimagequant
- graphics/libyuv
- graphics/openjpeg
- graphics/png
- graphics/poppler
- graphics/poppler-data
- graphics/proj
- graphics/py-gdal
- graphics/py-pillow
- graphics/py-pydot
- graphics/py-pygraphviz
- graphics/tiff
- graphics/vulkan-loader
- graphics/wayland
- graphics/webp
- lang/gcc14
The first 100 are listed.
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Comfy-Org-comfy-kitchen-v0.2.37_GH0.tar.gz | 704058 | cba90d46832be9e23f3584fc7a82f3371dd2832c8728d31fa3abe2cd30b55b1b |