Skip to content
This repository was archived by the owner on Oct 22, 2023. It is now read-only.
This repository was archived by the owner on Oct 22, 2023. It is now read-only.

xformers not working via install script #127

@raziel2001au

Description

@raziel2001au

Using the install script on Windows, it looks like there is a version mismatch with the dependencies it sets up in the environment, when I start up the software straight after using the install script, I get the following warning, and from what I can tell, many features aren't working, likely related to xformers:

Environment name is set as "ST" as per environment.yaml
anaconda3/miniconda3 detected in C:\Users\Francois\anaconda3
Starting conda environment "ST" from C:\Users\Francois\anaconda3
WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
    PyTorch 1.13.1+cu117 with CUDA 1107 (you have 2.0.0+cu117)
    Python  3.10.10 (you have 3.10.0)
  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

The warning can be fixed by uninstalling xformers, and then installing the latest version with:

pip uninstall xformers
pip install xformers

I'm not 100% sure how to check, but I think it's working after doing this... Can we please get the dependencies corrected so others don't run into this issue...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions