Skip to content

Commit df86ed6

Browse files
authored
Bump xformers for compatibility with torch (#7022)
## Summary #6890 bumped torch, which caused an incompatibility with xformers when installing with `pip install ".[xformers]"`. This PR bumps xformers. ## QA Instructions I ran some smoke tests to confirm that generating with xformers still works. In my tests on an A100, there is a performance regression after bumping xformers (2.7 it/s vs 3.2 it/s). I think it is ok to ignore this for A100s, since users should be using torch-sdp, which is much faster (4.3 it/s). But, we should test for regression on older cards where xformers is still recommended. ## Checklist - [x] _The PR has a short but descriptive title, suitable for a changelog_ - [x] _Tests added / updated (if applicable)_ - [x] _Documentation added / updated (if applicable)_
2 parents 4f993a4 + 0be8aac commit df86ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ dependencies = [
101101
[project.optional-dependencies]
102102
"xformers" = [
103103
# Core generation dependencies, pinned for reproducible builds.
104-
"xformers==0.0.25post1; sys_platform!='darwin'",
104+
"xformers==0.0.28.post1; sys_platform!='darwin'",
105105
# Auxiliary dependencies, pinned only if necessary.
106106
"triton; sys_platform=='linux'",
107107
]

0 commit comments

Comments
 (0)