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

New pytorch 2.1 and Xformer #87

Closed
MSVstudios opened this issue Oct 6, 2023 · 3 comments
Closed

New pytorch 2.1 and Xformer #87

MSVstudios opened this issue Oct 6, 2023 · 3 comments

Comments

@MSVstudios
Copy link

Because Xformer<=0.23 doesn't support yet PyTorch v2.1 you must force using PyTorch version 2.01 on install
pip3 install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 --index-url https://download.pytorch.org/whl/cu118
i hope that can help others

@s9roll7 s9roll7 pinned this issue Oct 6, 2023
@boombbo
Copy link

boombbo commented Oct 6, 2023

you don't need update PyTorch v2.1 !

@s9roll7 s9roll7 closed this as completed Nov 2, 2023
@s9roll7
Copy link
Owner

s9roll7 commented Nov 22, 2023

At this time I recommend xformers 0.0.22.post7 + torch 2.1.0. I think you will need it, especially if you use sdxl

@s9roll7 s9roll7 unpinned this issue Nov 22, 2023
@hcorn82
Copy link

hcorn82 commented Dec 2, 2023

I had this problem but now I get

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.22.post7 requires torch==2.1.0, but you have torch 2.0.1+cu118 which is incompatible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants