misc/py-peft 0.19.1 FreeBSD
Parameter-Efficient Fine-Tuning (PEFT)
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- APACHE20
- Categories
- misc, python
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.
Install
Binary package:
pkg install py312-peft
From the ports tree:
cd /usr/ports/misc/py-peft/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-peft>0:misc/py-peft
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | 0.19.1 | - | - | - |
| FreeBSD:14:quarterly | - | 0.19.1 | n/a | - | - |
| FreeBSD:15:latest | - | 0.19.1 | n/a | - | - |
| FreeBSD:15:quarterly | - | 0.19.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | - | 0.19.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 10
${PYTHON_PKGNAMEPREFIX}accelerate>=0.21.0: misc/py-accelerate${PYTHON_PKGNAMEPREFIX}huggingface-hub>=0.25.0: misc/py-huggingface-hub${PYTHON_PKGNAMEPREFIX}numpy>=1.17: math/py-numpy${PYTHON_PKGNAMEPREFIX}packaging>=20.0: devel/py-packaging${PYTHON_PKGNAMEPREFIX}psutil>0: sysutils/py-psutil${PYTHON_PKGNAMEPREFIX}pytorch>=1.13.0: misc/py-pytorch${PYTHON_PKGNAMEPREFIX}pyyaml>0: devel/py-pyyaml${PYTHON_PKGNAMEPREFIX}safetensors>0: misc/py-safetensors${PYTHON_PKGNAMEPREFIX}tqdm>0: misc/py-tqdm${PYTHON_PKGNAMEPREFIX}transformers>0: misc/py-transformers
Test 8
${PYTHON_PKGNAMEPREFIX}datasets>0: misc/py-datasets${PYTHON_PKGNAMEPREFIX}diffusers>0: misc/py-diffusers${PYTHON_PKGNAMEPREFIX}parameterized>0: devel/py-parameterized${PYTHON_PKGNAMEPREFIX}protobuf>0: devel/py-protobuf${PYTHON_PKGNAMEPREFIX}pytest-cov>0: devel/py-pytest-cov${PYTHON_PKGNAMEPREFIX}pytest-xdist>0: devel/py-pytest-xdist${PYTHON_PKGNAMEPREFIX}scipy>0: science/py-scipy${PYTHON_PKGNAMEPREFIX}sentencepiece>0: textproc/py-sentencepiece
The full lists below include those, and their dependencies in turn.
Build dependencies 11
Run dependencies 480
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/lzo2
- archivers/minizip
- archivers/py-brotli
- archivers/py-zopfli
- archivers/py-zstandard
- archivers/snappy
- archivers/zopfli
- archivers/zstd
- audio/flac
- audio/lame
- audio/libogg
- audio/libsndfile
- audio/libsoxr
- audio/libvorbis
- audio/mpg123
- audio/opus
- audio/pulseaudio
- audio/py-SoundFile
- audio/py-librosa
- audio/py-soxr
- audio/py-torchaudio
- audio/speexdsp
- audio/webrtc-audio-processing
- comms/py-pyserial
- converters/fribidi
- converters/libiconv
- databases/arrow
- databases/gdbm
- databases/postgresql18-client
- databases/py-alembic
- databases/py-pyarrow
- databases/py-pyiceberg
- databases/py-sqlalchemy20
- databases/py-sqlite3
- databases/py-sqlparse
- databases/sfcgal
- databases/spatialite
- databases/sqlite3
- devel/abseil
- devel/aws-c-common
- devel/aws-c-compression
- devel/aws-c-event-stream
- devel/aws-c-http
- devel/aws-c-io
- devel/aws-c-mqtt
- devel/aws-c-s3
- devel/aws-c-sdkutils
- devel/aws-checksums
- devel/aws-crt-cpp
- devel/aws-sdk-cpp
- devel/benchmark
- devel/binutils
- devel/boost-libs
- devel/dbus
- devel/dbus-glib
- devel/gettext-runtime
- devel/gflags
- devel/glib20
- devel/googletest
- devel/grpc
- devel/hwloc2
- devel/icu
- devel/json-c
- devel/jsoncpp
- devel/level-zero
- devel/libdaemon
- devel/libdatrie
- devel/libedit
- devel/libepoll-shim
- devel/libevdev
- devel/libevent
- devel/libffi
- devel/libinotify
- devel/libltdl
- devel/libpciaccess
- devel/librttopo
- devel/libthai
- devel/libudev-devd
- devel/libunistring
- devel/llvm12
- devel/llvm19
- devel/llvm22
- devel/npth
- devel/nspr
- devel/onetbb
- devel/oniguruma
- devel/orc
- devel/pcre2
- devel/pkgconf
- devel/protobuf
- devel/py-Automat
- devel/py-Jinja2
- devel/py-aiobotocore
- devel/py-aioitertools
- devel/py-aiosignal
- devel/py-annotated-doc
- devel/py-annotated-types
The first 100 are listed.
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| peft-0.19.1.tar.gz | 763738 | 0d97542fe96dcdaa20d3b81c06f26f988618f416a73544ab23c3618ccb674a40 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.