Skip to content

Issue with xFormers Loading C++/CUDA Extensions - Deforum Stable Diffusion (v0.7.1) #383

@micedevai

Description

@micedevai

I'm encountering the following error when trying to use xFormers with Deforum Stable Diffusion (v0.7.1):

xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 2.2.0+cu121 with CUDA 1201 (you have 2.3.0+cu121)
Python 3.10.13 (you have 3.10.12)

It seems that there is a mismatch between the version of PyTorch and Python that xFormers was built for and the versions installed on my system. Specifically:

  • xFormers was built for PyTorch 2.2.0+cu121 with CUDA 1201, but I have PyTorch 2.3.0+cu121.
  • xFormers was also built for Python 3.10.13, while I have Python 3.10.12.

Has anyone else encountered this issue? If so, any guidance on how to resolve this or suggestions on how to get xFormers working with these versions would be greatly appreciated.

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