| Port details |
- py-transformers State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow
- 5.3.0_1 misc
=0 5.3.0Version of this port present on the latest quarterly branch. - Maintainer: yuri@FreeBSD.org
 - Port Added: 2025-08-19 15:48:13
- Last Update: 2026-04-03 20:52:43
- Commit Hash: d04d23a
- Also Listed In: python
- License: APACHE20
- WWW:
- https://huggingface.co/transformers
- https://github.com/huggingface/transformers
- Description:
- Transformers acts as the model-definition framework for state-of-the-art machine
learning models in text, computer vision, audio, video, and multimodal model,
for both inference and training.
It centralizes the model definition so that this definition is agreed upon
across the ecosystem. transformers is the pivot across frameworks: if a model
definition is supported, it will be compatible with the majority of training
frameworks (Axolotl, Unsloth, DeepSpeed, FSDP, PyTorch-Lightning, ...),
inference engines (vLLM, SGLang, TGI, ...), and adjacent modeling libraries
(llama.cpp, mlx, ...) which leverage the model definition from transformers.
 ¦ ¦ ¦ ¦ 
- 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}transformers>0:misc/py-transformers@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/misc/py-transformers/ && make install clean
- To add the package, run one of these commands:
- pkg install misc/py-transformers
- pkg install py311-transformers
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-transformers listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-transformers
- Package flavors (<flavor>: <package>)
- py311: py311-transformers
- distinfo:
- TIMESTAMP = 1773514202
SHA256 (transformers-5.3.0.tar.gz) = 009555b364029da9e2946d41f1c5de9f15e6b1df46b189b7293f33a161b9c557
SIZE (transformers-5.3.0.tar.gz) = 8830831
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:
-
- py311-setuptools>0 : devel/py-setuptools@py311
- py311-wheel>0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- py311-parameterized>0 : devel/py-parameterized@py311
- py311-pytest>=7,1 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-filelock>0 : sysutils/py-filelock@py311
- py311-huggingface-hub>=1.3.0 : misc/py-huggingface-hub@py311
- py311-numpy1>=1.16 : math/py-numpy1@py311
- py311-packaging>=20.0 : devel/py-packaging@py311
- py311-pyyaml>=5.1 : devel/py-pyyaml@py311
- py311-regex>=2019.12.17 : textproc/py-regex@py311
- py311-requests>0 : www/py-requests@py311
- py311-safetensors>=0.4.3 : misc/py-safetensors@py311
- py311-tokenizers>=0.22 : textproc/py-tokenizers@py311
- py311-tqdm>=4.27 : misc/py-tqdm@py311
- py311-typer>0 : devel/py-typer@py311
- py311-pytorch>=2.1 : misc/py-pytorch@py311
- py311-pillow>0 : graphics/py-pillow@py311
- py311-torchvision>0 : misc/py-torchvision@py311
- py311-librosa>0 : audio/py-librosa@py311
- py311-torchaudio>0 : audio/py-torchaudio@py311
- py311-fastapi>0 : www/py-fastapi@py311
- py311-openai>0 : misc/py-openai@py311
- py311-pydantic2>0 : devel/py-pydantic2@py311
- py311-starlette>0 : www/py-starlette@py311
- py311-uvicorn>0 : www/py-uvicorn@py311
- py311-accelerate>=0.26.0 : misc/py-accelerate@py311
- py311-blobfile>=0 : net/py-blobfile@py311
- py311-codecarbon>=2.8.1 : misc/py-codecarbon@py311
- py311-ftfy>=0 : textproc/py-ftfy@py311
- py311-NATTEN>=0.14.6 : misc/py-NATTEN@py311
- py311-num2words>=0 : devel/py-num2words@py311
- py311-optuna>=0 : misc/py-optuna@py311
- py311-sagemaker>=2.31.0 : misc/py-sagemaker@py311
- py311-sentencepiece>=0.1.91 : textproc/py-sentencepiece@py311
- py311-tiktoken>=0 : textproc/py-tiktoken@py311
- py311-timm>=1.0.19 : misc/py-timm@py311
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- graphics/py-olmocr
- misc/comfyui
- misc/py-compressed-tensors
- misc/py-kokoro
- misc/py-peft
- misc/py-sentence-transformers
- misc/py-vllm
Configuration Options:
- No options to configure
- Options name:
- misc_py-transformers
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
5.3.0_1 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. |
5.3.0_1 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 |
5.3.0 14 Mar 2026 19:34:24
    |
Yuri Victorovich (yuri)  |
misc/py-transformers: update 4.55.4 → 5.3.0 |
4.55.4_4 10 Feb 2026 08:19:35
    |
Yuri Victorovich (yuri)  |
misc/py-natten: Move to py-NATTEN; Update 0.21.0 → 0.21.5 |
4.55.4_3 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 |
4.55.4_2 19 Sep 2025 07:36:21
    |
Yuri Victorovich (yuri)  |
misc/py-transformers: Remove upper version limit for the 'tokenizers' dependency |
4.55.4_1 31 Aug 2025 10:30:51
    |
Rene Ladan (rene)  |
all: bump PORTREVISION after updating graphics/libyuv
Using the Tools/scripts/bump_revision.pl script |
4.55.4 22 Aug 2025 19:11:49
    |
Yuri Victorovich (yuri)  |
misc/py-transformers: Remove missing dependency
Reported by: Antoine |
4.55.4 22 Aug 2025 19:07:03
    |
Yuri Victorovich (yuri)  |
misc/py-transformers: update 4.55.3 → 4.55.4 |
4.55.3_1 22 Aug 2025 18:23:26
    |
Yuri Victorovich (yuri)  |
misc/py-transformers: Add mode optional dependencies
More dependencies to come. |
4.55.3 22 Aug 2025 03:20:07
    |
Yuri Victorovich (yuri)  |
misc/py-transformers: update 4.55.2 → 4.55.3 |
4.55.2_1 20 Aug 2025 15:38:09
    |
Yuri Victorovich (yuri)  |
misc/py-transformers: Add dependencies that were disabled before |
4.55.2 19 Aug 2025 15:45:31
    |
Yuri Victorovich (yuri)  |
misc/py-transformers: New port: State-of-the-art Machine Learning for JAX,
PyTorch and TensorFlow |