dev-python/comfy-kitchen-bin - 0.2.25 (stuff)

Search

Install

Install this version:

emerge -a =dev-python/comfy-kitchen-bin-0.2.25

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/comfy-kitchen-bin-0.2.25

Or alternatively:

emerge --autounmask-write -a =dev-python/comfy-kitchen-bin-0.2.25

Package Information

Description:
Fast diffusion-inference kernel library (RoPE + FP8/FP4 quant, binary wheel)
Homepage:
https://pypi.org/project/comfy-kitchen/
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
0.2.25 8 -* ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=no
PYTHON_COMPAT=( python3_{12..13} )

inherit distutils-r1

DESCRIPTION="Fast diffusion-inference kernel library (RoPE + FP8/FP4 quant, binary wheel)"
HOMEPAGE="https://pypi.org/project/comfy-kitchen/"
# No sdist upstream. USE=cuda installs the cp312-abi3 x86_64 manylinux wheel
# (CUDA + Triton kernels); without cuda the py3-none-any wheel -- eager + Triton
# backends, no CUDA -- for CPU/ROCm (its Triton backend rides on dev-python/
# triton-bin's AMD/CPU support).
SRC_URI="
	cuda? ( https://files.pythonhosted.org/packages/06/0d/670c6dfaa837da874d837ee6376fd073ea433e326746879dbabff522cefd/comfy_kitchen-${PV}-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl )
	!cuda? ( https://files.pythonhosted.org/packages/d3/66/0923415ac9411087a2f7daf893b8f1998b3fbfcc5e1aa598ad370b467b19/comfy_kitchen-${PV}-py3-none-any.whl )
"
S="${WORKDIR}"

# Apache-2.0 per upstream's classifier and the wheel's bundled LICENSE.
# verified 2026-07-01
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="-* ~amd64"
IUSE="+cuda"
RESTRICT="bindist mirror strip"

QA_PREBUILT="usr/lib/python3.*/site-packages/comfy_kitchen/*"

# Provides comfy_kitchen.apply_rope (used unconditionally by ComfyUI's flux/
# lumina/z-image RoPE path via comfy.quant_ops.ck) plus FP8/FP4 quant kernels.

src_unpack() {
	cp "${DISTDIR}/${A}" "${WORKDIR}/" || die
}

src_compile() { :; }

src_install() {
	python_foreach_impl install_wheel
}

install_wheel() {
	${EPYTHON} -m installer --destdir="${D}" "${WORKDIR}/${A}" || die
	python_optimize
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/comfy-kitchen-bin | euse -E <flag> -p dev-python/comfy-kitchen-bin | euse -D <flag> -p dev-python/comfy-kitchen-bin

Global/Standard Flags

cuda
Default: Enabled (+)

Inherited Eclasses

Manifest for 0.2.25

Type File Size Source URLs
DIST comfy_kitchen-0.2.25-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl 44592558 bytes https://files.pythonhosted.org/packages/06/0d/670c6dfaa837da874d837ee6376fd073ea433e326746879dbabff522cefd/comfy_kitchen-0.2.25-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
DIST comfy_kitchen-0.2.25-py3-none-any.whl 145278 bytes https://files.pythonhosted.org/packages/d3/66/0923415ac9411087a2f7daf893b8f1998b3fbfcc5e1aa598ad370b467b19/comfy_kitchen-0.2.25-py3-none-any.whl