xformers icon indicating copy to clipboard operation
xformers copied to clipboard

[python `3.11`] Unable to install xFormers above v0.0.16

Open E7admin opened this issue 1 year ago • 12 comments

❓ Questions and Help

xFormers cannot be updated to the latest version (0.0.19 or beta version 0.0.20), and pip and other methods can only be installed up to 0.0.16. What is the situation? If you specify 0.0.19 to install, you will be prompted that this version does not exist.

P.S. Torch and CU have been updated successfully. Z29Z8O%4O5LVT2MI AH3I_B

E7admin avatar May 15 '23 15:05 E7admin

Hi Thanks for reporting this bug. At the moment, we only support python 3.8, 3.9 and 3.10. As you have python 3.11, you need to build from source (or change your python version). That's something we should add in the future tho, marking as "bug"

danthe3rd avatar May 15 '23 15:05 danthe3rd

WeChat7090595fcaa34415241b70b54a92e053 ERROR: Could not find my python 3.10

1121301057 avatar May 16 '23 04:05 1121301057

@1121301057 xFormers does not work on MacOS, as CUDA no longer supports MacOS

danthe3rd avatar May 16 '23 06:05 danthe3rd

will it support 3.11 in the future?

BassJMagan avatar May 21 '23 16:05 BassJMagan

0.0.20 has just been released with python 3.11 support - let us know if you have issues :)

danthe3rd avatar May 25 '23 06:05 danthe3rd

@danthe3rd It seems that there's still no conda build for Python 3.11. Could you please take a look?

function2-llx avatar Jul 23 '23 02:07 function2-llx

That is correct, reopening

danthe3rd avatar Jul 27 '23 15:07 danthe3rd

The conda build for 3.11 is still missing

ProGamerGov avatar Dec 31 '23 22:12 ProGamerGov

why not have a github workflow to auto build the package

Mon-ius avatar Jan 18 '24 14:01 Mon-ius

I installed a version for 3.10 from here and it's working fine (I think) https://anaconda.org/xformers/xformers/files

relh avatar Feb 08 '24 20:02 relh

This is still an issue @danthe3rd

More serious as conda currently default ships with python 3.11.7, but xformers conda only supports up to 3.11.0.

aluo-x avatar Mar 30 '24 16:03 aluo-x

I added new PR here https://github.com/facebookresearch/xformers/pull/1017 🤗

Mon-ius avatar Apr 03 '24 18:04 Mon-ius