Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xformers not working [BUG REPORT] #238

Open
dangerweenie opened this issue Aug 8, 2024 · 1 comment
Open

xformers not working [BUG REPORT] #238

dangerweenie opened this issue Aug 8, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dangerweenie
Copy link

Getting this error after installing on Windows 11;

| WARNING | xformers | WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
    PyTorch 2.1.0+cu121 with CUDA 1201 (you have 2.1.0+cu118)
    Python  3.10.11 (you have 3.10.10)
  Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
  Memory-efficient attention, SwiGLU, sparse and more won't be available.
  Set XFORMERS_MORE_DETAILS=1 for more details
2024-08-08 12:03:28 | WARNING | xformers | A matching Triton is not available, some optimizations will not be enabled.
Error caught was: No module named 'triton'
2024-08-08 12:03:28 | WARNING | xformers | Triton is not available, some optimizations will not be enabled.
This is just a warning: triton is not available

using xfomers in other venvs (comfyUI, automatic1111, etc), no issues.

seems the xformers this install wants to use requires a newer vision of xformers, but i know if i try to install that there will probably be a load of other dependencies that need to ne upgraded.

anyone using this without xformers? is it recommended?

@dangerweenie dangerweenie added the bug Something isn't working label Aug 8, 2024
@gitmylo
Copy link
Owner

gitmylo commented Aug 8, 2024

Xformers shouldn't really affect performance or memory usage drastically for most models. But from the error it looks like you installed xformers for python 3.10.11 while you're on 3.10.10, so it's suggested you re-install xformers for the right version. (Or simply use audio-webui without xformers)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants