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
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details
py-xformers Transformers building blocks, supporting a composable construction
0.0.25_2 misc on this many watch lists=2 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 0.0.25_1Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-03-22 04:12:14
Last Update: 2025-08-31 10:30:51
Commit Hash: b304d8a
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
Also Listed In: python
License: BSD3CLAUSE
WWW:
https://facebookresearch.github.io/xformers/
Description:
xFormers is a Toolbox to Accelerate Research on Transformers. xFormers is: * Customizable building blocks: Independent/customizable building blocks that can be used without boilerplate code. The components are domain-agnostic and xFormers is used by researchers in vision, NLP and more. * Research first: xFormers contains bleeding-edge components, that are not yet available in mainstream libraries like PyTorch. * Built with efficiency in mind: Because speed of iteration matters, components are as fast and memory-efficient as possible. xFormers contains its own CUDA kernels, but dispatches to other libraries when relevant.
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.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}xformers>0:misc/py-xformers@${PY_FLAVOR}
To install the port:
cd /usr/ports/misc/py-xformers/ && make install clean
To add the package, run one of these commands:
  • pkg install misc/py-xformers
  • pkg install py311-xformers
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-xformers listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-xformers
Package flavors (<flavor>: <package>)
  • py311: py311-xformers
distinfo:
TIMESTAMP = 1711070989 SHA256 (xformers-0.0.25.tar.gz) = 63f74d96c82d6b9bf3daf38f53cf173a29370ee6bd1dfde15836d0d598b6f82f SIZE (xformers-0.0.25.tar.gz) = 4080980

Packages (timestamps in pop-ups are UTC):
py311-xformers
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-0.0.25_2------
FreeBSD:13:quarterly-0.0.25_1------
FreeBSD:14:latest-0.0.25_2------
FreeBSD:14:quarterly-0.0.25_1------
FreeBSD:15:latest-0.0.25_2n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest-0.0.25_2n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. pybind11>0 : devel/pybind11
  2. py311-pytorch>=2.1 : misc/py-pytorch@py311
  3. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  4. python3.11 : lang/python311
Test dependencies:
  1. py311-pytest>=7,1 : devel/py-pytest@py311
  2. python3.11 : lang/python311
Runtime dependencies:
  1. py311-pytorch>=2.1 : misc/py-pytorch@py311
  2. py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
  3. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
misc_py-xformers
USES:
compiler:c++17-lang localbase 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/x/xformers/
  2. https://pypi.org/packages/source/x/xformers/
Collapse this list.

Number of commits found: 4

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.0.25_2
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
0.0.25_1
19 Jun 2025 20:28:47
commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
python.mk: rename PYTHON_EXT_SUFFIX to PYTHON_TAG, document, etc

EXT_SUFFIX, according to PEP 3149, refers to the full tag and
extension for compiled extension module objects, eg .cpython-311.so,
.cpython-313t.so, etc. We do not use the correct semantic meaning,
and this usage becomes ambiguous and confusing when tags do not
match between bytecode and compiled extension module objects.

Rename our PYTHON_EXT_SUFFIX to PYTHON_TAG to align with PEP 3147's
specification of a magic tag, which consists of implementation name
and shorthand version only. This is meant for bytecode and other
files containing this tag in their filename that do not depend on
a specific Python ABI for the same version. Chase all existing
consumers.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.0.25_1
08 Mar 2025 04:05:21
commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal

Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
0.0.25
22 Mar 2024 04:11:05
commit hash: 60c128a82a6ce63128da88b2818e12e00804c215commit hash: 60c128a82a6ce63128da88b2818e12e00804c215commit hash: 60c128a82a6ce63128da88b2818e12e00804c215commit hash: 60c128a82a6ce63128da88b2818e12e00804c215 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-xformers: New port: Transformers building blocks, supporting a
composable construction

Number of commits found: 4