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

Does the latest xformers wheel uploaded now support cuda11.8 and cuda12.4? #1115

Open
leij0318 opened this issue Sep 28, 2024 · 4 comments
Open

Comments

@leij0318
Copy link

leij0318 commented Sep 28, 2024

Torch has recently been updated to 2.4.1. After installing torch, xformers also needs to be installed with the latest 0.0.28 post1 version. However, I did not find the xformers wheel with the prefixes cu118 and cu124 in the uploaded 0.0.28 version at https://download.pytorch.org/whl/cu124/xformers
and https://download.pytorch.org/whl/cu118/xformers.
eed28aa8-e6f9-497b-8f01-4aa46b796cbb

a8032c0a-77d5-44ec-91ef-5ae26c6aa583

So I want to know whether xformers 0.0.28 version no longer builds wheels for cu118, cu121, and cu124? Or the wheels uploaded without the specific prefix cu118/cu124 are not compiled with cuda?

.

@leij0318
Copy link
Author

leij0318 commented Sep 28, 2024

I looked for the deleted content of release 0.0.28 and saw that
compatibility with PyTorch < 2.4 was deleted
conda build of python 3.9 was deleted
windows pip wheels of cuda 12.1 and 11.8 were deleted
but in the release details of 0.0.28.post1, it shows that the wheels of cuda 12.4 were uploaded correctly.

I have cuda11.8 and cuda12.4 installed on my computer, but I enter the command python -m xformers.info in the corresponding environment respectively. However, it only shows successful loading in the cuda12.4 environment, and cuda11.8 fails to load. So xformers will only compile cuda12.4 wheels in the future, not cuda11.8 and cuda12.1?

@FurkanGozukara
Copy link

we need xformers 0.0.28.post1 wheel

@danthe3rd
Copy link
Contributor

we need xformers 0.0.28.post1 wheel

Hi,
This is available for windows but only with cuda 12.4. It's there: https://download.pytorch.org/whl/cu124/xformers/
You can install it with:

pip3 install torch torchvision torchaudio xformers --index-url https://download.pytorch.org/whl/cu124

We don't have a wheel for 0.0.28, but you can use the one for 0.0.28.post1

@FurkanGozukara
Copy link

 --index-url https://download.pytorch.org/whl/cu124

i see i wasnt giving this --index-url https://download.pytorch.org/whl/cu124

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

3 participants