| Port details |
- py-transformers State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow
- 4.55.4_2 misc
=0 4.55.4_2Version of this port present on the latest quarterly branch. - Maintainer: yuri@FreeBSD.org
 - Port Added: 2025-08-19 15:48:13
- Last Update: 2025-09-19 07:36:21
- Commit Hash: a143130
- 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 = 1755889198
SHA256 (transformers-4.55.4.tar.gz) = 574a30559bc273c7a4585599ff28ab6b676e96dc56ffd2025ecfce2fd0ab915d
SIZE (transformers-4.55.4.tar.gz) = 9573015
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>=0.34.0 : misc/py-huggingface-hub@py311
- py311-numpy>=1.16,1<1.27,1 : math/py-numpy@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.21 : textproc/py-tokenizers@py311
- py311-tqdm>=4.27 : misc/py-tqdm@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
-
- misc/py-peft
- misc/py-sentence-transformers
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 |
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 |