CMD + K

xformers

Anaconda Verified

XFormers: A collection of composable Transformer building blocks.

Installation

To install this package, run one of the following:

Conda
$conda install main::xformers

Usage Tracking

0.0.30
1 / 8 versions selected
Downloads (Last 6 months): 0

Description

xFormers is a PyTorch-based library which hosts flexible Transformer building blocks. They are interoperable and optimized building blocks, which can be optionally combined to create some state of the art models (e.g. MHA attention mechanisms, sparsity-aware or long-context variants).

About

Summary

XFormers: A collection of composable Transformer building blocks.

Last Updated

Apr 7, 2026 at 21:58

License

BSD-3-Clause AND Apache-2.0

Total Downloads

0

Version Downloads

0

Supported Platforms

macOS-arm64
linux-64
linux-aarch64