Skip to content

xformers not working [BUG REPORT]  #238

@dangerweenie

Description

@dangerweenie

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?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions