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

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details
py-transformers State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow
4.55.2_1 miscnew! 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 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-08-19 15:48:13
Last Update: 2025-08-20 15:38:09
Commit Hash: 823d443
Also Listed In: python
License: APACHE20
WWW:
https://huggingface.co/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.
Homepage    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.
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 = 1755533766 SHA256 (transformers-4.55.2.tar.gz) = a45ec60c03474fd67adbce5c434685051b7608b3f4f167c25aa6aeb1cad16d4f SIZE (transformers-4.55.2.tar.gz) = 9571466

No package information for this port in our database
Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
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.26.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-torchaudio>0 : audio/py-torchaudio@py311
  13. py311-torchvision>0 : misc/py-torchvision@py311
  14. python3.11 : lang/python311
There are no ports dependent upon this port

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: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
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: 2