IOPaint icon indicating copy to clipboard operation
IOPaint copied to clipboard

Installing xformers?

Open mitsuke-code opened this issue 1 year ago • 2 comments

How installing xformers? i got this error

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. xformers 0.0.20.dev526 requires torch==2.0.0, but you have torch 2.0.1 which is incompatible. torchvision 0.16.0.dev20230506+cu118 requires torch==2.1.0.dev20230506+cu118, but you have torch 2.0.1 which is incompatible. torchaudio 2.1.0.dev20230506+cu118 requires torch==2.1.0.dev20230506, but you have torch 2.0.1 which is incompatible. lama-cleaner 1.1.2 requires transformers==4.27.4, but you have transformers 4.25.1 which is incompatible.

mitsuke-code avatar May 31 '23 00:05 mitsuke-code

Hello, I had the same problem, to solve the problem, install the previous version pip install xformers==0.0.19

Kingal20000 avatar Jun 01 '23 18:06 Kingal20000

pip3 install torch==2.0.1+cu118 torchvision==0.15.2+cu118 torchaudio --index-url https://download.pytorch.org/whl/cu118
pip install -U xformers==0.0.20,  --sd-enable-xformers

works for me

leporel avatar Jul 03 '23 11:07 leporel