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 photosAll times are UTC
Ukraine
Port details
py-transformers State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow
4.55.4_2 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 4.55.4_2Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
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.
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}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):
py311-transformers
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-4.55.4_2---n/an/an/a
FreeBSD:13:quarterly-4.55.4_2---n/an/an/a
FreeBSD:14:latest-4.55.4_2------
FreeBSD:14:quarterly-4.55.4_2------
FreeBSD:15:latest-4.55.4_2n/a-n/an/a--
FreeBSD:15:quarterly-4.55.4_2n/a-n/an/a--
FreeBSD:16:latest--n/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>0 : devel/py-setuptools@py311
  2. py311-wheel>0 : devel/py-wheel@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-parameterized>0 : devel/py-parameterized@py311
  2. py311-pytest>=7,1 : devel/py-pytest@py311
  3. python3.11 : lang/python311
Runtime dependencies:
  1. py311-filelock>0 : sysutils/py-filelock@py311
  2. py311-huggingface-hub>=0.34.0 : misc/py-huggingface-hub@py311
  3. py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
  4. py311-packaging>=20.0 : devel/py-packaging@py311
  5. py311-pyyaml>=5.1 : devel/py-pyyaml@py311
  6. py311-regex>=2019.12.17 : textproc/py-regex@py311
  7. py311-requests>0 : www/py-requests@py311
  8. py311-safetensors>=0.4.3 : misc/py-safetensors@py311
  9. py311-tokenizers>=0.21 : textproc/py-tokenizers@py311
  10. py311-tqdm>=4.27 : misc/py-tqdm@py311
  11. py311-pytorch>=2.1 : misc/py-pytorch@py311
  12. py311-pillow>0 : graphics/py-pillow@py311
  13. py311-torchvision>0 : misc/py-torchvision@py311
  14. py311-librosa>0 : audio/py-librosa@py311
  15. py311-torchaudio>0 : audio/py-torchaudio@py311
  16. py311-fastapi>0 : www/py-fastapi@py311
  17. py311-openai>0 : misc/py-openai@py311
  18. py311-pydantic2>0 : devel/py-pydantic2@py311
  19. py311-starlette>0 : www/py-starlette@py311
  20. py311-uvicorn>0 : www/py-uvicorn@py311
  21. py311-accelerate>=0.26.0 : misc/py-accelerate@py311
  22. py311-blobfile>=0 : net/py-blobfile@py311
  23. py311-codecarbon>=2.8.1 : misc/py-codecarbon@py311
  24. py311-ftfy>=0 : textproc/py-ftfy@py311
  25. py311-natten>=0.14.6 : misc/py-natten@py311
  26. py311-num2words>=0 : devel/py-num2words@py311
  27. py311-optuna>=0 : misc/py-optuna@py311
  28. py311-sagemaker>=2.31.0 : misc/py-sagemaker@py311
  29. py311-sentencepiece>=0.1.91 : textproc/py-sentencepiece@py311
  30. py311-tiktoken>=0 : textproc/py-tiktoken@py311
  31. py311-timm>=1.0.19 : misc/py-timm@py311
  32. python3.11 : lang/python311
This port is required by:
for Run
  1. misc/py-peft
  2. 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:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/t/transformers/
  2. https://pypi.org/packages/source/t/transformers/
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
4.55.4_2
19 Sep 2025 07:36:21
commit hash: a143130d8cc97a9152e5aba2883e4cee18c0384bcommit hash: a143130d8cc97a9152e5aba2883e4cee18c0384bcommit hash: a143130d8cc97a9152e5aba2883e4cee18c0384bcommit hash: a143130d8cc97a9152e5aba2883e4cee18c0384b files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-transformers: Remove upper version limit for the 'tokenizers' dependency
4.55.4_1
31 Aug 2025 10:30:51
commit hash: b304d8ab18ac96ddcd15f3cf7255ef89aababe5acommit hash: b304d8ab18ac96ddcd15f3cf7255ef89aababe5acommit hash: b304d8ab18ac96ddcd15f3cf7255ef89aababe5acommit hash: b304d8ab18ac96ddcd15f3cf7255ef89aababe5a files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: bump PORTREVISION after updating graphics/libyuv

Using the Tools/scripts/bump_revision.pl script
4.55.4
22 Aug 2025 19:11:49
commit hash: 3b368de8f3b47ded6f8d37cd0ab4abcf3073f4f4commit hash: 3b368de8f3b47ded6f8d37cd0ab4abcf3073f4f4commit hash: 3b368de8f3b47ded6f8d37cd0ab4abcf3073f4f4commit hash: 3b368de8f3b47ded6f8d37cd0ab4abcf3073f4f4 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-transformers: Remove missing dependency

Reported by:	Antoine
4.55.4
22 Aug 2025 19:07:03
commit hash: ded7c9ad85515fe511a632ccd2f737a7bb24337fcommit hash: ded7c9ad85515fe511a632ccd2f737a7bb24337fcommit hash: ded7c9ad85515fe511a632ccd2f737a7bb24337fcommit hash: ded7c9ad85515fe511a632ccd2f737a7bb24337f files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-transformers: update 4.55.3 → 4.55.4
4.55.3_1
22 Aug 2025 18:23:26
commit hash: 38b196a9fa3832b0befdb4c0d91cec752042af41commit hash: 38b196a9fa3832b0befdb4c0d91cec752042af41commit hash: 38b196a9fa3832b0befdb4c0d91cec752042af41commit hash: 38b196a9fa3832b0befdb4c0d91cec752042af41 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-transformers: Add mode optional dependencies

More dependencies to come.
4.55.3
22 Aug 2025 03:20:07
commit hash: 57d312024615adb1084f0abc7db5c94a2d8fccd5commit hash: 57d312024615adb1084f0abc7db5c94a2d8fccd5commit hash: 57d312024615adb1084f0abc7db5c94a2d8fccd5commit hash: 57d312024615adb1084f0abc7db5c94a2d8fccd5 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-transformers: update 4.55.2 → 4.55.3
4.55.2_1
20 Aug 2025 15:38:09
commit hash: 823d4430a81c4b31ce69eda097e0fd148affc1ffcommit hash: 823d4430a81c4b31ce69eda097e0fd148affc1ffcommit hash: 823d4430a81c4b31ce69eda097e0fd148affc1ffcommit hash: 823d4430a81c4b31ce69eda097e0fd148affc1ff files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-transformers: Add dependencies that were disabled before
4.55.2
19 Aug 2025 15:45:31
commit hash: ab960d61e3e214f5a892307745286b8ad812ace0commit hash: ab960d61e3e214f5a892307745286b8ad812ace0commit hash: ab960d61e3e214f5a892307745286b8ad812ace0commit hash: ab960d61e3e214f5a892307745286b8ad812ace0 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-transformers: New port: State-of-the-art Machine Learning for JAX,
PyTorch and TensorFlow

Number of commits found: 8