Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
Port details
py-peft Parameter-Efficient Fine-Tuning (PEFT)
0.21.2 misc Σ=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 0.19.1Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
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.
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 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>) #
  • py312: py312-peft
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): #
py312-peft
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest-0.21.2---
FreeBSD:14:quarterly-0.19.1---
FreeBSD:15:latest-0.21.2n/a-n/a
FreeBSD:15:quarterly-0.19.1n/a-n/a
FreeBSD:16:latest-0.21.2n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-setuptools>=63.1.0 : devel/py-setuptools@py312
  2. python3.12 : lang/python312
Test dependencies: #
  1. py312-datasets>0 : misc/py-datasets@py312
  2. py312-diffusers>0 : misc/py-diffusers@py312
  3. py312-parameterized>0 : devel/py-parameterized@py312
  4. py312-protobuf>0 : devel/py-protobuf@py312
  5. py312-pytest-cov>0 : devel/py-pytest-cov@py312
  6. py312-pytest-xdist>0 : devel/py-pytest-xdist@py312
  7. py312-scipy>0 : science/py-scipy@py312
  8. py312-sentencepiece>0 : textproc/py-sentencepiece@py312
  9. py312-pytest>=7,1 : devel/py-pytest@py312
  10. python3.12 : lang/python312
Runtime dependencies: #
  1. py312-accelerate>=0.21.0 : misc/py-accelerate@py312
  2. py312-huggingface-hub>=0.25.0 : misc/py-huggingface-hub@py312
  3. py312-numpy>=1.17 : math/py-numpy@py312
  4. py312-packaging>=20.0 : devel/py-packaging@py312
  5. py312-psutil>0 : sysutils/py-psutil@py312
  6. py312-pytorch>=1.13.0 : misc/py-pytorch@py312
  7. py312-pyyaml>0 : devel/py-pyyaml@py312
  8. py312-safetensors>0 : misc/py-safetensors@py312
  9. py312-tqdm>0 : misc/py-tqdm@py312
  10. py312-transformers>0 : misc/py-transformers@py312
  11. python3.12 : lang/python312
This port is required by: #
for Test #
  1. 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: #
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: 9 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.21.2
22 Oct 2026 21:55:26
commit hash: 3a499882c13bf1cf93d2ad3bd0d7bdfeb774226acommit hash: 3a499882c13bf1cf93d2ad3bd0d7bdfeb774226acommit hash: 3a499882c13bf1cf93d2ad3bd0d7bdfeb774226acommit hash: 3a499882c13bf1cf93d2ad3bd0d7bdfeb774226a files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-peft: update 0.19.1 → 0.21.2
0.19.1
03 Jun 2026 17:25:14
commit hash: 761c830e6959acbdb3340692c8767e1f68c4899ecommit hash: 761c830e6959acbdb3340692c8767e1f68c4899ecommit hash: 761c830e6959acbdb3340692c8767e1f68c4899ecommit hash: 761c830e6959acbdb3340692c8767e1f68c4899e files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-peft: update 0.19.0 → 0.19.1
0.19.0_1
05 May 2026 19:29:37
commit hash: 2bf3834a197ccf8956332378eda8dd7577965246commit hash: 2bf3834a197ccf8956332378eda8dd7577965246commit hash: 2bf3834a197ccf8956332378eda8dd7577965246commit hash: 2bf3834a197ccf8956332378eda8dd7577965246 files touched by this commit
Max Brazhnikov (makc) search for other commits by this committer
*/*: bump PORTREVISION after switching to NumPy 2.x
0.19.0
05 May 2026 19:29:37
commit hash: b0b4d9e1eae890d0de1591e20fb37358439a2ff6commit hash: b0b4d9e1eae890d0de1591e20fb37358439a2ff6commit hash: b0b4d9e1eae890d0de1591e20fb37358439a2ff6commit hash: b0b4d9e1eae890d0de1591e20fb37358439a2ff6 files touched by this commit Sanity Test Failure
Max Brazhnikov (makc) search for other commits by this committer
*/*: Switch to NumPy 2.x

PR:		294328
Exp-run:	antoine
0.19.0
15 Apr 2026 07:43:17
commit hash: 7cab9292006adb91055ba063adac6543567de3e0commit hash: 7cab9292006adb91055ba063adac6543567de3e0commit hash: 7cab9292006adb91055ba063adac6543567de3e0commit hash: 7cab9292006adb91055ba063adac6543567de3e0 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-peft: update 0.17.1 → 0.19.0
0.17.1_2
03 Apr 2026 20:52:43
commit hash: d04d23ae37d04c8ddf74c04ee868900b9189295acommit hash: d04d23ae37d04c8ddf74c04ee868900b9189295acommit hash: d04d23ae37d04c8ddf74c04ee868900b9189295acommit hash: d04d23ae37d04c8ddf74c04ee868900b9189295a files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
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
commit hash: d4bd5ba72edc9f537254aeb1ff893399e3eb2278commit hash: d4bd5ba72edc9f537254aeb1ff893399e3eb2278commit hash: d4bd5ba72edc9f537254aeb1ff893399e3eb2278commit hash: d4bd5ba72edc9f537254aeb1ff893399e3eb2278 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
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
commit hash: 8b878d88b4f7f3a0a6477f645085c808b2588808commit hash: 8b878d88b4f7f3a0a6477f645085c808b2588808commit hash: 8b878d88b4f7f3a0a6477f645085c808b2588808commit hash: 8b878d88b4f7f3a0a6477f645085c808b2588808 files touched by this commit
Vsevolod Stakhov (vsevolod) search for other commits by this committer
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
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: 9