tweak for xformers install w pytorch 2.1.0 (#727)
This commit is contained in:
2
setup.py
2
setup.py
@@ -26,7 +26,7 @@ def parse_requirements():
|
||||
if "torch==2.1.0" in _install_requires:
|
||||
_install_requires.pop(_install_requires.index("xformers>=0.0.22"))
|
||||
_install_requires.append(
|
||||
"git+https://github.com/facebookresearch/xformers.git@main#egg=xformers"
|
||||
"xformers @ git+https://github.com/facebookresearch/xformers.git@main"
|
||||
)
|
||||
|
||||
return _install_requires, _dependency_links
|
||||
|
||||
Reference in New Issue
Block a user