Open MoezGholami opened 1 month ago
I also need xformers to be compatible with torch 2.3.1 but I would say that this is a feature request rather than a bug.
Second on this issue.
FWIW, I am experimenting with using the "install from source" directions and it is at least able to resolve an environment. I have yet to test that everything works together, but I am at least able to generate a lockfile with uv combining xformers@git+https://github.com/facebookresearch/xformers.git@main#egg=xformers
and torch>=2.3.1
.
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.26.post1 requires torch==2.3.0, but you have torch 2.3.1+cu121 which is incompatible.
Hi, We don't have a release for 2.3.1, we will make a release for 2.3.2 tho or 2.4.0. In the meantime, you can either downgrade pytorch, or install xFormers from source (long).
From what I heard from @albanD , they will not release 2.3.2 . Does this mean we need to wait for 2.4.0?
Good point - in that case we will try to add a release for 2.3.1 then
Good point - in that case we will try to add a release for 2.3.1 then
Thanks @danthe3rd, much appreciated! Any ETA for the 2.3.1 build? Cheers!
We'll try to get dev wheels/conda packages early next week, and hopefully soon after that some stables for 2.3.1
Cheers @danthe3rd!
🐛 Bug
installing xformers
pip install xformers
(which at the moment points to0.0.26.post1
uninstalls torch and triton 2.3.1 and replaces it with 2.3.0. This is causing conflict with the packages that do require 2.3.1 such as "torchvision 0.18.1+cu121" and "torchaudio 2.3.1+cu121".Command
To Reproduce
Expected behavior
xformers working with latest version of torch.