Skip to content

torchao release compatibility table #2919

@vkuzo

Description

@vkuzo

This issue describes the compatibility matrix between torchao releases and its dependencies. If you are seeing an error when importing torchao that looks like this,

(pytorch_nightly) [vasiliy@devgpu007.eag6 ~/local]$ python -c "import torchao"
Fatal Python error: Aborted

then most likely you can resolve this error by ensuring that the torch version in your environment is compatible with the torch version used to build your torchao version.

torch

torchao version torch version torch version, torchao's Python API only
0.17.0dev (nightly) 2.11.0dev (nightly) 2.10.0, 2.9.0, 2.8.0
0.16.0 2.10.0 2.10.0, 2.9.0, 2.8.0
0.15.0 2.9.1 2.9.1, 2.8.0, 2.7.1
0.14.1 2.9.0 2.9.0, 2.8.0, 2.7.1
0.13.0 2.8.0 2.8.0, 2.7.1, 2.6.0
0.12.0 2.7.1, 2.6.0, 2.5.0 n/a

fbgemm_gpu

torchao has an optional runtime dependency on fbgemm_gpu. Please see https://docs.pytorch.org/FBGEMM/general/Releases.html for the compatibility matrix for fbgemm_gpu. Note that while torchao's Python API supports multiple torch versions, each fbgemm_gpu version only supports a single torch version. Therefore, if you are using torchao together with fbgemm_gpu, you should use the torch version corresponding to your fbgemm_gpu version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions