Port details
py-transformers State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow
5.23.0 misc Σ=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 5.3.0_3Version of this port present on the latest quarterly branch. upstream: 5.24.1A newer version was found upstream by portscout, first on 2026-11-25.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-08-19 15:48:13
Last Update: 2026-11-26 08:47:53
Commit Hash: 27a24ff
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 py312-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 py312-transformers listed in the above command, you can pick from the names under the Packages section.
To download the package and its dependencies for another FreeBSD version or architecture, without installing it:
  • pkg -o ABI=FreeBSD:15:$(pkg config abi | cut -d: -f3) fetch -d -o . py312-transformers
Change 15 to the FreeBSD major version you want; the rest keeps your current architecture. The files are saved under ./All/. Copy them to the other machine and install them there with pkg add. Ignore any warning that suggests pkg bootstrap -f. The quarterly or latest branch comes from your own repository configuration, not from this page.
PKGNAME: py312-transformers
Package flavors (<flavor>: <package>) #
  • py312: py312-transformers
distinfo: #
TIMESTAMP = 1794587564 SHA256 (transformers-5.23.0.tar.gz) = 19d647a4d5d903a7c644ca5cde2d86efc3dde7d8c687ae7988806ff2205efa71 SIZE (transformers-5.23.0.tar.gz) = 10614788

Packages (timestamps in pop-ups are UTC): #
py312-transformers
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest-----
FreeBSD:14:quarterly-5.3.0_3---
FreeBSD:15:latest--n/a-n/a
FreeBSD:15:quarterly-5.3.0_3n/a-n/a
FreeBSD:16:latest CURRENT--n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-setuptools>0 : devel/py-setuptools@py312
  2. py312-wheel>0 : devel/py-wheel@py312
  3. python3.12 : lang/python312
  4. py312-build>=0 : devel/py-build@py312
  5. py312-installer>=0 : devel/py-installer@py312
Test dependencies: #
  1. py312-parameterized>0 : devel/py-parameterized@py312
  2. py312-pytest>=7,1 : devel/py-pytest@py312
  3. python3.12 : lang/python312
Runtime dependencies: #
  1. py312-filelock>0 : sysutils/py-filelock@py312
  2. py312-huggingface-hub>=1.31.0 : misc/py-huggingface-hub@py312
  3. py312-numpy>=1.17 : math/py-numpy@py312
  4. py312-packaging>=20.0 : devel/py-packaging@py312
  5. py312-pyyaml>=5.1 : devel/py-pyyaml@py312
  6. py312-regex>=2025.10.22 : textproc/py-regex@py312
  7. py312-requests>0 : www/py-requests@py312
  8. py312-safetensors>=0.8.0 : misc/py-safetensors@py312
  9. py312-tokenizers>=0.23.1 : textproc/py-tokenizers@py312
  10. py312-tqdm>=4.60 : misc/py-tqdm@py312
  11. py312-typer>0 : devel/py-typer@py312
  12. py312-pytorch>=2.6 : misc/py-pytorch@py312
  13. py312-pillow>0 : graphics/py-pillow@py312
  14. py312-torchvision>0 : misc/py-torchvision@py312
  15. py312-librosa>0 : audio/py-librosa@py312
  16. py312-torchaudio>0 : audio/py-torchaudio@py312
  17. py312-fastapi>0 : www/py-fastapi@py312
  18. py312-openai>=1.98.0 : misc/py-openai@py312
  19. py312-pydantic2>0 : devel/py-pydantic2@py312
  20. py312-starlette>0 : www/py-starlette@py312
  21. py312-uvicorn>0 : www/py-uvicorn@py312
  22. py312-accelerate>=1.1.0 : misc/py-accelerate@py312
  23. py312-blobfile>=0 : net/py-blobfile@py312
  24. py312-codecarbon>=2.8.1 : misc/py-codecarbon@py312
  25. py312-ftfy>=0 : textproc/py-ftfy@py312
  26. py312-NATTEN>=0.14.6 : misc/py-NATTEN@py312
  27. py312-num2words>=0 : devel/py-num2words@py312
  28. py312-optuna>=0 : misc/py-optuna@py312
  29. py312-sagemaker>=2.31.0 : misc/py-sagemaker@py312
  30. py312-sentencepiece>=0.1.91 : textproc/py-sentencepiece@py312
  31. py312-tiktoken>=0 : textproc/py-tiktoken@py312
  32. py312-timm>=1.0.23 : misc/py-timm@py312
  33. python3.12 : lang/python312
This port is required by: #
for Run #
  1. deskutils/py-qmd
  2. graphics/py-olmocr
  3. misc/colibri
  4. misc/comfyui
  5. misc/py-compressed-tensors
  6. misc/py-kokoro
  7. misc/py-optimum
Expand this list (16 items / 9 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list.
  2. misc/py-peft
  3. misc/py-sentence-transformers
  4. misc/py-vllm
  5. misc/py-xgrammar
  6. textproc/py-docling-core
  7. textproc/py-docling-demo
  8. textproc/py-docling-ibm-models
  9. textproc/py-docling-ocr
  10. textproc/py-docling-sdg
  11. Collapse this list.
for Test #
  1. misc/py-accelerate
  2. misc/py-bitsandbytes
  3. misc/py-evaluate
  4. misc/py-langchain-huggingface
  5. textproc/py-llguidance

Configuration Options: #
No options to configure
Options name: #
misc_py-transformers
USES: #
cpe python
pkg-message: #
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: 18 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.23.0
26 Nov 2026 08:47:53
commit hash: 27a24ff185abb1f3a5c18364524b5c3f33545cb6commit hash: 27a24ff185abb1f3a5c18364524b5c3f33545cb6commit hash: 27a24ff185abb1f3a5c18364524b5c3f33545cb6commit hash: 27a24ff185abb1f3a5c18364524b5c3f33545cb6 files touched by this commit
Torsten Zuehlsdorff (tz) search for other commits by this committer
*/*: Add CPE declaration to 617 ports

  Improve CPE coverage in the ports tree to help security scanners match
  software with vulnerability reports.

  Matched project and download URLs from port metadata against references
  in the official NVD CPE dictionary. Reviewed product identities to
  distinguish applications from related components and similarly named
  projects.

Sponsored by:	OTTRIA
Differential Revision:	https://reviews.freebsd.org/D61941
5.23.0
14 Nov 2026 20:15:01
commit hash: c51d89cc434e0d4df06b114aa797bed688199e88commit hash: c51d89cc434e0d4df06b114aa797bed688199e88commit hash: c51d89cc434e0d4df06b114aa797bed688199e88commit hash: c51d89cc434e0d4df06b114aa797bed688199e88 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-transformers: update 5.3.0 → 5.23.0
5.3.0_3
28 Jul 2026 08:23:04
commit hash: 038115800a22acc399430a24c0166dfac5cb9ea1commit hash: 038115800a22acc399430a24c0166dfac5cb9ea1commit hash: 038115800a22acc399430a24c0166dfac5cb9ea1commit hash: 038115800a22acc399430a24c0166dfac5cb9ea1 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-transformers: Patch out tokenizers's upper version limit
5.3.0_2
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
5.3.0_1
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
5.3.0_1
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.
5.3.0_1
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
5.3.0
14 Mar 2026 19:34:24
commit hash: d4b315721492105988600ebe2a20bf8a84d58d3fcommit hash: d4b315721492105988600ebe2a20bf8a84d58d3fcommit hash: d4b315721492105988600ebe2a20bf8a84d58d3fcommit hash: d4b315721492105988600ebe2a20bf8a84d58d3f files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-transformers: update 4.55.4 → 5.3.0
4.55.4_4
10 Feb 2026 08:19:35
commit hash: 14a6f600d05c367ed61d0e3af630dcb02d5b59becommit hash: 14a6f600d05c367ed61d0e3af630dcb02d5b59becommit hash: 14a6f600d05c367ed61d0e3af630dcb02d5b59becommit hash: 14a6f600d05c367ed61d0e3af630dcb02d5b59be files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-natten: Move to py-NATTEN; Update 0.21.0 → 0.21.5
4.55.4_3
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
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: 18