Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
Port details
py-xformers Transformers building blocks, supporting a composable construction
0.0.35 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 0.0.35Version of this port present on the latest quarterly branch. upstream: 0.0.36A newer version was found upstream by portscout, first on 2026-11-16.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-03-22 04:12:14
Last Update: 2026-09-28 16:17:49
Commit Hash: 810e74e
Also Listed In: python
License: BSD3CLAUSE
WWW:
https://facebookresearch.github.io/xformers/
https://github.com/facebookresearch/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.
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}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 py312-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 py312-xformers listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-xformers
Package flavors (<flavor>: <package>) #
  • py312: py312-xformers
distinfo: #
TIMESTAMP = 1780673526 SHA256 (xformers-0.0.35.tar.gz) = f7fc183a58e4bf0e2ae339a18fb1b1d4a37854c0f2545b4f360fef001646ab76 SIZE (xformers-0.0.35.tar.gz) = 4258182

Packages (timestamps in pop-ups are UTC): #
py312-xformers
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.0.350.0.35---
FreeBSD:14:quarterly0.0.350.0.35---
FreeBSD:15:latest0.0.350.0.35n/a-n/a
FreeBSD:15:quarterly0.0.350.0.35n/a-n/a
FreeBSD:16:latest0.0.350.0.35n/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. py312-pytorch>=2.10 : misc/py-pytorch@py312
  3. py312-setuptools>0 : devel/py-setuptools@py312
  4. py312-wheel>=0 : devel/py-wheel@py312
  5. python3.12 : lang/python312
  6. py312-build>=0 : devel/py-build@py312
  7. py312-installer>=0 : devel/py-installer@py312
Test dependencies: #
  1. py312-pytest>=7,1 : devel/py-pytest@py312
  2. python3.12 : lang/python312
Runtime dependencies: #
  1. py312-pytorch>=2.10 : misc/py-pytorch@py312
  2. py312-numpy>0 : math/py-numpy@py312
  3. python3.12 : lang/python312
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
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/x/xformers/
  2. https://pypi.org/packages/source/x/xformers/
Collapse this list.

Number of commits found: 11 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.0.35
28 Sep 2026 16:17:49
commit hash: 810e74e70dcde258bb1915887a21bf2889572d33commit hash: 810e74e70dcde258bb1915887a21bf2889572d33commit hash: 810e74e70dcde258bb1915887a21bf2889572d33commit hash: 810e74e70dcde258bb1915887a21bf2889572d33 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-xformers: fix build on arm64

... by fixing typo in arch name in Makefile
0.0.35
25 Sep 2026 23:47:33
commit hash: d87a261bb0279a78cce8a4ec4935fa11f8c29c7bcommit hash: d87a261bb0279a78cce8a4ec4935fa11f8c29c7bcommit hash: d87a261bb0279a78cce8a4ec4935fa11f8c29c7bcommit hash: d87a261bb0279a78cce8a4ec4935fa11f8c29c7b files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-xformers: fix build on arm64

Reported by:	fallout
0.0.35
05 Jun 2026 17:17:39
commit hash: 4b38587e3bd4bc1deb29c1a1483988c5a3a72f75commit hash: 4b38587e3bd4bc1deb29c1a1483988c5a3a72f75commit hash: 4b38587e3bd4bc1deb29c1a1483988c5a3a72f75commit hash: 4b38587e3bd4bc1deb29c1a1483988c5a3a72f75 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/py-xformers: update 0.0.25 → 0.0.35
0.0.25_4
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
0.0.25_3
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
0.0.25_3
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.
0.0.25_3
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
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: 11