notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Commit processing is stalled - it is a jail issue. I will work on it later today. 2025-09-17 12:17 UTC - It has been fixed. Sometime before 17:27 UTC.
Port details
py-peft Parameter-Efficient Fine-Tuning (PEFT)
0.17.1 miscnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-09-19 02:09:10
Last Update: 2025-09-19 02:02:02
Commit Hash: d3ac8e0
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.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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 py311-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 py311-peft listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-peft
Package flavors (<flavor>: <package>)
  • py311: py311-peft
distinfo:
TIMESTAMP = 1758189811 SHA256 (peft-0.17.1.tar.gz) = e6002b42517976c290b3b8bbb9829a33dd5d470676b2dec7cb4df8501b77eb9f SIZE (peft-0.17.1.tar.gz) = 568192

Packages (timestamps in pop-ups are UTC):
py311-peft
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-0.17.1------
FreeBSD:13:quarterly--------
FreeBSD:14:latest-0.17.1------
FreeBSD:14:quarterly--------
FreeBSD:15:latest-0.17.1n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  2. python3.11 : lang/python311
Test dependencies:
  1. py311-datasets>0 : misc/py-datasets@py311
  2. py311-diffusers>0 : misc/py-diffusers@py311
  3. py311-parameterized>0 : devel/py-parameterized@py311
  4. py311-protobuf>0 : devel/py-protobuf@py311
  5. py311-pytest-cov>0 : devel/py-pytest-cov@py311
  6. py311-pytest-xdist>0 : devel/py-pytest-xdist@py311
  7. py311-scipy>0 : science/py-scipy@py311
  8. py311-sentencepiece>0 : textproc/py-sentencepiece@py311
  9. py311-pytest>=7,1 : devel/py-pytest@py311
  10. python3.11 : lang/python311
Runtime dependencies:
  1. py311-accelerate>=0.21.0 : misc/py-accelerate@py311
  2. py311-huggingface-hub>=0.25.0 : misc/py-huggingface-hub@py311
  3. py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
  4. py311-packaging>=20.0 : devel/py-packaging@py311
  5. py311-psutil>0 : sysutils/py-psutil@py311
  6. py311-pytorch>=1.13.0 : misc/py-pytorch@py311
  7. py311-pyyaml>0 : devel/py-pyyaml@py311
  8. py311-safetensors>0 : misc/py-safetensors@py311
  9. py311-tqdm>0 : misc/py-tqdm@py311
  10. py311-transformers>0 : misc/py-transformers@py311
  11. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
misc_py-peft
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/p/peft/
  2. https://pypi.org/packages/source/p/peft/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.17.1
19 Sep 2025 02:02:02
commit hash: d3ac8e0ce54f4afd92aff105286b588c0b50816fcommit hash: d3ac8e0ce54f4afd92aff105286b588c0b50816fcommit hash: d3ac8e0ce54f4afd92aff105286b588c0b50816fcommit hash: d3ac8e0ce54f4afd92aff105286b588c0b50816f files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-peft: New port: Parameter-Efficient Fine-Tuning (PEFT)

Number of commits found: 1