Install this version:
emerge -a =dev-python/humming-kernels-0.1.16
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/humming-kernels-0.1.16
Or alternatively:
emerge --autounmask-write -a =dev-python/humming-kernels-0.1.16
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.1.16 | 8 | ~amd64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1 pypi
DESCRIPTION="JIT-compiled quantization GEMM kernel library (vLLM humming backend)"
HOMEPAGE="
https://github.com/vllm-project/humming
https://pypi.org/project/humming-kernels/
"
S="${WORKDIR}/humming_kernels-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
# Tests require a CUDA device and SM75+ nvcc JIT. verified 2026-06-14
RESTRICT="test"
# Bundled CUDA and native helpers JIT at runtime with system CUDA, g++, and
# PyTorch's Ninja extension loader.
RDEPEND="
app-alternatives/ninja
dev-util/nvidia-cuda-toolkit:=
>=sci-ml/pytorch-2.7[${PYTHON_SINGLE_USEDEP}]
sci-ml/caffe2[cuda,-rocm]
sys-devel/gcc:*[cxx]
$(python_gen_cond_dep '
dev-python/filelock[${PYTHON_USEDEP}]
virtual/triton[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
sci-ml/safetensors[${PYTHON_USEDEP}]
dev-python/jinja2[${PYTHON_USEDEP}]
dev-python/cuda-bindings[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
dev-python/tabulate[${PYTHON_USEDEP}]
')
"
BDEPEND="
$(python_gen_cond_dep '
>=dev-python/setuptools-scm-8[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
')
"
app-alternatives/ninja dev-util/nvidia-cuda-toolkit:= >=sci-ml/pytorch-2.7[${PYTHON_SINGLE_USEDEP}] sci-ml/caffe2[cuda,-rocm] sys-devel/gcc:*[cxx] $(python_gen_cond_dep ' dev-python/filelock[${PYTHON_USEDEP}] virtual/triton[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] sci-ml/safetensors[${PYTHON_USEDEP}] dev-python/jinja2[${PYTHON_USEDEP}] dev-python/cuda-bindings[${PYTHON_USEDEP}] dev-python/packaging[${PYTHON_USEDEP}] dev-python/tqdm[${PYTHON_USEDEP}] dev-python/tabulate[${PYTHON_USEDEP}] ')
$(python_gen_cond_dep ' >=dev-python/setuptools-scm-8[${PYTHON_USEDEP}] dev-python/wheel[${PYTHON_USEDEP}] ')