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 photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details
py-peft Parameter-Efficient Fine-Tuning (PEFT)
0.19.1 misc 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 0.17.1_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-06-03 17:25:14
Commit Hash: 761c830
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 = 1780503874 SHA256 (peft-0.19.1.tar.gz) = 0d97542fe96dcdaa20d3b81c06f26f988618f416a73544ab23c3618ccb674a40 SIZE (peft-0.19.1.tar.gz) = 763738

Packages (timestamps in pop-ups are UTC):
py311-peft
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-0.17.1_1---n/an/an/a
FreeBSD:14:latest--------
FreeBSD:14:quarterly-0.17.1_1------
FreeBSD:15:latest-0.19.0_1n/a-n/an/a--
FreeBSD:15:quarterly-0.17.1_1n/a-n/an/a--
FreeBSD:16:latest-0.19.0_1n/a-n/an/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.17 : 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: 8

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
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: 8