{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/3"}],"enrichment":{"capability":"XFormers provides reusable, composable building blocks for constructing Transformer neural network architectures, enabling flexible assembly of state-of-the-art model variants without monolithic implementations.","skillfed_tags":["transformer-components","pytorch-extension","neural-architecture"],"use_cases":["Build custom Transformer architectures by combining xformers blocks instead of implementing layers from scratch.","Experiment with different attention mechanisms and layer configurations for research or model optimization.","Integrate efficient attention implementations into existing PyTorch models to reduce memory usage or improve speed.","Reproduce published Transformer variants by assembling their documented building-block combinations.","Prototype novel Transformer designs by swapping and reconfiguring composable components."],"what_it_does":"XFormers is a library of modular, reusable components for building Transformer neural networks. Rather than implementing entire architectures as monolithic models, it provides composable building blocks\u2014attention mechanisms, layer variants, and other Transformer primitives\u2014that can be combined to reproduce state-of-the-art model designs. The library targets researchers and practitioners who want flexibility in assembling custom Transformer architectures without reinventing core components.\n\nIt depends on torch for computation and numpy for numerical operations. Installation requires Python 3.9 or later and involves platform-specific compiled wheels, which adds moderate setup friction but ensures optimized performance on supported systems (Linux x86_64 and Windows x86_64).","worth_installing":"Yes, if you are building or experimenting with Transformer architectures in PyTorch. XFormers is actively maintained, has no known vulnerabilities, uses a permissive BSD license, and ranks in the top 5000 PyPI packages by download volume. The medium install friction (platform-specific wheels) is a minor trade-off for the modularity and performance benefits it provides. Not necessary if you only use pre-built, monolithic Transformer models."},"id":"xformers","links":{"html":"https://skillfed.io/packages/xformers","md":"https://skillfed.io/packages/xformers.md","pypi":"https://pypi.org/project/xformers/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-20","license_spdx":null,"license_treatment":"permissive","name":"xformers","python_support":"supports_current","summary":"XFormers: A collection of composable Transformer building blocks."},"popularity":{"monthly_downloads":2196828,"position":3220,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.0.35"}
