{"adoption": {"forks": 784, "observed_at": "2026-08-28T04:10:42.297745+00:00", "stars": 10542}, "canonical_url": "https://ross.abutalabs.com/products/xformers", "card": {"archived": false, "artifact_type": "library", "description": "Hackable and optimized Transformers building blocks, supporting a composable construction.", "domain": ["deep-learning", "machine-learning", "large-language-models", "gpu-computing", "computer-vision"], "enriched": true, "function": ["machine-learning", "deep-learning", "llm-training", "llm-inference", "gpu-computing"], "health_score": 95, "homepage": "https://facebookresearch.github.io/xformers/", "language": "Python", "license": "NOASSERTION", "license_family": "other", "maturity": "active", "member_repos": ["facebookresearch/xformers"], "name": "facebookresearch/xformers", "platform": ["python", "windows"], "pushed_at": "2026-08-07T12:33:49+00:00", "repo": "facebookresearch/xformers", "stars": 10542, "tags": ["transformers", "attention-kernels", "pytorch", "memory-efficiency", "cuda-kernels", "research", "natural-language-processing", "linux", "gpu", "cuda"], "topics": [], "urls": [], "use_cases": ["speed up transformer attention with memory-efficient kernels", "build custom transformer architectures from composable blocks", "reduce GPU memory usage when training large models", "try bleeding-edge attention operators not yet in PyTorch", "accelerate stable diffusion and vision transformer inference"], "what_it_is": "xFormers is a PyTorch-based library of hackable, optimized Transformer building blocks with custom CUDA kernels for fast, memory-efficient attention and related operators. It lets researchers compose domain-agnostic components for vision, NLP, and other modalities without boilerplate.", "when_to_avoid": ["you only need a high-level pretrained model API rather than low-level building blocks", "you need CPU-only or non-CUDA/non-ROCm hardware support", "you want a fully stable API guaranteed not to change between releases"], "when_to_choose": ["you need faster or more memory-efficient attention than stock PyTorch provides", "you want customizable transformer components for research across vision and NLP", "you are on Linux or Windows with a CUDA GPU and PyTorch 2.x"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/xformers", "repo": "facebookresearch/xformers", "role": "main", "score": 88}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.297745+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:18:33.475573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d7d3a2d0e0992f8f90c842f8fc76eaa0ae6b1a9470f8d9c428116d55c093fbb3", "fetched_at": "2026-08-28T04:10:42.297745+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookresearch/xformers"}, {"content_hash": "0fced8c6b6dafe98feef13fb5f9b7e3d2aa6196208ebf33222dbcb636d83635f", "fetched_at": "2026-08-29T08:17:50.862071+00:00", "kind": "homepage", "missing": false, "url": "https://facebookresearch.github.io/xformers/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.297745+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:18:33.475573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d7d3a2d0e0992f8f90c842f8fc76eaa0ae6b1a9470f8d9c428116d55c093fbb3", "fetched_at": "2026-08-28T04:10:42.297745+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookresearch/xformers"}, {"content_hash": "0fced8c6b6dafe98feef13fb5f9b7e3d2aa6196208ebf33222dbcb636d83635f", "fetched_at": "2026-08-29T08:17:50.862071+00:00", "kind": "homepage", "missing": false, "url": "https://facebookresearch.github.io/xformers/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:18:33.475573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d7d3a2d0e0992f8f90c842f8fc76eaa0ae6b1a9470f8d9c428116d55c093fbb3", "fetched_at": "2026-08-28T04:10:42.297745+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookresearch/xformers"}, {"content_hash": "0fced8c6b6dafe98feef13fb5f9b7e3d2aa6196208ebf33222dbcb636d83635f", "fetched_at": "2026-08-29T08:17:50.862071+00:00", "kind": "homepage", "missing": false, "url": "https://facebookresearch.github.io/xformers/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.297745+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.297745+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.297745+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:18:33.475573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d7d3a2d0e0992f8f90c842f8fc76eaa0ae6b1a9470f8d9c428116d55c093fbb3", "fetched_at": "2026-08-28T04:10:42.297745+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookresearch/xformers"}, {"content_hash": "0fced8c6b6dafe98feef13fb5f9b7e3d2aa6196208ebf33222dbcb636d83635f", "fetched_at": "2026-08-29T08:17:50.862071+00:00", "kind": "homepage", "missing": false, "url": "https://facebookresearch.github.io/xformers/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.297745+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.297745+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:18:33.475573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d7d3a2d0e0992f8f90c842f8fc76eaa0ae6b1a9470f8d9c428116d55c093fbb3", "fetched_at": "2026-08-28T04:10:42.297745+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookresearch/xformers"}, {"content_hash": "0fced8c6b6dafe98feef13fb5f9b7e3d2aa6196208ebf33222dbcb636d83635f", "fetched_at": "2026-08-29T08:17:50.862071+00:00", "kind": "homepage", "missing": false, "url": "https://facebookresearch.github.io/xformers/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.297745+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.297745+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.297745+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:18:33.475573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d7d3a2d0e0992f8f90c842f8fc76eaa0ae6b1a9470f8d9c428116d55c093fbb3", "fetched_at": "2026-08-28T04:10:42.297745+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookresearch/xformers"}, {"content_hash": "0fced8c6b6dafe98feef13fb5f9b7e3d2aa6196208ebf33222dbcb636d83635f", "fetched_at": "2026-08-29T08:17:50.862071+00:00", "kind": "homepage", "missing": false, "url": "https://facebookresearch.github.io/xformers/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.297745+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.297745+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:18:33.475573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d7d3a2d0e0992f8f90c842f8fc76eaa0ae6b1a9470f8d9c428116d55c093fbb3", "fetched_at": "2026-08-28T04:10:42.297745+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookresearch/xformers"}, {"content_hash": "0fced8c6b6dafe98feef13fb5f9b7e3d2aa6196208ebf33222dbcb636d83635f", "fetched_at": "2026-08-29T08:17:50.862071+00:00", "kind": "homepage", "missing": false, "url": "https://facebookresearch.github.io/xformers/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:18:33.475573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d7d3a2d0e0992f8f90c842f8fc76eaa0ae6b1a9470f8d9c428116d55c093fbb3", "fetched_at": "2026-08-28T04:10:42.297745+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookresearch/xformers"}, {"content_hash": "0fced8c6b6dafe98feef13fb5f9b7e3d2aa6196208ebf33222dbcb636d83635f", "fetched_at": "2026-08-29T08:17:50.862071+00:00", "kind": "homepage", "missing": false, "url": "https://facebookresearch.github.io/xformers/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:18:33.475573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d7d3a2d0e0992f8f90c842f8fc76eaa0ae6b1a9470f8d9c428116d55c093fbb3", "fetched_at": "2026-08-28T04:10:42.297745+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookresearch/xformers"}, {"content_hash": "0fced8c6b6dafe98feef13fb5f9b7e3d2aa6196208ebf33222dbcb636d83635f", "fetched_at": "2026-08-29T08:17:50.862071+00:00", "kind": "homepage", "missing": false, "url": "https://facebookresearch.github.io/xformers/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:18:33.475573+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d7d3a2d0e0992f8f90c842f8fc76eaa0ae6b1a9470f8d9c428116d55c093fbb3", "fetched_at": "2026-08-28T04:10:42.297745+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebookresearch/xformers"}, {"content_hash": "0fced8c6b6dafe98feef13fb5f9b7e3d2aa6196208ebf33222dbcb636d83635f", "fetched_at": "2026-08-29T08:17:50.862071+00:00", "kind": "homepage", "missing": false, "url": "https://facebookresearch.github.io/xformers/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 96, "longevity": 100, "rhythm": 71}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1785, "days_push": 26, "days_rel": 194, "gap_med": 24.0, "n_releases_24m": 19}, "score": 88, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}