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

Newsfeed changes

The news feed page[s] were not laid out well. Two pages, disjointed information, hard to figure out how to use the optional parameters...

Thankfully, someone told me.

The new page is ready for your review. Please compare these two:

You may also be interested in the Github issue.
Port details
py-xformers Transformers building blocks, supporting a composable construction
0.0.25_1 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.25Version 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-03-08 04:05:21
Commit Hash: 06a08e6
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.
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_1------
FreeBSD:13:quarterly-0.0.25------
FreeBSD:14:latest-0.0.25_1------
FreeBSD:14:quarterly-0.0.25_1------
FreeBSD:15:latest-0.0.25_1n/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: 2

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