Install this version:
emerge -a =sci-ml/peft-0.19.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sci-ml/peft-0.19.1
Or alternatively:
emerge --autounmask-write -a =sci-ml/peft-0.19.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.19.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=setuptools
DISTUTILS_SINGLE_IMPL=1
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Parameter-Efficient Fine-Tuning (LoRA/QLoRA adapters) for PyTorch"
HOMEPAGE="
https://github.com/huggingface/peft
https://pypi.org/project/peft/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=sci-ml/accelerate-0.21.0[${PYTHON_SINGLE_USEDEP}]
>=sci-ml/huggingface_hub-0.25.0[${PYTHON_SINGLE_USEDEP}]
sci-ml/pytorch[${PYTHON_SINGLE_USEDEP}]
sci-ml/transformers[${PYTHON_SINGLE_USEDEP}]
$(python_gen_cond_dep '
dev-python/numpy[${PYTHON_USEDEP}]
>=dev-python/packaging-20.0[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
sci-ml/safetensors[${PYTHON_USEDEP}]
')
"
>=sci-ml/accelerate-0.21.0[${PYTHON_SINGLE_USEDEP}] >=sci-ml/huggingface_hub-0.25.0[${PYTHON_SINGLE_USEDEP}] sci-ml/pytorch[${PYTHON_SINGLE_USEDEP}] sci-ml/transformers[${PYTHON_SINGLE_USEDEP}] $(python_gen_cond_dep ' dev-python/numpy[${PYTHON_USEDEP}] >=dev-python/packaging-20.0[${PYTHON_USEDEP}] dev-python/psutil[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] dev-python/tqdm[${PYTHON_USEDEP}] sci-ml/safetensors[${PYTHON_USEDEP}] ')