Skip to content

Commit

Permalink
fix xformers versions
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian committed Feb 5, 2025
1 parent 6d5895f commit c07f72e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,15 @@ def parse_requirements():
else:
raise ValueError("Invalid version format")

if (major, minor) >= (2, 5):
if (major, minor) >= (2, 6):
_install_requires.pop(_install_requires.index(xformers_version))
_install_requires.append("xformers==0.0.29.post2")
elif (major, minor) >= (2, 5):
_install_requires.pop(_install_requires.index(xformers_version))
if patch == 0:
_install_requires.append("xformers==0.0.28.post2")
else:
_install_requires.append("xformers==0.0.28.post3")
_install_requires.append("xformers==0.0.29")
_install_requires.pop(_install_requires.index(autoawq_version))
elif (major, minor) >= (2, 4):
if patch == 0:
Expand Down

0 comments on commit c07f72e

Please sign in to comment.