deforum / deforum/deforum-stable-diffusion

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

Open
#383 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.3k
Forks
412
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue identifies no repository files, tests, or entry points to inspect. Begin by reproducing the reported xFormers loading error with the stated Python and PyTorch versions; the issue would be complete only once a repository-level fix or documented supported-version path is defined and verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.