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

bump xformers to 0.0.27 #1740

Merged
merged 3 commits into from
Jul 13, 2024
Merged

bump xformers to 0.0.27 #1740

merged 3 commits into from
Jul 13, 2024

Conversation

akshaylive
Copy link
Contributor

Description

Update xformers version.

Motivation and Context

Preserve compatibility with torch 2.3.1. Reference

How has this been tested?

 pip3 install -e '.[flash-attn,deepspeed]'

@winglian
Copy link
Collaborator

Screenshot 2024-07-12 at 9 14 56 PM so we need to cross check the wheels they are building for the new version and make sure they didn't drop pytorch/cuda version for some wheels. I think this is likely fine, but when we update xformers in requirements, we parse it in [setup.py](https://github.com/axolotl-ai-cloud/axolotl/blob/main/setup.py#L51-L58) so we can replace older versions based on the installed version of python in case there isn't a wheel for it.

@winglian winglian changed the title Update requirements.txt bump xformers to 0.0.27 Jul 13, 2024
@winglian
Copy link
Collaborator

Thanks @akshaylive!

@winglian winglian merged commit 4512738 into axolotl-ai-cloud:main Jul 13, 2024
8 checks passed
djsaunde pushed a commit that referenced this pull request Dec 17, 2024
* Update requirements.txt

Preserve compatibility with torch 2.3.1. [Reference](facebookresearch/xformers#1052)

* fix setup.py to extract the current xformers dep from requirements for replacement

* xformers 0.0.27 wheels not built for torch 2.3.0

---------

Co-authored-by: Wing Lian <wing.lian@gmail.com>
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

Successfully merging this pull request may close these issues.

2 participants