Port details
py-peft Parameter-Efficient Fine-Tuning (PEFT)
0.21.2 misc Σ =0 0.19.1Version of this port present on the latest quarterly branch. Maintainer: yuri@FreeBSD.org Port Added: 2025-09-19 02:09:10
Last Update: 2026-10-22 21:55:26
Commit Hash: 3a49988
Also Listed In: python
License: APACHE20
WWW: https://huggingface.co/docs/peft/index https://github.com/huggingface/peft Description: # The peft module contains state-of-the-art Parameter-Efficient Fine-Tuning
(PEFT) methods.
Fine-tuning large pretrained models is often prohibitively costly due to their
scale. Parameter-Efficient Fine-Tuning (PEFT) methods enable efficient
adaptation of large pretrained models to various downstream applications by only
fine-tuning a small number of (extra) model parameters instead of all the
model's parameters. This significantly decreases the computational and storage
costs. Recent state-of-the-art PEFT techniques achieve performance comparable to
fully fine-tuned models.
PEFT is integrated with Transformers for easy model training and inference,
Diffusers for conveniently managing different adapters, and Accelerate for
distributed training and inference for really big models. ¦ ¦ ¦ ¦
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist # There is no configure plist information for this port. USE_RC_SUBR (Service Scripts)
no SUBR information found for this port
Dependency lines :
${PYTHON_PKGNAMEPREFIX}peft>0:misc/py-peft@${PY_FLAVOR} To install the port : # cd /usr/ports/misc/py-peft/ && make install clean To add the package , run one of these commands: pkg install misc/py-peft pkg install py312-peft NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-peft listed in the above command, you can pick from the names under the Packages section.PKGNAME: py312-peft Package flavors (<flavor>: <package> ) # distinfo: # TIMESTAMP = 1792657199
SHA256 (peft-0.21.2.tar.gz) = b803ccfb3f3f316004d850284306687833a2235ea278fb56abc856203456142e
SIZE (peft-0.21.2.tar.gz) = 983614
Packages (timestamps in pop-ups are UTC): #
Dependencies # NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered. Build dependencies: #
py312-setuptools>=63.1.0 : devel/py-setuptools@py312 python3.12 : lang/python312
Test dependencies: #
py312-datasets>0 : misc/py-datasets@py312 py312-diffusers>0 : misc/py-diffusers@py312 py312-parameterized>0 : devel/py-parameterized@py312 py312-protobuf>0 : devel/py-protobuf@py312 py312-pytest-cov>0 : devel/py-pytest-cov@py312 py312-pytest-xdist>0 : devel/py-pytest-xdist@py312 py312-scipy>0 : science/py-scipy@py312 py312-sentencepiece>0 : textproc/py-sentencepiece@py312 py312-pytest>=7,1 : devel/py-pytest@py312 python3.12 : lang/python312
Runtime dependencies: #
py312-accelerate>=0.21.0 : misc/py-accelerate@py312 py312-huggingface-hub>=0.25.0 : misc/py-huggingface-hub@py312 py312-numpy>=1.17 : math/py-numpy@py312 py312-packaging>=20.0 : devel/py-packaging@py312 py312-psutil>0 : sysutils/py-psutil@py312 py312-pytorch>=1.13.0 : misc/py-pytorch@py312 py312-pyyaml>0 : devel/py-pyyaml@py312 py312-safetensors>0 : misc/py-safetensors@py312 py312-tqdm>0 : misc/py-tqdm@py312 py312-transformers>0 : misc/py-transformers@py312 python3.12 : lang/python312
This port is required by: # for Test #
misc/py-accelerate
Configuration Options : #
No options to configure Options name : #
misc_py-peft USES: #
python
pkg-message: # FreshPorts was unable to extract/find any pkg message Master Sites: #
Number of commits found: 9 #
Commit History - (may be incomplete: for full details, see links to repositories near top of page)
Commit Credits Log message
0.21.2 22 Oct 2026 21:55:26
Yuri Victorovich (yuri)
misc/py-peft: update 0.19.1 → 0.21.2
0.19.1 03 Jun 2026 17:25:14
Yuri Victorovich (yuri)
misc/py-peft: update 0.19.0 → 0.19.1
0.19.0_1 05 May 2026 19:29:37
Max Brazhnikov (makc)
*/*: bump PORTREVISION after switching to NumPy 2.x
0.19.0 05 May 2026 19:29:37
Max Brazhnikov (makc)
*/*: Switch to NumPy 2.x
PR: 294328
Exp-run: antoine
0.19.0 15 Apr 2026 07:43:17
Yuri Victorovich (yuri)
misc/py-peft: update 0.17.1 → 0.19.0
0.17.1_2 03 Apr 2026 20:52:43
Charlie Li (vishwin)
python.mk: retire ${PYNUMPY}
With both math/py-numpy (2) and math/py-numpy1, the variable stopped
making sense. Also remove the upper version bound.
0.17.1_2 03 Apr 2026 18:52:22
Charlie Li (vishwin)
math/py-numpy: switch all consumers to math/py-numpy1
...and bump PORTREVISIONs of consumers with hard RUN_DEPENDS
PR: 281470
0.17.1_1 07 Jan 2026 10:22:10
Vsevolod Stakhov (vsevolod)
security/libsodium: Update to 1.0.21
The API remains compatible but bumping all dependent ports as SHLIB
has changed.
Changelog: https://github.com/jedisct1/libsodium/releases/tag/1.0.21-RELEASE
Security: https://00f.net/2025/12/30/libsodium-vulnerability/
PR: 279347
0.17.1 19 Sep 2025 02:02:02
Yuri Victorovich (yuri)
misc/py-peft: New port: Parameter-Efficient Fine-Tuning (PEFT)
Number of commits found: 9