Install this version:
emerge -a =dev-python/nvidia-cutlass-dsl-libs-base-4.8.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/nvidia-cutlass-dsl-libs-base-4.8.1
Or alternatively:
emerge --autounmask-write -a =dev-python/nvidia-cutlass-dsl-libs-base-4.8.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 4.8.1 | 8 | -* ~amd64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=no
DISTUTILS_EXT=1
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
MY_PN=${PN//-/_}
MY_BASE="https://files.pythonhosted.org/packages"
DESCRIPTION="NVIDIA CUTLASS Python DSL — base shared libs"
HOMEPAGE="
https://github.com/NVIDIA/cutlass
https://pypi.org/project/nvidia-cutlass-dsl-libs-base/
"
SRC_URI="
python_targets_python3_12? ( ${MY_BASE}/28/97/d8212f685544dc7208d78186128dc8a454158b1817a76b34d25392b9f910/${MY_PN}-${PV}-cp312-cp312-manylinux_2_28_x86_64.whl )
python_targets_python3_13? ( ${MY_BASE}/ba/ce/11f39803f91cd9c44011abdeea0807b305e9394669ce5a70a9d9a94a9f90/${MY_PN}-${PV}-cp313-cp313-manylinux_2_28_x86_64.whl )
python_targets_python3_14? ( ${MY_BASE}/41/ec/f0d11a7ca73cd973acc44f957db2cc8a63b09d2485ac851d74ed2b6b490d/${MY_PN}-${PV}-cp314-cp314-manylinux_2_28_x86_64.whl )
"
S="${WORKDIR}"
LICENSE="NVIDIA-CUTLASS"
SLOT="0"
KEYWORDS="-* ~amd64"
# The CUTLASS EULA prohibits redistributing the binary payload.
RESTRICT="bindist mirror strip"
# Binary-only split wheel. libs-core supplies CUDA nvdisasm; iket is its sole
# protobuf consumer and works with 7.35.1, so omit upstream's <7 cap.
# verified 2026-08-26
RDEPEND="
~dev-python/nvidia-cutlass-dsl-libs-core-${PV}[${PYTHON_USEDEP}]
>=dev-python/cuda-python-12.8[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
>=dev-python/protobuf-6.30.2[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.10.0[${PYTHON_USEDEP}]
"
QA_PREBUILT="usr/lib/python3.*/site-packages/nvidia_cutlass_dsl/*"
BDEPEND+="
$(python_gen_cond_dep '
dev-python/installer[${PYTHON_USEDEP}]
')
"
src_unpack() {
mkdir -p "${S}/wheel" || die
local f
for f in ${A}; do
cp "${DISTDIR}/${f}" "${S}/wheel/" || die
done
}
# Since 4.6.0, base and cu13 payloads are disjoint; no collision dedup is
# needed. The parent wheel's .pth enables `import cutlass`. verified 2026-08-26
python_install() {
local pyver=${EPYTHON#python}
local cptag=cp${pyver//./}
local whl="${MY_PN}-${PV}-${cptag}-${cptag}-manylinux_2_28_x86_64.whl"
[[ -f ${S}/wheel/${whl} ]] || die "expected wheel ${whl} not found"
${EPYTHON} -m installer --destdir="${D}" "${S}/wheel/${whl}" || die
python_optimize
}
~dev-python/nvidia-cutlass-dsl-libs-core-4.8.1[] >=dev-python/cuda-python-12.8[] dev-python/numpy[] >=dev-python/protobuf-6.30.2[] >=dev-python/typing-extensions-4.10.0[]
$(python_gen_cond_dep ' dev-python/installer[${PYTHON_USEDEP}] ')