Skip to content

Suggestion for explicit compatibility matrix #1354

@xiaoran007

Description

@xiaoran007

🚀 Feature

Add an explicit compatibility matrix for supported PyTorch and CUDA versions in the documentation or release notes.

Motivation

xFormers releases are strongly coupled to specific PyTorch and CUDA versions.
Currently, users need to manually infer compatibility by checking wheel tags or matching installation errors (e.g., ABI mismatch).
While the project provides prebuilt wheels for recent combinations such as PyTorch 2.8.0 + CUDA 12.8, there is no centralized compatibility matrix indicating which versions are officially supported per release.

This lack of visibility makes it difficult for users and downstream projects to determine the correct installation target.

Pitch

Include a concise compatibility table — for example, in the README or in each release note — listing the supported PyTorch and CUDA versions per xFormers release.
It could look something like:

xFormers version Supported PyTorch Supported CUDA Notes
0.0.30 2.x–2.8 11.8, 12.6, 12.8 Latest tested combinations
0.0.xx 2.x–2.x 11.8, 12.1 ...

Alternatives

None

Additional context

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions